summaryrefslogtreecommitdiffstats
path: root/client/Makefile.am
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-10-31 12:33:43 +0100
committerMartin Babinsky <mbabinsk@redhat.com>2016-11-09 13:08:32 +0100
commit24feae47f26f40f757fbdd711399128d88c9b62c (patch)
tree47bb9e1336f0b7cb6b4f15b18e80868192fd57b7 /client/Makefile.am
parent820fd4c7ce6ccc80272f45d6f64227567692dd39 (diff)
downloadfreeipa-24feae47f26f40f757fbdd711399128d88c9b62c.tar.gz
freeipa-24feae47f26f40f757fbdd711399128d88c9b62c.tar.xz
freeipa-24feae47f26f40f757fbdd711399128d88c9b62c.zip
Build: fix Makefile.am files to separate source and build directories
This is step forward working VPATH builds which cleanly separate sources and build artifacts. It makes the system cleaner and easier to understand. Python and web UI likely require more work to make VPATH builds working. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'client/Makefile.am')
-rw-r--r--client/Makefile.am11
1 files changed, 4 insertions, 7 deletions
diff --git a/client/Makefile.am b/client/Makefile.am
index 30adafd38..0a146f082 100644
--- a/client/Makefile.am
+++ b/client/Makefile.am
@@ -12,15 +12,12 @@ if HAVE_GCC
endif
export AM_CFLAGS
-KRB5_UTIL_DIR=../util
-ASN1_UTIL_DIR=../asn1
IPA_CONF_FILE=$(sysconfdir)/ipa/default.conf
AM_CPPFLAGS = \
- -I. \
-I$(srcdir) \
- -I$(KRB5_UTIL_DIR) \
- -I$(ASN1_UTIL_DIR) \
+ -I$(top_srcdir)/util \
+ -I$(top_srcdir)/asn1 \
-DPREFIX=\""$(prefix)"\" \
-DBINDIR=\""$(bindir)"\" \
-DLIBDIR=\""$(libdir)"\" \
@@ -55,8 +52,8 @@ ipa_getkeytab_SOURCES = \
$(NULL)
ipa_getkeytab_LDADD = \
- ../asn1/libipaasn1.la \
- $(KRB5_UTIL_DIR)/libutil.la \
+ $(top_builddir)/asn1/libipaasn1.la \
+ $(top_builddir)/util/libutil.la \
$(KRB5_LIBS) \
$(LDAP_LIBS) \
$(SASL_LIBS) \