b795025613
This commit adds optional integration with systemd's state notifification system. When built with libsystemd, kpasswdd notifies systemd once it is ready to serve and when it begins a clean shutdown, as well as publishing a status line reporting how many password change requests have been processed.
37 lines
745 B
Makefile
37 lines
745 B
Makefile
# $Id$
|
|
|
|
include $(top_srcdir)/Makefile.am.common
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/../lib/krb5
|
|
|
|
man_MANS = kpasswd.1 kpasswdd.8
|
|
|
|
bin_PROGRAMS = kpasswd
|
|
|
|
kpasswd_SOURCES = kpasswd.c kpasswd_locl.h
|
|
|
|
kpasswd_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/../lib/krb5
|
|
|
|
libexec_PROGRAMS = kpasswdd
|
|
|
|
noinst_PROGRAMS = kpasswd-generator
|
|
|
|
kpasswdd_SOURCES = kpasswdd.c kpasswd_locl.h
|
|
|
|
kpasswdd_LDADD = \
|
|
$(top_builddir)/lib/kadm5/libkadm5srv.la \
|
|
$(top_builddir)/lib/hdb/libhdb.la \
|
|
$(LDADD) \
|
|
$(LIB_pidfile) \
|
|
$(LIB_dlopen) \
|
|
$(DB3LIB) $(DB1LIB) $(LMDBLIB) $(NDBMLIB) \
|
|
$(SYSTEMD_LIBS)
|
|
|
|
kpasswdd_CFLAGS = $(SYSTEMD_CFLAGS)
|
|
|
|
LDADD = $(top_builddir)/lib/krb5/libkrb5.la \
|
|
$(top_builddir)/lib/asn1/libasn1.la \
|
|
$(LIB_roken)
|
|
|
|
EXTRA_DIST = NTMakefile $(man_MANS)
|