xref: /freebsd/crypto/heimdal/kadmin/Makefile.am (revision 1669d8afc64812c8d2d1d147ae1fd42ff441e1b1)
1# $Id: Makefile.am,v 1.34 2001/08/28 08:31:26 assar Exp $
2
3include $(top_srcdir)/Makefile.am.common
4
5INCLUDES += $(INCLUDE_readline) $(INCLUDE_krb4) $(INCLUDE_des) -I$(srcdir)/../lib/krb5
6
7sbin_PROGRAMS = kadmin
8
9libexec_PROGRAMS = kadmind
10
11man_MANS = kadmin.8 kadmind.8
12
13noinst_PROGRAMS = add_random_users
14
15kadmin_SOURCES =				\
16	ank.c					\
17	cpw.c					\
18	del.c					\
19	del_enctype.c				\
20	dump.c					\
21	ext.c					\
22	get.c					\
23	init.c					\
24	kadmin.c				\
25	load.c					\
26	mod.c					\
27	rename.c				\
28	util.c					\
29	random_password.c			\
30	kadmin_locl.h
31
32if KRB4
33KRB4LIB = $(LIB_krb4)
34version4_c = version4.c
35endif
36
37kadmind_SOURCES =				\
38	kadmind.c				\
39	server.c				\
40	kadmin_locl.h				\
41	$(version4_c)				\
42	kadm_conn.c
43
44EXTRA_kadmind_SOURCES = version4.c
45
46add_random_users_SOURCES = add-random-users.c
47
48LDADD_common = \
49	$(top_builddir)/lib/hdb/libhdb.la \
50	$(LIB_openldap) \
51	$(top_builddir)/lib/krb5/libkrb5.la \
52	$(LIB_des) \
53	$(top_builddir)/lib/asn1/libasn1.la \
54	$(LIB_roken) \
55	$(DBLIB)
56
57kadmind_LDADD = $(KRB4LIB) $(top_builddir)/lib/kadm5/libkadm5srv.la \
58	$(LDADD_common) \
59	$(LIB_pidfile) \
60	$(LIB_dlopen)
61
62kadmin_LDADD = \
63	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
64	$(top_builddir)/lib/kadm5/libkadm5srv.la \
65	$(top_builddir)/lib/sl/libsl.la \
66	$(LIB_readline) \
67	$(LDADD_common) \
68	$(LIB_dlopen)
69
70add_random_users_LDADD = \
71	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
72	$(top_builddir)/lib/kadm5/libkadm5srv.la \
73	$(LDADD_common) \
74	$(LIB_dlopen)
75