Optionally prune old keys when setting new keys.
[heimdal.git] / kcm / Makefile.am
blob71f63c4042278812486ed7146fbd939194a53d2f
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_libintl) $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5
7 libexec_PROGRAMS = kcm
9 kcm_SOURCES =           \
10         acl.c           \
11         acquire.c       \
12         cache.c         \
13         client.c        \
14         config.c        \
15         connect.c       \
16         events.c        \
17         glue.c          \
18         headers.h       \
19         kcm_locl.h      \
20         log.c           \
21         main.c          \
22         protocol.c      \
23         sessions.c      \
24         renew.c
26 noinst_HEADERS = $(srcdir)/kcm-protos.h
28 $(srcdir)/kcm-protos.h: $(kcm_SOURCES)
29         cd $(srcdir); perl ../cf/make-proto.pl -o kcm-protos.h -q -P comment $(kcm_SOURCES) || rm -f kcm-protos.h
31 $(kcm_OBJECTS): $(srcdir)/kcm-protos.h
33 man_MANS = kcm.8
35 LDADD = $(top_builddir)/lib/hdb/libhdb.la \
36         $(top_builddir)/lib/krb5/libkrb5.la \
37         $(LIB_hcrypto) \
38         $(top_builddir)/lib/asn1/libasn1.la \
39         $(top_builddir)/lib/ntlm/libheimntlm.la \
40         $(top_builddir)/lib/ipc/libheim-ipcs.la \
41         $(LIB_roken) \
42         $(LIB_door_create) \
43         $(LIB_pidfile)
45 EXTRA_DIST = NTMakefile $(man_MANS)