kcm,kdc/config.c: detect too big max_request sizes (>= 64 MB)
[heimdal.git] / tools / Makefile.am
blob7c50e464058d867cbc9c54c279dd42c2d334b274
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 bin_SCRIPTS = krb5-config
7 pkgconfigdir = $(libdir)/pkgconfig
9 pkgconfig_DATA = \
10         heimdal-gssapi.pc \
11         heimdal-krb5.pc \
12         heimdal-kadm-client.pc \
13         heimdal-kadm-server.pc \
14         kafs.pc \
15         kadm-client.pc \
16         kadm-server.pc \
17         krb5.pc \
18         krb5-gssapi.pc
20 man_MANS = krb5-config.1
22 if PKINIT
23 LIB_pkinit = -lhx509
24 endif
26 subst = sed     -e "s!@PACKAGE\@!$(PACKAGE)!g" \
27                 -e "s!@VERSION\@!$(VERSION)!g" \
28                 -e "s!@CANONICAL_HOST\@!$(CANONICAL_HOST)!g" \
29                 -e "s!@prefix\@!$(prefix)!g" \
30                 -e "s!@exec_prefix\@!$(exec_prefix)!g" \
31                 -e "s!@libdir\@!$(libdir)!g" \
32                 -e "s!@includedir\@!$(includedir)!g" \
33                 -e "s!@PTHREAD_LIBADD\@!$(PTHREAD_LIBADD)!g" \
34                 -e "s!@LIB_crypt\@!$(LIB_crypt)!g" \
35                 -e "s!@LIB_dbopen\@!$(LIB_dbopen)!g" \
36                 -e "s!@LIB_hcrypto_appl\@!$(LIB_hcrypto_appl)!g" \
37                 -e "s!@LIB_dlopen\@!$(LIB_dlopen)!g" \
38                 -e "s!@LIB_door_create\@!$(LIB_door_create)!g" \
39                 -e "s!@LIB_pkinit\@!$(LIB_pkinit)!g" \
40                 -e "s!@LIBS\@!$(LIBS)!g"
42 krb5-config: krb5-config.in
43         $(subst) $(srcdir)/krb5-config.in | /bin/sh > $@.new
44         mv $@.new $@
45         chmod +x $@
47 .pc.in.pc:
48         $(subst) $< > $@.new
49         mv $@.new $@
51 EXTRA_DIST = \
52         NTMakefile \
53         cov.sh \
54         $(man_MANS) \
55         krb5-config.in \
56         heimdal-gssapi.pc.in \
57         kdc-log-analyze.pl \
58         $(pkgconfig_DATA:.pc=.pc.in)
60 CLEANFILES = \
61         krb5-config \
62         krb5-config.new \
63         $(pkgconfig_DATA) \
64         $(pkgconfig_DATA:.pc=.pc.new)