2008-05-07 13:39:42 +00:00
|
|
|
# $Id: Makefile.am 20466 2007-04-20 08:29:05Z lha $
|
2000-01-09 20:58:00 +00:00
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.am.common
|
|
|
|
|
2008-05-07 13:39:42 +00:00
|
|
|
AM_CPPFLAGS += $(INCLUDE_readline) $(INCLUDE_hcrypto) -I$(srcdir)/../lib/krb5
|
2000-01-09 20:58:00 +00:00
|
|
|
|
|
|
|
sbin_PROGRAMS = kadmin
|
|
|
|
|
|
|
|
libexec_PROGRAMS = kadmind
|
|
|
|
|
2008-05-07 13:39:42 +00:00
|
|
|
SLC = $(top_builddir)/lib/sl/slc
|
|
|
|
|
2001-02-13 16:46:19 +00:00
|
|
|
man_MANS = kadmin.8 kadmind.8
|
|
|
|
|
|
|
|
noinst_PROGRAMS = add_random_users
|
|
|
|
|
2008-05-07 13:39:42 +00:00
|
|
|
dist_kadmin_SOURCES = \
|
2000-01-09 20:58:00 +00:00
|
|
|
ank.c \
|
2008-05-07 13:39:42 +00:00
|
|
|
add_enctype.c \
|
|
|
|
check.c \
|
2000-01-09 20:58:00 +00:00
|
|
|
cpw.c \
|
|
|
|
del.c \
|
|
|
|
del_enctype.c \
|
|
|
|
dump.c \
|
|
|
|
ext.c \
|
|
|
|
get.c \
|
|
|
|
init.c \
|
|
|
|
kadmin.c \
|
|
|
|
load.c \
|
|
|
|
mod.c \
|
|
|
|
rename.c \
|
2008-05-07 13:39:42 +00:00
|
|
|
stash.c \
|
2000-01-09 20:58:00 +00:00
|
|
|
util.c \
|
2008-05-07 13:39:42 +00:00
|
|
|
pw_quality.c \
|
2000-01-09 20:58:00 +00:00
|
|
|
random_password.c \
|
|
|
|
kadmin_locl.h
|
|
|
|
|
2008-05-07 13:39:42 +00:00
|
|
|
nodist_kadmin_SOURCES = \
|
|
|
|
kadmin-commands.c \
|
|
|
|
kadmin-commands.h
|
|
|
|
|
|
|
|
$(kadmin_OBJECTS): kadmin-commands.h
|
|
|
|
|
|
|
|
CLEANFILES = kadmin-commands.h kadmin-commands.c
|
|
|
|
|
|
|
|
kadmin-commands.c kadmin-commands.h: kadmin-commands.in
|
|
|
|
$(SLC) $(srcdir)/kadmin-commands.in
|
2000-01-09 20:58:00 +00:00
|
|
|
|
2001-02-13 16:46:19 +00:00
|
|
|
kadmind_SOURCES = \
|
|
|
|
kadmind.c \
|
|
|
|
server.c \
|
|
|
|
kadmin_locl.h \
|
|
|
|
$(version4_c) \
|
|
|
|
kadm_conn.c
|
2000-01-09 20:58:00 +00:00
|
|
|
|
2001-02-13 16:46:19 +00:00
|
|
|
add_random_users_SOURCES = add-random-users.c
|
|
|
|
|
2008-05-07 13:39:42 +00:00
|
|
|
test_util_SOURCES = test_util.c util.c
|
|
|
|
|
|
|
|
TESTS = test_util
|
|
|
|
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
|
2002-02-19 15:46:56 +00:00
|
|
|
LDADD_common = \
|
2000-01-09 20:58:00 +00:00
|
|
|
$(top_builddir)/lib/hdb/libhdb.la \
|
2001-02-13 16:46:19 +00:00
|
|
|
$(LIB_openldap) \
|
2000-01-09 20:58:00 +00:00
|
|
|
$(top_builddir)/lib/krb5/libkrb5.la \
|
2008-05-07 13:39:42 +00:00
|
|
|
$(LIB_hcrypto) \
|
2000-01-09 20:58:00 +00:00
|
|
|
$(top_builddir)/lib/asn1/libasn1.la \
|
|
|
|
$(LIB_roken) \
|
|
|
|
$(DBLIB)
|
|
|
|
|
2008-05-07 13:39:42 +00:00
|
|
|
kadmind_LDADD = $(top_builddir)/lib/kadm5/libkadm5srv.la \
|
2002-02-19 15:46:56 +00:00
|
|
|
$(LDADD_common) \
|
2001-02-13 16:46:19 +00:00
|
|
|
$(LIB_pidfile) \
|
2000-01-09 20:58:00 +00:00
|
|
|
$(LIB_dlopen)
|
|
|
|
|
|
|
|
kadmin_LDADD = \
|
|
|
|
$(top_builddir)/lib/kadm5/libkadm5clnt.la \
|
|
|
|
$(top_builddir)/lib/kadm5/libkadm5srv.la \
|
|
|
|
$(top_builddir)/lib/sl/libsl.la \
|
|
|
|
$(LIB_readline) \
|
2002-02-19 15:46:56 +00:00
|
|
|
$(LDADD_common) \
|
2000-01-09 20:58:00 +00:00
|
|
|
$(LIB_dlopen)
|
2001-02-13 16:46:19 +00:00
|
|
|
|
|
|
|
add_random_users_LDADD = \
|
|
|
|
$(top_builddir)/lib/kadm5/libkadm5clnt.la \
|
|
|
|
$(top_builddir)/lib/kadm5/libkadm5srv.la \
|
2002-02-19 15:46:56 +00:00
|
|
|
$(LDADD_common) \
|
2001-02-13 16:46:19 +00:00
|
|
|
$(LIB_dlopen)
|
2008-05-07 13:39:42 +00:00
|
|
|
|
|
|
|
test_util_LDADD = $(kadmin_LDADD)
|
|
|
|
|
|
|
|
EXTRA_DIST = $(man_MANS) kadmin-commands.in
|