freeipa/daemons/ipa-sam/Makefile.am
Christian Heimes bdf1137169 Use /run and /run/lock instead of /var
Also add runstatedir autoconf var. IPA requires autoconf 2.59. The
variable will be available with autoconf 2.70.

Fixes: https://pagure.io/freeipa/issue/8272
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2020-04-15 18:48:50 +02:00

63 lines
1.2 KiB
Makefile

NULL =
LIBPDB_NAME = @LIBPDB_NAME@
SAMBA40EXTRA_LIBS = $(SAMBA40EXTRA_LIBPATH) \
-lsmbldap \
-l$(LIBPDB_NAME) \
-lsmbconf \
$(NULL)
AM_CPPFLAGS = \
-I$(srcdir) \
-I$(top_srcdir)/asn1 \
-I/usr/include/samba-4.0 \
-DPREFIX=\""$(prefix)"\" \
-DBINDIR=\""$(bindir)"\" \
-DLIBDIR=\""$(libdir)"\" \
-DLIBEXECDIR=\""$(libexecdir)"\" \
-DDATADIR=\""$(datadir)"\" \
-DLDAPIDIR=\""$(runstatedir)"\" \
-DHAVE_LDAP \
-I$(top_srcdir)/util \
$(CRYPTO_CFLAGS) \
$(LDAP_CFLAGS) \
$(KRB5_CFLAGS) \
$(WARN_CFLAGS) \
$(TALLOC_CFLAGS) \
$(SAMBAUTIL_CFLAGS) \
$(NDR_CFLAGS) \
$(SSSIDMAP_CFLAGS) \
$(NULL)
plugindir = $(libdir)/samba/pdb
plugin_LTLIBRARIES = \
ipasam.la \
$(NULL)
ipasam_la_SOURCES = \
ipa_sam.c \
$(KRB5_UTIL_SRCS) \
$(NULL)
ipasam_la_LDFLAGS = \
-avoid-version \
-module \
$(NULL)
ipasam_la_LIBADD = \
$(CRYPTO_LIBS) \
$(LDAP_LIBS) \
$(KRB5_LIBS) \
$(TALLOC_LIBS) \
$(SAMBAUTIL_LIBS) \
$(NDR_LIBS) \
$(SAMBA40EXTRA_LIBS) \
$(SSSIDMAP_LIBS) \
$(top_builddir)/asn1/libipaasn1.la \
$(top_builddir)/util/libutil.la \
$(NULL)
EXTRA_DIST = \
README \
ipa_sam.h \
$(NULL)