add basic symbol renaming and header prototection
[heimdal.git] / kcm / Makefile.am
blob91eedabd90361c31d9bd81be40804568ba518155
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_libintl) $(INCLUDE_krb4) $(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         kcm-protos.h    \
21         log.c           \
22         main.c          \
23         protocol.c      \
24         renew.c
26 $(srcdir)/kcm-protos.h:
27         cd $(srcdir); perl ../cf/make-proto.pl -o kcm-protos.h -q -P comment $(kcm_SOURCES) || rm -f kcm-protos.h
29 $(kcm_OBJECTS): $(srcdir)/kcm-protos.h
31 man_MANS = kcm.8
33 LDADD = $(top_builddir)/lib/hdb/libhdb.la \
34         $(LIB_openldap) \
35         $(top_builddir)/lib/krb5/libkrb5.la \
36         $(LIB_krb4) \
37         $(LIB_hcrypto) \
38         $(top_builddir)/lib/asn1/libasn1.la \
39         $(LIB_roken) \
40         $(LIB_door_create) \
41         $(LIB_pidfile)
43 EXTRA_DIST = $(man_MANS)