quoted string tests
[heimdal.git] / kdc / Makefile.am
blob3b283cb030cb18f4dca12165cfe2bc30e77f6ce0
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_libintl) $(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 digest-service
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 hprop.h
20 hpropd_SOURCES = hpropd.c hprop.h
22 kstash_SOURCES = kstash.c headers.h
24 string2key_SOURCES = string2key.c headers.h
26 digest_service_SOURCES = \
27         digest-service.c
29 kdc_SOURCES = connect.c \
30         config.c        \
31         announce.c      \
32         main.c
34 libkdc_la_SOURCES =             \
35         kdc-private.h           \
36         kdc-protos.h            \
37         default_config.c        \
38         set_dbinfo.c            \
39         digest.c                \
40         fast.c                  \
41         kdc_locl.h              \
42         kerberos5.c             \
43         krb5tgs.c               \
44         pkinit.c                \
45         log.c                   \
46         misc.c                  \
47         kx509.c                 \
48         process.c               \
49         windc.c                 \
50         rx.h
53 $(libkdc_la_OBJECTS): $(srcdir)/kdc-protos.h $(srcdir)/kdc-private.h
55 libkdc_la_LDFLAGS = -version-info 2:0:0
57 if versionscript
58 libkdc_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
59 endif
60 $(libkdc_la_OBJECTS): $(srcdir)/version-script.map
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         $(top_builddir)/lib/krb5/libkrb5.la \
72         $(LIB_kdb)  \
73         $(LIB_hcrypto) \
74         $(top_builddir)/lib/asn1/libasn1.la \
75         $(LIB_roken) \
76         $(DBLIB) 
78 hpropd_LDADD = \
79         $(top_builddir)/lib/hdb/libhdb.la \
80         $(top_builddir)/lib/krb5/libkrb5.la \
81         $(LIB_kdb)  \
82         $(LIB_hcrypto) \
83         $(top_builddir)/lib/asn1/libasn1.la \
84         $(LIB_roken) \
85         $(DBLIB) 
87 if PKINIT
88 LIB_pkinit = $(top_builddir)/lib/hx509/libhx509.la
89 endif
91 libkdc_la_LIBADD = \
92         $(LIB_pkinit) \
93         $(top_builddir)/lib/hdb/libhdb.la \
94         $(top_builddir)/lib/krb5/libkrb5.la \
95         $(LIB_kdb)  \
96         $(top_builddir)/lib/ntlm/libheimntlm.la \
97         $(LIB_hcrypto) \
98         $(top_builddir)/lib/asn1/libasn1.la \
99         $(LIB_roken) \
100         $(DBLIB) 
102 LDADD = $(top_builddir)/lib/hdb/libhdb.la \
103         $(top_builddir)/lib/krb5/libkrb5.la \
104         $(LIB_hcrypto) \
105         $(top_builddir)/lib/asn1/libasn1.la \
106         $(LIB_roken) \
107         $(DBLIB)
109 kdc_LDADD = libkdc.la $(LDADD) $(LIB_pidfile) $(CAPNG_LIBS)
111 if FRAMEWORK_SECURITY
112 kdc_LDFLAGS = -framework SystemConfiguration -framework CoreFoundation
113 endif
114 kdc_CFLAGS = $(CAPNG_CFLAGS)
116 digest_service_LDADD = \
117         libkdc.la \
118         $(top_builddir)/lib/ntlm/libheimntlm.la \
119         $(top_builddir)/lib/ipc/libheim-ipcs.la \
120         $(LDADD) $(LIB_pidfile)
121 kdc_replay_LDADD = libkdc.la $(LDADD) $(LIB_pidfile)
123 include_HEADERS = kdc.h kdc-protos.h
126 krb5dir = $(includedir)/krb5
127 krb5_HEADERS = windc_plugin.h
129 build_HEADERZ = $(krb5_HEADERS) # XXX
131 EXTRA_DIST = \
132         hprop-version.rc \
133         hpropd-version.rc \
134         kdc-version.rc \
135         kstash-version.rc \
136         libkdc-version.rc \
137         string2key-version.rc \
138         libkdc-exports.def \
139         NTMakefile $(man_MANS) version-script.map