Sync usage with man page.
[netbsd-mini2440.git] / crypto / dist / heimdal / kadmin / Makefile.am
blob5ae7ef21c343df5017c3445721429db82b4b993a
1 # $Heimdal: Makefile.am 20466 2007-04-20 08:29:05Z lha $
2 # $NetBSD$
4 include $(top_srcdir)/Makefile.am.common
6 AM_CPPFLAGS += $(INCLUDE_readline) $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5
8 sbin_PROGRAMS = kadmin
10 libexec_PROGRAMS = kadmind
12 SLC = $(top_builddir)/lib/sl/slc
14 man_MANS = kadmin.8 kadmind.8
16 noinst_PROGRAMS = add_random_users
18 dist_kadmin_SOURCES =                           \
19         ank.c                                   \
20         add_enctype.c                           \
21         check.c                                 \
22         cpw.c                                   \
23         del.c                                   \
24         del_enctype.c                           \
25         dump.c                                  \
26         ext.c                                   \
27         get.c                                   \
28         init.c                                  \
29         kadmin.c                                \
30         load.c                                  \
31         mod.c                                   \
32         rename.c                                \
33         stash.c                                 \
34         util.c                                  \
35         pw_quality.c                            \
36         random_password.c                       \
37         kadmin_locl.h
39 nodist_kadmin_SOURCES =                         \
40         kadmin-commands.c                       \
41         kadmin-commands.h
43 $(kadmin_OBJECTS): kadmin-commands.h
45 CLEANFILES = kadmin-commands.h kadmin-commands.c
47 kadmin-commands.c kadmin-commands.h: kadmin-commands.in
48         $(SLC) $(srcdir)/kadmin-commands.in
50 kadmind_SOURCES =                               \
51         kadmind.c                               \
52         server.c                                \
53         kadmin_locl.h                           \
54         $(version4_c)                           \
55         kadm_conn.c
57 add_random_users_SOURCES = add-random-users.c
59 test_util_SOURCES = test_util.c util.c
61 TESTS = test_util
63 check_PROGRAMS = $(TESTS)
65 LDADD_common = \
66         $(top_builddir)/lib/hdb/libhdb.la \
67         $(LIB_openldap) \
68         $(top_builddir)/lib/krb5/libkrb5.la \
69         $(LIB_hcrypto) \
70         $(top_builddir)/lib/asn1/libasn1.la \
71         $(LIB_roken) \
72         $(DBLIB)
74 kadmind_LDADD = $(top_builddir)/lib/kadm5/libkadm5srv.la \
75         $(LDADD_common) \
76         $(LIB_pidfile) \
77         $(LIB_dlopen)
79 kadmin_LDADD = \
80         $(top_builddir)/lib/kadm5/libkadm5clnt.la \
81         $(top_builddir)/lib/kadm5/libkadm5srv.la \
82         $(top_builddir)/lib/sl/libsl.la \
83         $(LIB_readline) \
84         $(LDADD_common) \
85         $(LIB_dlopen)
87 add_random_users_LDADD = \
88         $(top_builddir)/lib/kadm5/libkadm5clnt.la \
89         $(top_builddir)/lib/kadm5/libkadm5srv.la \
90         $(LDADD_common) \
91         $(LIB_dlopen)
93 test_util_LDADD = $(kadmin_LDADD)
95 EXTRA_DIST = $(man_MANS) kadmin-commands.in