diff options
Diffstat (limited to 'swig/Makefile.am')
| -rw-r--r-- | swig/Makefile.am | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/swig/Makefile.am b/swig/Makefile.am new file mode 100644 index 0000000..2e5b280 --- /dev/null +++ b/swig/Makefile.am | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | INCLUDES = -I$(top_srcdir)/include | ||
| 2 | |||
| 3 | BUILT_SOURCES = $(srcdir)/plist_wrap.c | ||
| 4 | SWIG_SOURCES = plist.i | ||
| 5 | |||
| 6 | pkgpython_PYTHON = PList.py __init__.py | ||
| 7 | pkgpyexec_LTLIBRARIES = _PList.la | ||
| 8 | _PList_la_SOURCES = $(srcdir)/plist_wrap.c $(SWIG_SOURCES) | ||
| 9 | _PList_la_CFLAGS = $(PYTHON_CPPFLAGS) -I$(top_srcdir)/src | ||
| 10 | _PList_la_LDFLAGS = -module $(PYTHON_LDFLAGS) | ||
| 11 | _PList_la_LIBADD = ../src/libplist.la | ||
| 12 | |||
| 13 | $(srcdir)/plist_wrap.c : $(SWIG_SOURCES) | ||
| 14 | $(SWIG) $(SWIG_PYTHON_OPT) $(INCLUDES) -I$(top_srcdir)/src -o $@ $< | ||
| 15 | |||
