x
[heimdal.git] / admin / Makefile.am
blobdf312014d5f75db832f644be250a1e64ce56251c
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AM_CPPFLAGS += $(INCLUDE_readline) $(INCLUDE_hcrypto)
7 SLC = $(top_builddir)/lib/sl/slc
9 man_MANS = ktutil.8
11 sbin_PROGRAMS = ktutil
13 dist_ktutil_SOURCES =                           \
14         add.c                                   \
15         change.c                                \
16         copy.c                                  \
17         get.c                                   \
18         ktutil.c                                \
19         ktutil_locl.h                           \
20         list.c                                  \
21         purge.c                                 \
22         remove.c                                \
23         rename.c
25 nodist_ktutil_SOURCES =                         \
26         ktutil-commands.c
28 $(ktutil_OBJECTS): ktutil-commands.h
30 CLEANFILES = ktutil-commands.h ktutil-commands.c
32 ktutil-commands.c ktutil-commands.h: ktutil-commands.in
33         $(SLC) $(srcdir)/ktutil-commands.in
35 LDADD = \
36         $(top_builddir)/lib/kadm5/libkadm5clnt.la \
37         $(top_builddir)/lib/krb5/libkrb5.la \
38         $(LIB_hcrypto) \
39         $(top_builddir)/lib/asn1/libasn1.la \
40         $(top_builddir)/lib/sl/libsl.la \
41         $(LIB_readline) \
42         $(LIB_roken)
44 EXTRA_DIST = $(man_MANS) ktutil-commands.in