extract out perf number code
[heimdal.git] / kcm / Makefile.am
blobe06c4d29ef21d887ec63037ef68d1200e46ac133
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         kcm-protos.h    \
21         log.c           \
22         main.c          \
23         protocol.c      \
24         sessions.c      \
25         renew.c
27 $(srcdir)/kcm-protos.h:
28         cd $(srcdir); perl ../cf/make-proto.pl -o kcm-protos.h -q -P comment $(kcm_SOURCES) || rm -f kcm-protos.h
30 $(kcm_OBJECTS): $(srcdir)/kcm-protos.h
32 man_MANS = kcm.8
34 LDADD = $(top_builddir)/lib/hdb/libhdb.la \
35         $(top_builddir)/lib/krb5/libkrb5.la \
36         $(LIB_hcrypto) \
37         $(top_builddir)/lib/asn1/libasn1.la \
38         $(top_builddir)/lib/ntlm/libheimntlm.la \
39         $(top_builddir)/lib/ipc/libheim-ipcs.la \
40         $(LIB_roken) \
41         $(LIB_door_create) \
42         $(LIB_pidfile)
44 EXTRA_DIST = NTMakefile $(man_MANS)