From 6b69bd22e31261fe9db4283c223f76879ad3f7fe Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 27 Jul 2000 23:16:07 +0000 Subject: Make sure the LDAP backend files get distributed even if OpenLDAP support is not enabled. svn path=/trunk/; revision=4401 --- addressbook/backend/pas/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'addressbook/backend/pas/Makefile.am') diff --git a/addressbook/backend/pas/Makefile.am b/addressbook/backend/pas/Makefile.am index 69fdeb41a7..8f4f8a3731 100644 --- a/addressbook/backend/pas/Makefile.am +++ b/addressbook/backend/pas/Makefile.am @@ -20,8 +20,12 @@ INCLUDES = \ -I$(top_builddir)/addressbook/backend \ $(BONOBO_GNOME_CFLAGS) +LDAP_BACKEND_SOURCES = pas-backend-ldap.c pas-backend-ldap.h + if ENABLE_LDAP -LDAP_BACKEND = pas-backend-ldap.c pas-backend-ldap.h +LDAP_BACKEND = $(LDAP_BACKEND_SOURCES) +else +LDAP_BACKEND = endif noinst_LIBRARIES = libpas.a @@ -44,3 +48,5 @@ libpas_a_SOURCES = \ BUILT_SOURCES = $(CORBA_SOURCE) CLEANFILES += $(BUILT_SOURCES) + +EXTRA_DIST = $(LDAP_BACKEND_SOURCES) \ No newline at end of file -- cgit v1.2.3