… | |
… | |
32 | if PYTHON_PLUGIN |
32 | if PYTHON_PLUGIN |
33 | plugin_LTLIBRARIES = cfpython.la |
33 | plugin_LTLIBRARIES = cfpython.la |
34 | else |
34 | else |
35 | plugin_LTLIBRARIES = |
35 | plugin_LTLIBRARIES = |
36 | endif |
36 | endif |
37 | cfpython_la_SOURCES = cfpython.c\ |
37 | cfpython_la_SOURCES = cfpython.C\ |
38 | cfpython_archetype.c\ |
38 | cfpython_archetype.C\ |
39 | cfpython_object.c\ |
39 | cfpython_object.C\ |
40 | cfpython_map.c\ |
40 | cfpython_map.C\ |
41 | cfpython_party.c\ |
41 | cfpython_party.C\ |
42 | cfpython_region.c\ |
42 | cfpython_region.C\ |
43 | ../common/plugin_common.c |
43 | ../common/plugin_common.C |
44 | |
44 | |
45 | cfpython_la_CPSOURCES = cfpython.c\ |
45 | cfpython_la_CPSOURCES = cfpython.C\ |
46 | cfpython_archetype.c\ |
46 | cfpython_archetype.C\ |
47 | cfpython_object.c\ |
47 | cfpython_object.C\ |
48 | cfpython_party.c\ |
48 | cfpython_party.C\ |
49 | cfpython_region.c\ |
49 | cfpython_region.C\ |
50 | cfpython_map.c |
50 | cfpython_map.C |
51 | |
51 | |
52 | cfpython_la_LIBADD = @PYTHON_LIB@ @PY_LIBS@ |
52 | cfpython_la_LIBADD = @PYTHON_LIB@ @PY_LIBS@ |
53 | cfpython_la_LDFLAGS = -module -avoid-version -Xlinker -export-dynamic -rdynamic -Xlinker -Bsymbolic |
53 | cfpython_la_LDFLAGS = -module -avoid-version -Xlinker -export-dynamic -rdynamic -Xlinker -Bsymbolic |
54 | AM_CPPFLAGS = -I$(srcdir)/include -I$(top_srcdir)/plugins/common/include -I$(top_srcdir)/include @PY_INCLUDES@ |
54 | AM_CPPFLAGS = -I$(srcdir)/include -I$(top_srcdir)/plugins/common/include -I$(top_srcdir)/include @PY_INCLUDES@ |
55 | |
55 | |
56 | proto: |
56 | proto: |
57 | cproto -D__CEXTRACT__ -o include/cfpython_proto.h $(CPPFLAGS) $(AM_CPPFLAGS) \ |
57 | cproto -D__CEXTRACT__ -o include/cfpython_proto.h $(CPPFLAGS) $(AM_CPPFLAGS) \ |
58 | `echo $(cfpython_la_CPSOURCES) " " | $(AWK) -v RS=" " '/.c$$/ { print }'` |
58 | `echo $(cfpython_la_CPSOURCES) " " | $(AWK) -v RS=" " '/.C$$/ { print }'` |
59 | chmod 644 include/cfpython_proto.h |
59 | chmod 644 include/cfpython_proto.h |