test debug
[heimdal.git] / kdc / Makefile.am
blobcc458b75fe4d668826044d36687bdba82710de36
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_krb4) $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5
7 lib_LTLIBRARIES = libkdc.la
9 bin_PROGRAMS = string2key
11 sbin_PROGRAMS = kstash
13 libexec_PROGRAMS = hprop hpropd kdc
15 noinst_PROGRAMS = kdc-replay
17 man_MANS = kdc.8 kstash.8 hprop.8 hpropd.8 string2key.8
19 hprop_SOURCES = hprop.c mit_dump.c v4_dump.c hprop.h kadb.h 
20 hpropd_SOURCES = hpropd.c hprop.h
22 kstash_SOURCES = kstash.c headers.h
24 string2key_SOURCES = string2key.c headers.h
26 kdc_SOURCES = connect.c \
27         config.c        \
28         main.c
30 libkdc_la_SOURCES =             \
31         kdc-private.h           \
32         kdc-protos.h            \
33         default_config.c        \
34         set_dbinfo.c            \
35         digest.c                \
36         kdc_locl.h              \
37         kerberos5.c             \
38         krb5tgs.c               \
39         pkinit.c                \
40         log.c                   \
41         misc.c                  \
42         524.c                   \
43         kerberos4.c             \
44         kaserver.c              \
45         kx509.c                 \
46         process.c               \
47         windc.c                 \
48         rx.h
51 $(libkdc_la_OBJECTS): $(srcdir)/kdc-protos.h $(srcdir)/kdc-private.h
53 libkdc_la_LDFLAGS = -version-info 2:0:0
55 if versionscript
56 libkdc_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
57 endif
58 $(libkdc_la_OBJECTS): $(srcdir)/version-script.map
60 CHECK_SYMBOLS = -lib kdc -version krb5_kdc kdc_ _kdc_
62 $(srcdir)/kdc-protos.h:
63         cd $(srcdir) && perl ../cf/make-proto.pl -q -P comment -o kdc-protos.h $(libkdc_la_SOURCES) || rm -f kdc-protos.h
65 $(srcdir)/kdc-private.h:
66         cd $(srcdir) && perl ../cf/make-proto.pl -q -P comment -p kdc-private.h $(libkdc_la_SOURCES) || rm -f kdc-private.h
69 hprop_LDADD = \
70         $(top_builddir)/lib/hdb/libhdb.la \
71         $(LIB_openldap) \
72         $(top_builddir)/lib/krb5/libkrb5.la \
73         $(LIB_kdb) $(LIB_krb4) \
74         $(LIB_hcrypto) \
75         $(top_builddir)/lib/asn1/libasn1.la \
76         $(LIB_roken) \
77         $(DBLIB) 
79 hpropd_LDADD = \
80         $(top_builddir)/lib/hdb/libhdb.la \
81         $(LIB_openldap) \
82         $(top_builddir)/lib/krb5/libkrb5.la \
83         $(LIB_kdb) $(LIB_krb4) \
84         $(LIB_hcrypto) \
85         $(top_builddir)/lib/asn1/libasn1.la \
86         $(LIB_roken) \
87         $(DBLIB) 
89 if PKINIT
90 LIB_pkinit = $(top_builddir)/lib/hx509/libhx509.la
91 endif
93 libkdc_la_LIBADD = \
94         $(LIB_pkinit) \
95         $(top_builddir)/lib/hdb/libhdb.la \
96         $(LIB_openldap) \
97         $(top_builddir)/lib/krb5/libkrb5.la \
98         $(LIB_kdb) $(LIB_krb4) \
99         $(top_builddir)/lib/ntlm/libheimntlm.la \
100         $(LIB_hcrypto) \
101         $(top_builddir)/lib/asn1/libasn1.la \
102         $(LIB_roken) \
103         $(DBLIB) 
105 LDADD = $(top_builddir)/lib/hdb/libhdb.la \
106         $(LIB_openldap) \
107         $(top_builddir)/lib/krb5/libkrb5.la \
108         $(LIB_krb4) \
109         $(LIB_hcrypto) \
110         $(top_builddir)/lib/asn1/libasn1.la \
111         $(LIB_roken) \
112         $(DBLIB)
114 kdc_LDADD = libkdc.la $(LDADD) $(LIB_pidfile)
115 kdc_replay_LDADD = $(kdc_LDADD)
117 include_HEADERS = kdc.h kdc-protos.h
119 krb5dir = $(includedir)/krb5
120 krb5_HEADERS = windc_plugin.h
122 build_HEADERZ = $(krb5_HEADERS) # XXX
124 EXTRA_DIST = $(man_MANS) version-script.map