mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 18:01:23 -06:00
ceb91a3f71
Slapi plugins must use mozldap because 389 ds is compiled against that. ipa_kpasswd, instead, should be linked against openldap. So always make sure both are available.
59 lines
1.1 KiB
Makefile
59 lines
1.1 KiB
Makefile
NULL =
|
|
|
|
INCLUDES = \
|
|
-I. \
|
|
-I$(srcdir) \
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
-DBINDIR=\""$(bindir)"\" \
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
-DLIBEXECDIR=\""$(libexecdir)"\" \
|
|
-DDATADIR=\""$(datadir)"\" \
|
|
$(OPENLDAP_CFLAGS) \
|
|
$(KRB5_CFLAGS) \
|
|
$(WARN_CFLAGS) \
|
|
$(NULL)
|
|
|
|
sbin_PROGRAMS = \
|
|
ipa_kpasswd \
|
|
$(NULL)
|
|
|
|
ipa_kpasswd_SOURCES = \
|
|
ipa_kpasswd.c \
|
|
$(NULL)
|
|
|
|
ipa_kpasswd_LDADD = \
|
|
$(OPENLDAP_LIBS) \
|
|
$(KRB5_LIBS) \
|
|
$(NULL)
|
|
|
|
install-exec-local:
|
|
mkdir -p $(DESTDIR)$(localstatedir)/cache/ipa/kpasswd
|
|
chmod 700 $(DESTDIR)$(localstatedir)/cache/ipa/kpasswd
|
|
|
|
uninstall-local:
|
|
-rmdir $(DESTDIR)$(localstatedir)/cache/ipa/kpasswd
|
|
-rmdir $(DESTDIR)$(localstatedir)/cache/ipa
|
|
|
|
EXTRA_DIST = \
|
|
README \
|
|
ipa_kpasswd.init \
|
|
$(NULL)
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
*~ \
|
|
Makefile.in
|
|
|
|
initdir=$(sysconfdir)/rc.d/init.d
|
|
|
|
install-data-hook: ipa_kpasswd.init
|
|
|
|
if test '!' -d $(DESTDIR)$(initdir); then \
|
|
$(mkinstalldirs) $(DESTDIR)$(initdir); \
|
|
chmod 755 $(DESTDIR)$(initdir); \
|
|
fi
|
|
|
|
$(INSTALL_SCRIPT) $(srcdir)/ipa_kpasswd.init $(DESTDIR)$(initdir)/ipa_kpasswd
|
|
|
|
uninstall-hook:
|
|
rm -f $(DESTDIR)$(initdir)/ipa_kpasswd
|