Revision e4eb47f0 Makefile.swig
| b/Makefile.swig | ||
|---|---|---|
| 1 | 1 |
# -*- Makefile -*- |
| 2 | 2 |
# |
| 3 |
# Copyright 2009 Free Software Foundation, Inc. |
|
| 3 |
# Copyright 2009,2010 Free Software Foundation, Inc.
|
|
| 4 | 4 |
# |
| 5 | 5 |
# This file is part of GNU Radio |
| 6 | 6 |
# |
| ... | ... | |
| 25 | 25 |
## in Makefile.am's which require SWIG wrapping / compilation. |
| 26 | 26 |
## For just installing .i files, this Makefile is not required. |
| 27 | 27 |
|
| 28 |
CLEANFILES = python/*.cc python/*.h python/*.lo python/*.o |
|
| 29 |
CLEANFILES += guile/*.cc gnuradio/*.scm guile/*.lo guile/*.o |
|
| 30 |
|
|
| 28 | 31 |
## swig flags |
| 29 | 32 |
## -w511 turns off keyword argument warning |
| 30 | 33 |
## "-outdir $(builddir)" writes all generated output files to |
| ... | ... | |
| 32 | 35 |
## In some older autotools, $(builddir) is not defined, so |
| 33 | 36 |
## just use '.' instead. |
| 34 | 37 |
|
| 35 |
CLEANFILES = python/*.cc python/*.h python/*.lo python/*.o |
|
| 36 |
CLEANFILES += guile/*.cc gnuradio/*.scm guile/*.lo guile/*.o |
|
| 37 |
|
|
| 38 | 38 |
SWIG_PYTHON_FLAGS = \ |
| 39 | 39 |
-fvirtual \ |
| 40 | 40 |
-python \ |
| ... | ... | |
| 144 | 144 |
GUILE_GEN = $(foreach HFILE,$(TOP_SWIG_IFILES), $(patsubst %.i,gnuradio/%.scm,$(HFILE))) |
| 145 | 145 |
swig_built_sources += $(GUILE_GEN) |
| 146 | 146 |
endif |
| 147 |
|
|
| 148 |
no_dist_dirs = python gnuradio guile |
|
| 149 |
no_dist_files = $(swig_built_sources) |
|
Also available in: Unified diff