3 # Copyright 2004,2006,2009,2010 Free Software Foundation, Inc.
5 # This file is part of GNU Radio
7 # GNU Radio is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3, or (at your option)
12 # GNU Radio is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with GNU Radio; see the file COPYING. If not, write to
19 # the Free Software Foundation, Inc., 51 Franklin Street,
20 # Boston, MA 02110-1301, USA.
23 # The name of this "out-of-tree" module
26 # these flags are used when compiling non-SWIG-wrapper files
27 # when going in to non-SWIG libraries
28 AM_CXXFLAGS = @autoconf_default_CXXFLAGS@
30 # Sets ABI version in SONAME and appends -LIBVER to filename
31 LTVERSIONFLAGS = -version-info 0:0:0 -release $(LIBVER)
33 # these flags are used when compiling any CXX file
35 $(STD_DEFINES_AND_INCLUDES) \
38 $(GNURADIO_CORE_CPPFLAGS)
40 # these are used by both SWIG and CXX
41 STD_DEFINES_AND_INCLUDES = \
43 -I$(abs_top_srcdir)/lib \
44 -I$(GNURADIO_CORE_INCLUDEDIR) \
45 -I$(GNURADIO_CORE_INCLUDEDIR)/swig
48 modincludedir = $(includedir)/$(modname)
51 swigincludedir = $(modincludedir)/swig
53 # Install this stuff in the appropriate subdirectory
54 # This usually ends up at:
55 # ${prefix}/lib/python${python_version}/site-packages/$(modname)
57 modpythondir = $(pythondir)/$(modname)
58 modpyexecdir = $(pyexecdir)/$(modname)
60 # Data directory for grc block wrappers
61 grc_blocksdir = $(prefix)/share/gnuradio/grc/blocks
63 # Don't assume that make predefines $(RM), because BSD make does
64 # not. We define it now in configure.ac using AM_PATH_PROG, but now
65 # here have to add a -f to be like GNU make.
68 # Other common defines; use "+=" to add to these
70 MOSTLYCLEANFILES = $(BUILT_SOURCES) $(STAMPS) *.pyc *.pyo *~ *.tmp *.loT
72 # Don't distribute the files defined in the variable 'no_dist_files'
74 @for file in $(no_dist_files); do \
75 echo $(RM) $(distdir)/$$file; \
76 $(RM) $(distdir)/$$file; \