Statistics
| Branch: | Tag: | Revision:

root / volk / Makefile.common @ 15ad4b53

History | View | Annotate | Download (1.5 kB)

1 23914465 Tom Rondeau
# -*- Makefile -*-
2 23914465 Tom Rondeau
#
3 1186ab98 Tom Rondeau
# Copyright 2010 Free Software Foundation, Inc.
4 23914465 Tom Rondeau
# 
5 23914465 Tom Rondeau
# This file is part of GNU Radio
6 23914465 Tom Rondeau
# 
7 23914465 Tom Rondeau
# GNU Radio is free software; you can redistribute it and/or modify
8 23914465 Tom Rondeau
# it under the terms of the GNU General Public License as published by
9 23914465 Tom Rondeau
# the Free Software Foundation; either version 3, or (at your option)
10 23914465 Tom Rondeau
# any later version.
11 23914465 Tom Rondeau
# 
12 23914465 Tom Rondeau
# GNU Radio is distributed in the hope that it will be useful,
13 23914465 Tom Rondeau
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14 23914465 Tom Rondeau
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 23914465 Tom Rondeau
# GNU General Public License for more details.
16 23914465 Tom Rondeau
# 
17 23914465 Tom Rondeau
# You should have received a copy of the GNU General Public License
18 23914465 Tom Rondeau
# along with GNU Radio; see the file COPYING.  If not, write to
19 23914465 Tom Rondeau
# the Free Software Foundation, Inc., 51 Franklin Street,
20 23914465 Tom Rondeau
# Boston, MA 02110-1301, USA.
21 23914465 Tom Rondeau
# 
22 23914465 Tom Rondeau
23 23914465 Tom Rondeau
ourincludedir   = $(includedir)/volk
24 23914465 Tom Rondeau
25 23914465 Tom Rondeau
# swig includes 
26 23914465 Tom Rondeau
ourswigincludedir = $(ourincludedir)/swig
27 23914465 Tom Rondeau
28 23914465 Tom Rondeau
# Install this stuff in the appropriate subdirectory
29 23914465 Tom Rondeau
# This usually ends up at:
30 1186ab98 Tom Rondeau
#   ${prefix}/lib/python${python_version}/site-packages/libvolk
31 23914465 Tom Rondeau
32 23914465 Tom Rondeau
ourpythondir = $(pythondir)/volk
33 23914465 Tom Rondeau
ourpyexecdir = $(pyexecdir)/volk
34 23914465 Tom Rondeau
35 23914465 Tom Rondeau
36 23914465 Tom Rondeau
# swig flags
37 23914465 Tom Rondeau
SWIGPYTHONFLAGS = -fvirtual -python -modern
38 23914465 Tom Rondeau
SWIGGRFLAGS = -I$(GNURADIO_CORE_INCLUDEDIR)/swig -I$(GNURADIO_CORE_INCLUDEDIR)
39 23914465 Tom Rondeau
40 23914465 Tom Rondeau
# standard defins and includes
41 23914465 Tom Rondeau
STD_DEFINES_AND_INCLUDES=-I$(top_srcdir)/include -I$(top_srcdir)/lib  $(GNURADIO_CORE_CPPFLAGS)
42 23914465 Tom Rondeau
43 23914465 Tom Rondeau
# Don't assume that make predefines $(RM), because BSD make does
44 23914465 Tom Rondeau
# not. We define it now in configure.ac using AM_PATH_PROG, but now
45 23914465 Tom Rondeau
# here have to add a -f to be like GNU make.
46 23914465 Tom Rondeau
RM=$(RM_PROG) -f