0000-12-31 18:09:24 -05:50
|
|
|
NULL =
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I. \
|
|
|
|
-I$(srcdir) \
|
|
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
|
|
-DBINDIR=\""$(bindir)"\" \
|
|
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
|
|
-DLIBEXECDIR=\""$(libexecdir)"\" \
|
|
|
|
-DDATADIR=\""$(datadir)"\" \
|
2010-11-04 11:08:26 -05:00
|
|
|
$(AM_CFLAGS) \
|
2010-10-05 16:35:16 -05:00
|
|
|
$(OPENLDAP_CFLAGS) \
|
0000-12-31 18:09:24 -05:50
|
|
|
$(KRB5_CFLAGS) \
|
|
|
|
$(WARN_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
sbin_PROGRAMS = \
|
0000-12-31 18:09:24 -05:50
|
|
|
ipa_kpasswd \
|
0000-12-31 18:09:24 -05:50
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ipa_kpasswd_SOURCES = \
|
|
|
|
ipa_kpasswd.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ipa_kpasswd_LDADD = \
|
2010-10-05 16:35:16 -05:00
|
|
|
$(OPENLDAP_LIBS) \
|
0000-12-31 18:09:24 -05:50
|
|
|
$(KRB5_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2008-04-01 16:33:53 -05:00
|
|
|
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
|
|
|
|
|
0000-12-31 18:09:24 -05:50
|
|
|
EXTRA_DIST = \
|
|
|
|
README \
|
2008-01-18 15:20:36 -06:00
|
|
|
ipa_kpasswd.init \
|
0000-12-31 18:09:24 -05:50
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
*~ \
|
|
|
|
Makefile.in
|
|
|
|
|
|
|
|
initdir=$(sysconfdir)/rc.d/init.d
|
|
|
|
|
2008-01-18 15:20:36 -06:00
|
|
|
install-data-hook: ipa_kpasswd.init
|
0000-12-31 18:09:24 -05:50
|
|
|
|
|
|
|
if test '!' -d $(DESTDIR)$(initdir); then \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(initdir); \
|
|
|
|
chmod 755 $(DESTDIR)$(initdir); \
|
|
|
|
fi
|
|
|
|
|
2008-01-18 15:20:36 -06:00
|
|
|
$(INSTALL_SCRIPT) $(srcdir)/ipa_kpasswd.init $(DESTDIR)$(initdir)/ipa_kpasswd
|
0000-12-31 18:09:24 -05:50
|
|
|
|
|
|
|
uninstall-hook:
|
2008-01-18 15:20:36 -06:00
|
|
|
rm -f $(DESTDIR)$(initdir)/ipa_kpasswd
|