1# $Id: Makefile.am 20466 2007-04-20 08:29:05Z lha $ 2 3include $(top_srcdir)/Makefile.am.common 4 5AM_CPPFLAGS += $(INCLUDE_readline) $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5 6 7sbin_PROGRAMS = kadmin 8 9libexec_PROGRAMS = kadmind 10 11SLC = $(top_builddir)/lib/sl/slc 12 13man_MANS = kadmin.8 kadmind.8 14 15noinst_PROGRAMS = add_random_users 16 17dist_kadmin_SOURCES = \ 18 ank.c \ 19 add_enctype.c \ 20 check.c \ 21 cpw.c \ 22 del.c \ 23 del_enctype.c \ 24 dump.c \ 25 ext.c \ 26 get.c \ 27 init.c \ 28 kadmin.c \ 29 load.c \ 30 mod.c \ 31 rename.c \ 32 stash.c \ 33 util.c \ 34 pw_quality.c \ 35 random_password.c \ 36 kadmin_locl.h 37 38nodist_kadmin_SOURCES = \ 39 kadmin-commands.c \ 40 kadmin-commands.h 41 42$(kadmin_OBJECTS): kadmin-commands.h 43 44CLEANFILES = kadmin-commands.h kadmin-commands.c 45 46kadmin-commands.c kadmin-commands.h: kadmin-commands.in 47 $(SLC) $(srcdir)/kadmin-commands.in 48 49kadmind_SOURCES = \ 50 kadmind.c \ 51 server.c \ 52 kadmin_locl.h \ 53 $(version4_c) \ 54 kadm_conn.c 55 56add_random_users_SOURCES = add-random-users.c 57 58test_util_SOURCES = test_util.c util.c 59 60TESTS = test_util 61 62check_PROGRAMS = $(TESTS) 63 64LDADD_common = \ 65 $(top_builddir)/lib/hdb/libhdb.la \ 66 $(LIB_openldap) \ 67 $(top_builddir)/lib/krb5/libkrb5.la \ 68 $(LIB_hcrypto) \ 69 $(top_builddir)/lib/asn1/libasn1.la \ 70 $(LIB_roken) \ 71 $(DBLIB) 72 73kadmind_LDADD = $(top_builddir)/lib/kadm5/libkadm5srv.la \ 74 $(LDADD_common) \ 75 $(LIB_pidfile) \ 76 $(LIB_dlopen) 77 78kadmin_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) 85 86add_random_users_LDADD = \ 87 $(top_builddir)/lib/kadm5/libkadm5clnt.la \ 88 $(top_builddir)/lib/kadm5/libkadm5srv.la \ 89 $(LDADD_common) \ 90 $(LIB_dlopen) 91 92test_util_LDADD = $(kadmin_LDADD) 93 94EXTRA_DIST = $(man_MANS) kadmin-commands.in 95