3 include $(top_srcdir)/Makefile.am.common
5 lib_LTLIBRARIES = libkadm5srv.la libkadm5clnt.la
6 libkadm5srv_la_LDFLAGS = -version-info 8:1:0
7 libkadm5clnt_la_LDFLAGS = -version-info 7:1:0
10 libkadm5srv_la_LDFLAGS += $(LDFLAGS_VERSION_SCRIPT)$(srcdir)/version-script.map
13 sbin_PROGRAMS = iprop-log
14 check_PROGRAMS = default_keys
15 noinst_PROGRAMS = test_pw_quality
17 noinst_LTLIBRARIES = sample_passwd_check.la
19 sample_passwd_check_la_SOURCES = sample_passwd_check.c
20 sample_passwd_check_la_LDFLAGS = -module
22 libkadm5srv_la_LIBADD = \
23 $(LIB_com_err) ../krb5/libkrb5.la \
24 ../hdb/libhdb.la $(LIBADD_roken)
25 libkadm5clnt_la_LIBADD = \
26 $(LIB_com_err) ../krb5/libkrb5.la $(LIBADD_roken)
28 libexec_PROGRAMS = ipropd-master ipropd-slave
30 default_keys_SOURCES = default_keys.c
32 kadm5includedir = $(includedir)/kadm5
33 buildkadm5include = $(buildinclude)/kadm5
35 dist_kadm5include_HEADERS = admin.h private.h kadm5-pwcheck.h
36 dist_kadm5include_HEADERS += kadm5-protos.h kadm5-private.h
38 nodist_kadm5include_HEADERS = kadm5_err.h
40 install-build-headers:: $(dist_kadm5include_HEADERS) $(nodist_kadm5include_HEADERS)
41 @foo='$(dist_kadm5include_HEADERS) $(nodist_kadm5include_HEADERS)'; \
44 if test -f "$(srcdir)/$$f"; then file="$(srcdir)/$$f"; \
45 else file="$$f"; fi; \
46 if cmp -s $$file $(buildkadm5include)/$$f 2> /dev/null ; then \
48 echo "cp $$file $(buildkadm5include)/$$f";\
49 cp $$file $(buildkadm5include)/$$f; \
53 dist_libkadm5clnt_la_SOURCES = \
76 nodist_libkadm5clnt_la_SOURCES = \
80 dist_libkadm5srv_la_SOURCES = \
112 nodist_libkadm5srv_la_SOURCES = \
116 libkadm5srv_la_DEPENDENCIES = \
119 dist_iprop_log_SOURCES = iprop-log.c
120 nodist_iprop_log_SOURCES = iprop-commands.c
122 ipropd_master_SOURCES = ipropd_master.c ipropd_common.c iprop.h kadm5_locl.h
124 ipropd_slave_SOURCES = ipropd_slave.c ipropd_common.c iprop.h kadm5_locl.h
126 man_MANS = kadm5_pwcheck.3 iprop.8 iprop-log.8
130 $(top_builddir)/lib/hdb/libhdb.la \
131 $(top_builddir)/lib/krb5/libkrb5.la \
132 $(top_builddir)/lib/asn1/libasn1.la \
141 $(top_builddir)/lib/hdb/libhdb.la \
142 $(top_builddir)/lib/krb5/libkrb5.la \
143 $(top_builddir)/lib/asn1/libasn1.la \
145 $(top_builddir)/lib/sl/libsl.la \
153 iprop-commands.c iprop-commands.h: iprop-commands.in
154 $(SLC) $(srcdir)/iprop-commands.in
156 $(libkadm5srv_la_OBJECTS): kadm5_err.h
157 $(iprop_log_OBJECTS): iprop-commands.h
159 client_glue.lo server_glue.lo: $(srcdir)/common_glue.c
161 CLEANFILES = kadm5_err.c kadm5_err.h iprop-commands.h iprop-commands.c
163 # to help stupid solaris make
165 kadm5_err.h: kadm5_err.et
167 $(libkadm5clnt_la_OBJECTS) $(libkadm5srv_la_OBJECTS): $(srcdir)/kadm5-protos.h $(srcdir)/kadm5-private.h
169 proto_opts = -q -R '^(_|kadm5_c_|kadm5_s_|kadm5_log)' -P comment
170 $(srcdir)/kadm5-protos.h:
171 cd $(srcdir); perl ../../cf/make-proto.pl $(proto_opts) \
173 $(dist_libkadm5clnt_la_SOURCES) \
174 $(dist_libkadm5srv_la_SOURCES) \
175 || rm -f kadm5-protos.h
177 $(srcdir)/kadm5-private.h:
178 cd $(srcdir); perl ../../cf/make-proto.pl $(proto_opts) \
180 $(dist_libkadm5clnt_la_SOURCES) \
181 $(dist_libkadm5srv_la_SOURCES) \
182 || rm -f kadm5-private.h
186 iprop-log-version.rc \
187 ipropd-master-version.rc \
188 ipropd-slave-version.rc \
189 libkadm5srv-version.rc \
190 libkadm5srv-exports.def \
196 sample_passwd_check.c \