diff options
Diffstat (limited to 'python/environs/Makefile.am')
| -rw-r--r-- | python/environs/Makefile.am | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/python/environs/Makefile.am b/python/environs/Makefile.am index 7b73a494..72a98510 100644 --- a/python/environs/Makefile.am +++ b/python/environs/Makefile.am @@ -1,5 +1,3 @@ -noinst_LIBRARIES = libenvirons.a - INCLUDES = \ -DPACKAGE=\"@PACKAGE@\" \ -I$(top_srcdir) \ @@ -10,7 +8,12 @@ INCLUDES = \ $(NULL) -libenvirons_a_SOURCES = py_federation_termination.c py_login.c py_logout.c py_profile_context.c py_register_name_identifier.c py_server.c py_user.c +ENVSOURCES = py_federation_termination.c py_login.c py_logout.c py_profile_context.c py_register_name_identifier.c py_server.c py_user.c + +if WITH_PYTHON +noinst_LIBRARIES = libenvirons.a +libenvirons_a_SOURCES = $(ENVSOURCES) +endif -EXTRA_DIST = py_federation_termination.h py_login.h py_logout.h py_profile_context.h py_register_name_identifier.h py_server.h py_user.h +EXTRA_DIST = $(ENVSOURCES) py_federation_termination.h py_login.h py_logout.h py_profile_context.h py_register_name_identifier.h py_server.h py_user.h |
