blob: ef877334053063ccc8ededf9bde8552446fc4b2a (
plain)
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
|
INCLUDES = -I$(top_srcdir)/include $(libplist_CFLAGS) $(SWIG_PYTHON_CPPFLAGS) -I$(oldincludedir)
if HAVE_SWIG
BUILT_SOURCES = iphone_wrap.cxx
SWIG_SOURCES = iphone.i
CLEANFILES = \
*.pyc \
*.pyo \
_iphone.so \
iphone.py \
iphone_wrap.cxx
EXTRA_DIST = \
__init__.py \
iphone.i
swigincludedir =$(includedir)/libiphone/swig
swiginclude_HEADERS = $(SWIG_SOURCES)
iphonedir = $(pyexecdir)/iphone
iphone_PYTHON = __init__.py
nodist_iphone_PYTHON = iphone.py
iphone_LTLIBRARIES = _iphone.la
nodist__iphone_la_SOURCES = iphone_wrap.cxx $(SWIG_SOURCES)
_iphone_la_CFLAGS = $(PYTHON_CPPFLAGS) -I$(top_srcdir)/src
_iphone_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
_iphone_la_LIBADD = $(top_builddir)/src/libiphone.la $(libplistmm_LIBS)
iphone_wrap.cxx : $(SWIG_SOURCES)
$(SWIG) $(SWIG_PYTHON_OPT) $(INCLUDES) -I$(top_srcdir)/src -o $@ $<
endif # HAVE_SWIG
|