summaryrefslogtreecommitdiffstats
path: root/dcoppython/shell/Makefile.am
blob: 3dbbc907c155aca5ab545812085aed0d1b1df7af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

BUILT_SOURCES = marshal_funcs.h
CLEANFILES = marshal_funcs.h marshal_funcs_doc.html marshal_funcs_doc.xml

doc: marshal_funcs_doc.html

marshal_funcs.h marshal_funcs.xml: $(srcdir)/marshal_funcs.data
	$(PYTHON) $(srcdir)/gen_marshal_code.py $(srcdir)/marshal_funcs.data marshal_funcs.h marshal_funcs_doc.xml

marshal_funcs_doc.html: $(srcdir)/marshal_funcs_doc.xsl marshal_funcs_doc.xml
	$(XSLTPROC) $(srcdir)/marshal_funcs_doc.xsl marshal_funcs_doc.xml >marshal_funcs_doc.html

INCLUDES = $(PYTHONINC) $(all_includes)

pythlib_LTLIBRARIES = pcop.la
pythlibdir = $(PYTHON_SITE)

pcop_la_SOURCES = pcop.cpp marshaller.cpp importedmodules.cpp
pcop_la_LDFLAGS = $(all_libraries) -module -avoid-version
pcop_la_LIBADD = -lDCOP -ltdecore $(LIB_TQT) $(LIBPYTHON)

noinst_HEADERS = pcop.h marshaller.h marshal_funcs.h importedmodules.h