Revision 25bf9bbd gr-gsm-fr-vocoder/src/lib/Makefile.swig.gen
| b/gr-gsm-fr-vocoder/src/lib/Makefile.swig.gen | ||
|---|---|---|
| 38 | 38 |
gsm_full_rate_pythondir = $(pythondir)/$(gsm_full_rate_pythondir_category) |
| 39 | 39 |
gsm_full_rate_pylibdir = $(pyexecdir)/$(gsm_full_rate_pylibdir_category) |
| 40 | 40 |
|
| 41 |
# The .so libraries for the guile modules get installed whereever guile |
|
| 42 |
# is installed, usually /usr/lib/guile/gnuradio/ |
|
| 43 |
# FIXME: determince whether these should be installed with gnuradio. |
|
| 44 |
gsm_full_rate_scmlibdir = @GUILE_PKLIBDIR@/gnuradio |
|
| 45 |
|
|
| 46 |
# The scm files for the guile modules get installed where ever guile |
|
| 47 |
# is installed, usually /usr/share/guile/site/gsm_full_rate |
|
| 48 |
# FIXME: determince whether these should be installed with gnuradio. |
|
| 49 |
gsm_full_rate_scmdir = @GUILE_PKDATADIR@/gnuradio |
|
| 50 |
|
|
| 41 | 51 |
## SWIG headers are always installed into the same directory. |
| 42 | 52 |
|
| 43 | 53 |
gsm_full_rate_swigincludedir = $(swigincludedir) |
| ... | ... | |
| 73 | 83 |
## be added manually by the including Makefile.am . |
| 74 | 84 |
|
| 75 | 85 |
swig_built_sources += gsm_full_rate.py gsm_full_rate_python.cc |
| 86 |
if GUILE |
|
| 87 |
swig_built_sources += gsm_full_rate.scm gsm_full_rate_guile.cc |
|
| 88 |
endif |
|
| 76 | 89 |
|
| 77 | 90 |
## Various SWIG variables. These can be overloaded in the including |
| 78 | 91 |
## Makefile.am by setting the variable value there, then including |
| ... | ... | |
| 106 | 119 |
$(gsm_full_rate_python) |
| 107 | 120 |
|
| 108 | 121 |
if GUILE |
| 109 |
gsm_full_rate_pylib_LTLIBRARIES += _gsm_full_rate_guile.la |
|
| 110 |
|
|
| 122 |
gsm_full_rate_scmlib_LTLIBRARIES = _gsm_full_rate_guile.la |
|
| 111 | 123 |
_gsm_full_rate_guile_la_SOURCES = \ |
| 112 |
gsm_full_rate_guile.cc \ |
|
| 124 |
gsm_full_rate_guile.cc \
|
|
| 113 | 125 |
$(gsm_full_rate_la_swig_sources) |
| 126 |
gsm_full_rate_scm_DATA = gsm_full_rate.scm |
|
| 114 | 127 |
|
| 115 | 128 |
# Guile can use the same flags as python does |
| 116 | 129 |
_gsm_full_rate_guile_la_LIBADD = $(_gsm_full_rate_python_la_LIBADD) |
| ... | ... | |
| 121 | 134 |
|
| 122 | 135 |
## Entry rule for running SWIG |
| 123 | 136 |
|
| 124 |
gsm_full_rate_python.h gsm_full_rate.py gsm_full_rate_python.cc gsm_full_rate_guile.cc gsm_full_rate_guile.h: gsm_full_rate.i |
|
| 137 |
# $(python_deps) $(guile_deps): gsm_full_rate.i |
|
| 138 |
gsm_full_rate_python.h gsm_full_rate.py gsm_full_rate_python.cc: gsm_full_rate.i |
|
| 125 | 139 |
## This rule will get called only when MAKE decides that one of the |
| 126 | 140 |
## targets needs to be created or re-created, because: |
| 127 | 141 |
## |
| ... | ... | |
| 178 | 192 |
## Tell MAKE to run the rule for creating this stamp. |
| 179 | 193 |
## |
| 180 | 194 |
$(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/gsm_full_rate-generate-python-stamp WHAT=$<; \ |
| 181 |
$(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/gsm_full_rate-generate-guile-stamp WHAT=$<; \ |
|
| 182 | 195 |
## |
| 183 | 196 |
## Now that the .cc, .h, and .py files have been (re)created from the |
| 184 | 197 |
## .i file, future checking of this rule during the same MAKE |
| ... | ... | |
| 206 | 219 |
exit $$?; \ |
| 207 | 220 |
fi; |
| 208 | 221 |
|
| 222 |
# the comments for the target above apply to this target as well, but it seemed |
|
| 223 |
# silly to include them twice. The only main change is for guile. |
|
| 224 |
gsm_full_rate_guile.h gsm_full_rate.scm gsm_full_rate_guile.cc: gsm_full_rate.i |
|
| 225 |
if GUILE |
|
| 226 |
trap 'rm -rf $(DEPDIR)/gsm_full_rate-generate-*' 1 2 13 15; \ |
|
| 227 |
if mkdir $(DEPDIR)/gsm_full_rate-generate-lock 2>/dev/null; then \ |
|
| 228 |
rm -f $(DEPDIR)/gsm_full_rate-generate-*stamp; \ |
|
| 229 |
$(MAKE) $(AM_MAKEFLAGS) $(DEPDIR)/gsm_full_rate-generate-guile-stamp WHAT=$<; \ |
|
| 230 |
rmdir $(DEPDIR)/gsm_full_rate-generate-lock; \ |
|
| 231 |
else \ |
|
| 232 |
while test -d $(DEPDIR)/gsm_full_rate-generate-lock; do \ |
|
| 233 |
sleep 1; \ |
|
| 234 |
done; \ |
|
| 235 |
test -f $(DEPDIR)/gsm_full_rate-generate-guile-stamp; \ |
|
| 236 |
exit $$?; \ |
|
| 237 |
fi; |
|
| 238 |
endif # end of GUILE |
|
| 239 |
|
|
| 209 | 240 |
$(DEPDIR)/gsm_full_rate-generate-python-stamp: |
| 210 | 241 |
## This rule will be called only by the first process issuing the |
| 211 | 242 |
## above rule to succeed in creating the lock directory, after |
| ... | ... | |
| 272 | 303 |
|
| 273 | 304 |
@am__include@ @am__quote@./$(DEPDIR)/gsm_full_rate_python.d@am__quote@ |
| 274 | 305 |
|
| 275 |
$(DEPDIR)/gsm_full_rate-generate-guile-stamp: |
|
| 276 | 306 |
if GUILE |
| 307 |
$(DEPDIR)/gsm_full_rate-generate-guile-stamp: |
|
| 308 |
# the comments for the target above apply to this target as well, but it seemed |
|
| 309 |
# silly to include them twice. The only main change is for guile. |
|
| 277 | 310 |
if $(SWIG) $(STD_SWIG_GUILE_ARGS) $(gsm_full_rate_swig_args) \ |
| 278 | 311 |
-MD -MF $(DEPDIR)/gsm_full_rate_guile.Std \ |
| 279 | 312 |
-module gsm_full_rate -o gsm_full_rate_guile.cc $(WHAT); then \ |
| ... | ... | |
| 295 | 328 |
awk '{ printf "%s:\n\n", $$0 }' >> $(DEPDIR)/gsm_full_rate_guile.d
|
| 296 | 329 |
$(RM) $(DEPDIR)/gsm_full_rate_guile.Std |
| 297 | 330 |
touch $(DEPDIR)/gsm_full_rate-generate-guile-stamp |
| 331 |
else |
|
| 332 |
touch $(DEPDIR)/gsm_full_rate-generate-guile-stamp |
|
| 333 |
endif |
|
| 298 | 334 |
|
| 299 | 335 |
@am__include@ @am__quote@./$(DEPDIR)/gsm_full_rate_guile.d@am__quote@ |
| 300 |
endif |
|
| 336 |
|
|
| 337 |
#gnuradio_swig_py_runtime_python.h: gnuradio_swig_py_runtime.i |
|
| 301 | 338 |
|
Also available in: Unified diff