Remove building with NOCRYPTO option
[minix.git] / crypto / external / bsd / heimdal / dist / kadmin / Makefile.am
blob163355dfd3f530ec9014e6a4d3bc99d34b2959a9
1 # Id
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_libintl) $(INCLUDE_readline) $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5 -I$(top_builddir)/include/gssapi
7 sbin_PROGRAMS = kadmin
9 libexec_PROGRAMS = kadmind
11 man_MANS = kadmin.8 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         rename.c                                \
30         stash.c                                 \
31         util.c                                  \
32         pw_quality.c                            \
33         random_password.c                       \
34         kadmin_locl.h
36 nodist_kadmin_SOURCES =                         \
37         kadmin-commands.c                       \
38         kadmin-commands.h
40 $(kadmin_OBJECTS): kadmin-commands.h
42 CLEANFILES = kadmin-commands.h kadmin-commands.c
44 kadmin-commands.c kadmin-commands.h: kadmin-commands.in
45         $(SLC) $(srcdir)/kadmin-commands.in
47 kadmind_SOURCES =                               \
48         rpc.c                                   \
49         server.c                                \
50         kadmind.c                               \
51         kadmin_locl.h                           \
52         kadm_conn.c
54 add_random_users_SOURCES = add-random-users.c
56 test_util_SOURCES = test_util.c util.c
58 TESTS = test_util
60 check_PROGRAMS = $(TESTS)
62 LDADD_common = \
63         $(top_builddir)/lib/hdb/libhdb.la \
64         $(top_builddir)/lib/krb5/libkrb5.la \
65         $(LIB_hcrypto) \
66         $(top_builddir)/lib/asn1/libasn1.la \
67         $(LIB_roken) \
68         $(DBLIB)
70 kadmind_LDADD = $(top_builddir)/lib/kadm5/libkadm5srv.la \
71         ../lib/gssapi/libgssapi.la \
72         $(LDADD_common) \
73         $(LIB_pidfile) \
74         $(LIB_dlopen)
76 kadmin_LDADD = \
77         $(top_builddir)/lib/kadm5/libkadm5clnt.la \
78         $(top_builddir)/lib/kadm5/libkadm5srv.la \
79         $(top_builddir)/lib/sl/libsl.la \
80         $(LIB_readline) \
81         $(LDADD_common) \
82         $(LIB_dlopen)
84 add_random_users_LDADD = \
85         $(top_builddir)/lib/kadm5/libkadm5clnt.la \
86         $(top_builddir)/lib/kadm5/libkadm5srv.la \
87         $(LDADD_common) \
88         $(LIB_dlopen)
90 test_util_LDADD = $(kadmin_LDADD)
92 EXTRA_DIST = \
93         NTMakefile \
94         kadmin-version.rc \
95         kadmind-version.rc \
96         $(man_MANS) \
97         kadmin-commands.in