summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-sam
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-10-11 15:41:46 +0200
committerDavid Kupka <dkupka@redhat.com>2016-10-24 13:30:12 +0200
commitb0cb6afa2308b9d96456f0355771ecbef0ca7263 (patch)
tree5b9266a7e3c44ec83dc62ec71d64e0a91e2c284d /daemons/ipa-sam
parent25dab77301f9e0289b94b0a672aed5067384c8ce (diff)
downloadfreeipa-b0cb6afa2308b9d96456f0355771ecbef0ca7263.tar.gz
freeipa-b0cb6afa2308b9d96456f0355771ecbef0ca7263.tar.xz
freeipa-b0cb6afa2308b9d96456f0355771ecbef0ca7263.zip
Build: transform util directory to libutil convenience library
This is autoconf way of doing things. It should allow us to enable subdir-objects automake option and stay compatible with future versions of automake. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'daemons/ipa-sam')
-rw-r--r--daemons/ipa-sam/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemons/ipa-sam/Makefile.am b/daemons/ipa-sam/Makefile.am
index c32149341..16213f177 100644
--- a/daemons/ipa-sam/Makefile.am
+++ b/daemons/ipa-sam/Makefile.am
@@ -7,7 +7,6 @@ SAMBA40EXTRA_LIBS = $(SAMBA40EXTRA_LIBPATH) \
$(NULL)
KRB5_UTIL_DIR=../../util
-KRB5_UTIL_SRCS=$(KRB5_UTIL_DIR)/ipa_krb5.c $(KRB5_UTIL_DIR)/ipa_pwd_ntlm.c
ASN1_UTIL_DIR=../../asn1
AM_CPPFLAGS = \
@@ -22,7 +21,7 @@ AM_CPPFLAGS = \
-DDATADIR=\""$(datadir)"\" \
-DLDAPIDIR=\""$(localstatedir)/run"\" \
-DHAVE_LDAP \
- -I $(KRB5_UTIL_DIR) \
+ -I$(KRB5_UTIL_DIR) \
$(CRYPTO_CFLAGS) \
$(LDAP_CFLAGS) \
$(KRB5_CFLAGS) \
@@ -58,6 +57,7 @@ ipasam_la_LIBADD = \
$(SAMBA40EXTRA_LIBS) \
$(SSSIDMAP_LIBS) \
$(ASN1_UTIL_DIR)/libipaasn1.la \
+ $(KRB5_UTIL_DIR)/libutil.la \
$(NULL)
EXTRA_DIST = \