summaryrefslogtreecommitdiffstats
path: root/third_party/heimdal/kadmin/Makefile.am
blob: d9b8fee1c65055a3cb1c281536321b45fd653e9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# $Id$

include $(top_srcdir)/Makefile.am.common

AM_CPPFLAGS += $(INCLUDE_libintl) $(INCLUDE_readline) -I$(srcdir)/../lib/krb5 -I$(top_builddir)/include/gssapi

bin_PROGRAMS = kadmin

libexec_PROGRAMS = kadmind

man_MANS = kadmin.1 kadmind.8

noinst_PROGRAMS = add_random_users

dist_kadmin_SOURCES =				\
	ank.c					\
	add_enctype.c				\
	check.c					\
	cpw.c					\
	del.c					\
	del_enctype.c				\
	dump.c					\
	ext.c					\
	get.c					\
	init.c					\
	kadmin.c				\
	load.c					\
	mod.c					\
	prune.c					\
	rename.c				\
	stash.c					\
	util.c					\
	pw_quality.c				\
	random_password.c			\
	kadmin_locl.h

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

kadmind_SOURCES =				\
	rpc.c					\
	server.c				\
	kadmind.c				\
	kadmin_locl.h				\
	kadm_conn.c

add_random_users_SOURCES = add-random-users.c

test_util_SOURCES = test_util.c util.c

TESTS = test_util

check_PROGRAMS = $(TESTS)

LDADD_common = \
	$(top_builddir)/lib/hdb/libhdb.la \
	$(top_builddir)/lib/krb5/libkrb5.la \
	$(LIB_hcrypto) \
	$(top_builddir)/lib/asn1/libasn1.la \
	$(LIB_roken) \
	$(DB3LIB) $(DB1LIB) $(LMDBLIB) $(NDBMLIB)

kadmind_LDADD = $(top_builddir)/lib/kadm5/libkadm5srv.la \
	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
	../lib/gssapi/libgssapi.la \
	$(LDADD_common) \
	$(LIB_pidfile) \
	$(LIB_dlopen)

kadmin_LDADD = \
	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
	$(top_builddir)/lib/kadm5/libkadm5srv.la \
	$(top_builddir)/lib/sl/libsl.la \
	$(LIB_readline) \
	$(LDADD_common) \
	$(LIB_dlopen)

add_random_users_LDADD = \
	$(top_builddir)/lib/kadm5/libkadm5clnt.la \
	$(top_builddir)/lib/kadm5/libkadm5srv.la \
	$(LDADD_common) \
	$(LIB_dlopen)

test_util_LDADD = $(kadmin_LDADD)

EXTRA_DIST = \
	NTMakefile \
	kadmin-version.rc \
	kadmind-version.rc \
	$(man_MANS) \
	kadmin-commands.in