libtommath: Fix possible integer overflow CVE-2023-36328
[heimdal.git] / kadmin / Makefile.am
blobd9b8fee1c65055a3cb1c281536321b45fd653e9a
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         $(top_builddir)/lib/kadm5/libkadm5clnt.la \
73         ../lib/gssapi/libgssapi.la \
74         $(LDADD_common) \
75         $(LIB_pidfile) \
76         $(LIB_dlopen)
78 kadmin_LDADD = \
79         $(top_builddir)/lib/kadm5/libkadm5clnt.la \
80         $(top_builddir)/lib/kadm5/libkadm5srv.la \
81         $(top_builddir)/lib/sl/libsl.la \
82         $(LIB_readline) \
83         $(LDADD_common) \
84         $(LIB_dlopen)
86 add_random_users_LDADD = \
87         $(top_builddir)/lib/kadm5/libkadm5clnt.la \
88         $(top_builddir)/lib/kadm5/libkadm5srv.la \
89         $(LDADD_common) \
90         $(LIB_dlopen)
92 test_util_LDADD = $(kadmin_LDADD)
94 EXTRA_DIST = \
95         NTMakefile \
96         kadmin-version.rc \
97         kadmind-version.rc \
98         $(man_MANS) \
99         kadmin-commands.in