summaryrefslogtreecommitdiffstats
path: root/util
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 /util
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 'util')
-rw-r--r--util/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/util/Makefile.am b/util/Makefile.am
new file mode 100644
index 000000000..7869bc92b
--- /dev/null
+++ b/util/Makefile.am
@@ -0,0 +1,14 @@
+AUTOMAKE_OPTIONS = 1.7 subdir-objects
+
+AM_CPPFLAGS = $(CRYPTO_CFLAGS) $(KRB5_CFLAGS) $(LDAP_CFLAGS) $(NSS_CFLAGS)
+
+noinst_LTLIBRARIES = libutil.la
+
+libutil_la_SOURCES = ipa_krb5.c \
+ ipa_krb5.h \
+ ipa_mspac.h \
+ ipa_pwd.c \
+ ipa_pwd.h \
+ ipa_pwd_ntlm.c
+
+libutil_la_LIBADD = $(CRYPTO_LIBS) $(KRB5_LIBS) $(LDAP_LIBS) $(NSS_LIBS)