3 # Copyright 2004,2006 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 2, 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., 59 Temple Place - Suite 330,
20 # Boston, MA 02111-1307, USA.
24 # FIXME: are these used anymore?
25 grincludedir = $(includedir)/gnuradio
28 # FIXME: are these used anymore?
29 swigincludedir = $(grincludedir)/swig
31 # Install this stuff in the appropriate subdirectory
32 # This usually ends up at:
33 # ${prefix}/lib/python${python_version}/site-packages/gnuradio
35 grpythondir = $(pythondir)/gnuradio
36 grpyexecdir = $(pyexecdir)/gnuradio
39 SWIGPYTHONFLAGS = -fvirtual -python -modern
41 # Where to find gnuradio include files in the current build tree
42 GNURADIO_INCLUDES = -I$(top_srcdir)/gnuradio-core/src/lib/runtime \
43 -I$(top_srcdir)/gnuradio-core/src/lib/general \
44 -I$(top_srcdir)/gnuradio-core/src/lib/filter \
45 -I$(top_srcdir)/gnuradio-core/src/lib/reed-solomon \
46 -I$(top_srcdir)/gnuradio-core/src/lib/io \
47 -I$(top_srcdir)/gnuradio-core/src/lib/g72x \
48 -I$(top_srcdir)/gnuradio-core/src/lib/omnithread \
49 -I$(top_srcdir)/gnuradio-core/src/lib/swig \
50 -I$(top_builddir)/gnuradio-core/src/lib/swig \
53 # These used to be set in PKGCONFIG but now point to the current
55 GNURADIO_CORE_LIBS = -L$(top_builddir)/gnuradio-core/src/lib \
56 -lgnuradio-core -lfftw3f -lm
58 GNURADIO_I = $(top_builddir)/gnuradio-core/src/lib/swig/gnuradio.i
60 # The below used to be set in PKGCONFIG but now point to the current
62 USRP_INCLUDES = -I$(top_srcdir)/usrp/host/lib \
63 -I$(top_srcdir)/usrp/firmware/include
65 USRP_LIBS = -L$(top_builddir)/usrp/host/lib \
68 # This used to be set in configure.ac but is now defined here for all
69 # Makefiles when this fragment is included.
70 STD_DEFINES_AND_INCLUDES=$(DEFINES) $(GNURADIO_INCLUDES) $(BOOST_CFLAGS)