Fix memory leak in fcc_move
[heimdal.git] / kadmin / Makefile.am
blob03617ee79f9e8522f3185251c1f7348dd43fd82b
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         $(LIB_openldap) \
65         $(top_builddir)/lib/krb5/libkrb5.la \
66         $(LIB_hcrypto) \
67         $(top_builddir)/lib/asn1/libasn1.la \
68         $(LIB_roken) \
69         $(DBLIB)
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 = $(man_MANS) kadmin-commands.in