1# $Id: Makefile.am 22489 2008-01-21 11:49:06Z lha $ 2 3include $(top_srcdir)/Makefile.am.common 4 5AM_CPPFLAGS += $(INCLUDE_krb4) $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5 6 7lib_LTLIBRARIES = libkdc.la 8 9bin_PROGRAMS = string2key 10 11sbin_PROGRAMS = kstash 12 13libexec_PROGRAMS = hprop hpropd kdc 14 15noinst_PROGRAMS = kdc-replay 16 17man_MANS = kdc.8 kstash.8 hprop.8 hpropd.8 string2key.8 18 19hprop_SOURCES = hprop.c mit_dump.c v4_dump.c hprop.h kadb.h 20hpropd_SOURCES = hpropd.c hprop.h 21 22kstash_SOURCES = kstash.c headers.h 23 24string2key_SOURCES = string2key.c headers.h 25 26kdc_SOURCES = connect.c \ 27 config.c \ 28 main.c 29 30libkdc_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 49 50 51$(libkdc_la_OBJECTS): $(srcdir)/kdc-protos.h $(srcdir)/kdc-private.h 52 53libkdc_la_LDFLAGS = -version-info 2:0:0 54 55if versionscript 56libkdc_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map 57endif 58$(libkdc_la_OBJECTS): $(srcdir)/version-script.map 59 60$(srcdir)/kdc-protos.h: 61 cd $(srcdir) && perl ../cf/make-proto.pl -q -P comment -o kdc-protos.h $(libkdc_la_SOURCES) || rm -f kdc-protos.h 62 63$(srcdir)/kdc-private.h: 64 cd $(srcdir) && perl ../cf/make-proto.pl -q -P comment -p kdc-private.h $(libkdc_la_SOURCES) || rm -f kdc-private.h 65 66 67hprop_LDADD = \ 68 $(top_builddir)/lib/hdb/libhdb.la \ 69 $(LIB_openldap) \ 70 $(top_builddir)/lib/krb5/libkrb5.la \ 71 $(LIB_kdb) $(LIB_krb4) \ 72 $(LIB_hcrypto) \ 73 $(top_builddir)/lib/asn1/libasn1.la \ 74 $(LIB_roken) \ 75 $(DBLIB) 76 77hpropd_LDADD = \ 78 $(top_builddir)/lib/hdb/libhdb.la \ 79 $(LIB_openldap) \ 80 $(top_builddir)/lib/krb5/libkrb5.la \ 81 $(LIB_kdb) $(LIB_krb4) \ 82 $(LIB_hcrypto) \ 83 $(top_builddir)/lib/asn1/libasn1.la \ 84 $(LIB_roken) \ 85 $(DBLIB) 86 87if PKINIT 88LIB_pkinit = $(top_builddir)/lib/hx509/libhx509.la 89endif 90 91libkdc_la_LIBADD = \ 92 $(LIB_pkinit) \ 93 $(top_builddir)/lib/hdb/libhdb.la \ 94 $(LIB_openldap) \ 95 $(top_builddir)/lib/krb5/libkrb5.la \ 96 $(LIB_kdb) $(LIB_krb4) \ 97 $(top_builddir)/lib/ntlm/libheimntlm.la \ 98 $(LIB_hcrypto) \ 99 $(top_builddir)/lib/asn1/libasn1.la \ 100 $(LIB_roken) \ 101 $(DBLIB) 102 103LDADD = $(top_builddir)/lib/hdb/libhdb.la \ 104 $(LIB_openldap) \ 105 $(top_builddir)/lib/krb5/libkrb5.la \ 106 $(LIB_krb4) \ 107 $(LIB_hcrypto) \ 108 $(top_builddir)/lib/asn1/libasn1.la \ 109 $(LIB_roken) \ 110 $(DBLIB) 111 112kdc_LDADD = libkdc.la $(LDADD) $(LIB_pidfile) 113kdc_replay_LDADD = $(kdc_LDADD) 114 115include_HEADERS = kdc.h kdc-protos.h 116 117krb5dir = $(includedir)/krb5 118krb5_HEADERS = windc_plugin.h 119 120build_HEADERZ = $(krb5_HEADERS) # XXX 121 122EXTRA_DIST = $(man_MANS) version-script.map 123