diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2004-07-23 21:36:47 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2004-07-23 21:36:47 +0000 |
| commit | 3f2bad664bf6c5da6f0e3bb5492de14a8843f0b0 (patch) | |
| tree | edabee11a7b4437cc633d5bda03cf6bcb0ec2611 /python/protocols | |
| parent | a3fce007c45a710758c572346ab5a4839bfd6bf8 (diff) | |
| download | lasso-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/protocols')
| -rw-r--r-- | python/protocols/Makefile.am | 11 | ||||
| -rw-r--r-- | python/protocols/elements/Makefile.am | 9 |
2 files changed, 14 insertions, 6 deletions
diff --git a/python/protocols/Makefile.am b/python/protocols/Makefile.am index 3401e473..da376c88 100644 --- a/python/protocols/Makefile.am +++ b/python/protocols/Makefile.am @@ -9,9 +9,7 @@ INCLUDES = \ $(PY_CFLAGS) \ $(NULL) -noinst_LIBRARIES = libprotocols.a - -libprotocols_a_SOURCES = \ +PROTSOURCES = \ py_authn_request.c \ py_authn_response.c \ py_federation_termination_notification.c \ @@ -22,7 +20,14 @@ libprotocols_a_SOURCES = \ py_register_name_identifier_request.c \ py_register_name_identifier_response.c + +if WITH_PYTHON +libprotocols_a_SOURCES = $(PROTSOURCES) +noinst_LIBRARIES = libprotocols.a +endif + EXTRA_DIST = \ + $(PROTSOURCES) \ py_authn_request.h \ py_authn_response.h \ py_federation_termination_notification.h \ diff --git a/python/protocols/elements/Makefile.am b/python/protocols/elements/Makefile.am index 047fede8..977c8b67 100644 --- a/python/protocols/elements/Makefile.am +++ b/python/protocols/elements/Makefile.am @@ -1,4 +1,9 @@ +ELEMSOURCES = py_assertion.c py_authentication_statement.c + +if WITH_PYTHON noinst_LIBRARIES = libelements.a +libelements_a_SOURCES = $(ELEMSOURCES) +endif INCLUDES = \ -DPACKAGE=\"@PACKAGE@\" \ @@ -9,7 +14,5 @@ INCLUDES = \ $(PY_CFLAGS) \ $(NULL) -noinst_LIBRARIES = libelements.a -libelements_a_SOURCES = py_assertion.c py_authentication_statement.c -EXTRA_DIST = py_assertion.h py_authentication_statement.h +EXTRA_DIST = $(ELEMSOURCES) py_assertion.h py_authentication_statement.h |
