2e76ee453c085228e3fac456fda95f2ee774568a
[debian/gnuradio] / gr-howto-write-a-block / lib / Makefile.am
1 #
2 # Copyright 2004,2005,2006,2008,2009,2010 Free Software Foundation, Inc.
3
4 # This file is part of GNU Radio
5
6 # GNU Radio is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10
11 # GNU Radio is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with GNU Radio; see the file COPYING.  If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street,
19 # Boston, MA 02110-1301, USA.
20
21
22 include $(top_srcdir)/Makefile.common
23
24 # list of programs run by "make check" and "make distcheck"
25 TESTS = test_all
26
27 # ----------------------------------------------------------------
28 # howto C++ library: libgnuradio-howto.so
29 # ----------------------------------------------------------------
30
31 # C/C++ headers get installed in ${prefix}/include/$(modname)
32 modinclude_HEADERS = \
33         howto_square_ff.h \
34         howto_square2_ff.h
35
36 lib_LTLIBRARIES = libgnuradio-howto.la
37
38 libgnuradio_howto_la_SOURCES = \
39         howto_square_ff.cc \
40         howto_square2_ff.cc
41
42 libgnuradio_howto_la_LIBADD = \
43         $(GNURADIO_CORE_LA)
44
45 libgnuradio_howto_la_LDFLAGS = \
46         $(NO_UNDEFINED)
47
48 # ----------------------------------------------------------------
49 # howto C++ QA library: libgnuradio-howto-qa.so (not installed)
50 # ----------------------------------------------------------------
51
52 noinst_LTLIBRARIES = libgnuradio-howto-qa.la
53
54 libgnuradio_howto_qa_la_SOURCES = \
55         qa_howto.cc \
56         qa_howto_square_ff.cc \
57         qa_howto_square2_ff.cc
58
59 libgnuradio_howto_qa_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0
60
61 libgnuradio_howto_qa_la_LIBADD = \
62         libgnuradio-howto.la \
63         $(CPPUNIT_LIBS)
64
65 # ----------------------------------------------------------------
66 # headers that don't get installed
67 # ----------------------------------------------------------------
68 noinst_HEADERS = \
69         qa_howto.h \
70         qa_howto_square_ff.h \
71         qa_howto_square2_ff.h
72
73 # ----------------------------------------------------------------
74 # test program
75 # ----------------------------------------------------------------
76 noinst_PROGRAMS = \
77         test_all
78
79 test_all_SOURCES = test_all.cc
80 test_all_LDADD   = libgnuradio-howto-qa.la