Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / crypto / dist / heimdal / kcm / Makefile.am
blob4358123dc84ae1bb2f31b38246424ca3ee445791
1 # $Heimdal: Makefile.am 20466 2007-04-20 08:29:05Z lha $
2 # $NetBSD$
4 include $(top_srcdir)/Makefile.am.common
6 AM_CPPFLAGS += $(INCLUDE_krb4) $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5
8 libexec_PROGRAMS = kcm
10 kcm_SOURCES =           \
11         acl.c           \
12         acquire.c       \
13         cache.c         \
14         client.c        \
15         config.c        \
16         connect.c       \
17         cursor.c        \
18         events.c        \
19         glue.c          \
20         headers.h       \
21         kcm_locl.h      \
22         kcm_protos.h    \
23         log.c           \
24         main.c          \
25         protocol.c      \
26         renew.c
28 $(srcdir)/kcm_protos.h:
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         $(LIB_openldap) \
37         $(top_builddir)/lib/krb5/libkrb5.la \
38         $(LIB_krb4) \
39         $(LIB_hcrypto) \
40         $(top_builddir)/lib/asn1/libasn1.la \
41         $(LIB_roken) \
42         $(LIB_door_create) \
43         $(LIB_pidfile)
45 EXTRA_DIST = $(man_MANS)