summaryrefslogtreecommitdiffstats
path: root/python/xml
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-07-23 21:36:47 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-07-23 21:36:47 +0000
commit3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0 (patch)
treeedabee11a7b4437cc633d5bda03cf6bcb0ec2611 /python/xml
parenta3fce007c45a710758c572346ab5a4839bfd6bf8 (diff)
downloadlasso-3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0.tar.gz
lasso-3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0.tar.xz
lasso-3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0.zip
added --enable-python option to ./configure; default is yes.
--enable-python=no to not compile python bindings.
Diffstat (limited to 'python/xml')
-rw-r--r--python/xml/Makefile.am30
1 files changed, 16 insertions, 14 deletions
diff --git a/python/xml/Makefile.am b/python/xml/Makefile.am
index 9a3fffed..7b6692b4 100644
--- a/python/xml/Makefile.am
+++ b/python/xml/Makefile.am
@@ -1,17 +1,4 @@
-noinst_LIBRARIES = libxml.a
-
-INCLUDES = \
- -DPACKAGE=\"@PACKAGE@\" \
- -I$(top_srcdir) \
- -I$(top_srcdir)/lasso \
- $(LASSO_DEFINES) \
- $(LASSO_CFLAGS) \
- $(PY_CFLAGS) \
- $(NULL)
-
-noinst_LIBRARIES = libxml.a
-
-libxml_a_SOURCES = \
+XMLSOURCES = \
py_lib_authentication_statement.c \
py_lib_authn_request.c \
py_lib_federation_termination_notification.c \
@@ -26,7 +13,22 @@ libxml_a_SOURCES = \
py_samlp_response.c \
py_xml.c
+if WITH_PYTHON
+noinst_LIBRARIES = libxml.a
+libxml_a_SOURCES = $(XMLSOURCES)
+endif
+
+INCLUDES = \
+ -DPACKAGE=\"@PACKAGE@\" \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/lasso \
+ $(LASSO_DEFINES) \
+ $(LASSO_CFLAGS) \
+ $(PY_CFLAGS) \
+ $(NULL)
+
EXTRA_DIST = \
+ $(XMLSOURCES) \
py_lib_authentication_statement.h \
py_lib_authn_request.h \
py_lib_federation_termination_notification.h \