HEIMDAL: Require armor_server to be a krbtgt name, not just a server name
[heimdal.git] / kadmin / Makefile.am
blobe7fe58f8d73751b77a52262a85475773f09d1924
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_libintl) $(INCLUDE_readline) -I$(srcdir)/../lib/krb5 -I$(top_builddir)/include/gssapi
7 bin_PROGRAMS = kadmin
9 libexec_PROGRAMS = kadmind
11 man_MANS = kadmin.1 kadmind.8
13 noinst_PROGRAMS = add_random_users
15 dist_kadmin_SOURCES =                           \
16         ank.c                                   \
17         add_enctype.c                           \
18         check.c                                 \
19         cpw.c                                   \
20         del.c                                   \
21         del_enctype.c                           \
22         dump.c                                  \
23         ext.c                                   \
24         get.c                                   \
25         init.c                                  \
26         kadmin.c                                \
27         load.c                                  \
28         mod.c                                   \
29         prune.c                                 \
30         rename.c                                \
31         stash.c                                 \
32         util.c                                  \
33         pw_quality.c                            \
34         random_password.c                       \
35         kadmin_locl.h
37 nodist_kadmin_SOURCES =                         \
38         kadmin-commands.c                       \
39         kadmin-commands.h
41 $(kadmin_OBJECTS): kadmin-commands.h
43 CLEANFILES = kadmin-commands.h kadmin-commands.c
45 kadmin-commands.c kadmin-commands.h: kadmin-commands.in
46         $(SLC) $(srcdir)/kadmin-commands.in
48 kadmind_SOURCES =                               \
49         rpc.c                                   \
50         server.c                                \
51         kadmind.c                               \
52         kadmin_locl.h                           \
53         kadm_conn.c
55 add_random_users_SOURCES = add-random-users.c
57 test_util_SOURCES = test_util.c util.c
59 TESTS = test_util
61 check_PROGRAMS = $(TESTS)
63 LDADD_common = \
64         $(top_builddir)/lib/hdb/libhdb.la \
65         $(top_builddir)/lib/krb5/libkrb5.la \
66         $(LIB_hcrypto) \
67         $(top_builddir)/lib/asn1/libasn1.la \
68         $(LIB_roken) \
69         $(DB3LIB) $(DB1LIB) $(LMDBLIB) $(NDBMLIB)
71 kadmind_LDADD = $(top_builddir)/lib/kadm5/libkadm5srv.la \
72         ../lib/gssapi/libgssapi.la \
73         $(LDADD_common) \
74         $(LIB_pidfile) \
75         $(LIB_dlopen)
77 kadmin_LDADD = \
78         $(top_builddir)/lib/kadm5/libkadm5clnt.la \
79         $(top_builddir)/lib/kadm5/libkadm5srv.la \
80         $(top_builddir)/lib/sl/libsl.la \
81         $(LIB_readline) \
82         $(LDADD_common) \
83         $(LIB_dlopen)
85 add_random_users_LDADD = \
86         $(top_builddir)/lib/kadm5/libkadm5clnt.la \
87         $(top_builddir)/lib/kadm5/libkadm5srv.la \
88         $(LDADD_common) \
89         $(LIB_dlopen)
91 test_util_LDADD = $(kadmin_LDADD)
93 EXTRA_DIST = \
94         NTMakefile \
95         kadmin-version.rc \
96         kadmind-version.rc \
97         $(man_MANS) \
98         kadmin-commands.in