1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
#
# Copyright 2008 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
include $(top_srcdir)/Makefile.common
SUBDIRS = . examples
EXTRA_DIST = run_tests.in
TESTS = run_tests
# Install the python portion so that it ends up as the gnuradio.gcell module
# ${prefix}/lib/python${python_version}/site-packages/gnuradio
ourpythondir = $(grpythondir)
ourlibdir = $(grpyexecdir)
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(GCELL_INCLUDES) $(PYTHON_CPPFLAGS) $(WITH_INCLUDES)
SWIGPYTHONARGS = $(SWIGPYTHONFLAGS) $(STD_DEFINES_AND_INCLUDES) $(GCELL_INCLUDES) \
$(WITH_SWIG_INCLUDES) $(WITH_INCLUDES)
# ----------------------------------------------------------------
# The C++ blocks
# ----------------------------------------------------------------
# the library for the C++ blocks
lib_LTLIBRARIES = libgr_gcell.la
libgr_gcell_la_SOURCES = \
gcell_fft_vcc.cc
grinclude_HEADERS = \
gcell_fft_vcc.h
libgr_gcell_la_LIBADD = \
$(GNURADIO_CORE_LA) \
$(GCELL_LA)
libgr_gcell_la_LDFLAGS = $(NO_UNDEFINED)
# ----------------------------------------------------------------
# SWIG stuff
# ----------------------------------------------------------------
# the library for the swig interface
ourlib_LTLIBRARIES = _gcell.la
LOCAL_IFILES = \
$(srcdir)/gc_job_manager.i \
$(srcdir)/gcell.i \
$(srcdir)/gcell_fft_vcc.i
NON_LOCAL_IFILES = \
$(GNURADIO_I)
ALL_IFILES = \
$(LOCAL_IFILES) \
$(NON_LOCAL_IFILES)
swig_built_sources = \
gcell.cc \
gcell.py
ourpython_PYTHON = \
gcell.py
_gcell_la_SOURCES = \
gcell.cc
_gcell_la_LIBADD = \
$(PYTHON_LDFLAGS) \
libgr_gcell.la \
-lstdc++
_gcell_la_LDFLAGS = $(NO_UNDEFINED) -module -avoid-version
_gcell_la_CXXFLAGS = @swig_CXXFLAGS@
swiginclude_HEADERS = \
$(LOCAL_IFILES)
#gcell.cc gcell.py: $(LOCAL_IFILES) $(NON_LOCAL_IFILES)
# $(SWIG) $(SWIGPYTHONARGS) -module gcell -o gcell.cc $(LOCAL_IFILES)
# KLUDGE: Force runtime include of gcell.d dependency file.
# This is not guaranteed to be portable, but will probably work.
# If it works, we have accurate dependencies for our swig stuff, which is good.
@am__include@ @am__quote@./gcell.d@am__quote@
gcell.py gcell.h: gcell.cc
gcell.cc : gcell.i $(GNURADIO_I)
if $(SWIG) $(SWIGPYTHONARGS) -MMD -MF gcell.Td -module gcell -o gcell.cc $(srcdir)/gcell.i ;\
then if test $(host_os) = mingw32; \
then sed 's,\\\\,/,g' <gcell.Td >gcell.d; rm -f gcell.Td; \
else mv -f gcell.Td gcell.d; fi \
else rm -f gcell.Td; exit 1; fi
noinst_PYTHON = \
qa_fft.py
# ----------------------------------------------------------------
MOSTLYCLEANFILES = \
$(swig_built_sources) *~ *.pyc
# Don't distribute output of swig
dist-hook:
@for file in $(swig_built_sources); do echo $(RM) $(distdir)/$$file; done
@for file in $(swig_built_sources); do $(RM) $(distdir)/$$file; done
DISTCLEANFILES = \
gcell.d
|