summaryrefslogtreecommitdiff
path: root/python/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'python/Makefile.am')
-rw-r--r--python/Makefile.am11
1 files changed, 5 insertions, 6 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 48a6c6e5..fa58b78f 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -3,12 +3,6 @@ AUTOMAKE_OPTIONS = 1.4 foreign
SUBDIRS= . tests
-AM_CPPFLAGS = \
- -I$(PYTHON_INCLUDES) \
- -I$(top_srcdir)/libxslt \
- -I$(top_srcdir) \
- -I../libexslt
-
AM_CFLAGS = $(LIBXML_CFLAGS)
DOCS_DIR = $(datadir)/doc/libxslt-python-$(LIBXSLT_VERSION)
@@ -36,6 +30,11 @@ all-local: libxslt.py
python_LTLIBRARIES = libxsltmod.la
+libxsltmod_la_CPPFLAGS = \
+ -I$(PYTHON_INCLUDES) \
+ -I$(top_srcdir)/libxslt \
+ -I$(top_srcdir) \
+ -I../libexslt
libxsltmod_la_SOURCES = libxslt.c types.c
nodist_libxsltmod_la_SOURCES = libxslt-py.c
libxsltmod_la_LIBADD = $(mylibs) $(PYTHON_LIBS)