]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - crypto/heimdal/tools/Makefile.am
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / crypto / heimdal / tools / Makefile.am
1 # $Id$
2
3 include $(top_srcdir)/Makefile.am.common
4
5 bin_SCRIPTS = krb5-config
6
7 pkgconfigdir = $(libdir)/pkgconfig
8
9 pkgconfig_DATA = heimdal-gssapi.pc
10
11 man_MANS = krb5-config.1
12
13 if PKINIT
14 LIB_pkinit = -lhx509
15 endif
16
17 subst = sed     -e "s!@PACKAGE\@!$(PACKAGE)!g" \
18                 -e "s!@VERSION\@!$(VERSION)!g" \
19                 -e "s!@prefix\@!$(prefix)!g" \
20                 -e "s!@exec_prefix\@!$(exec_prefix)!g" \
21                 -e "s!@libdir\@!$(libdir)!g" \
22                 -e "s!@includedir\@!$(includedir)!g" \
23                 -e "s!@PTHREAD_LIBADD\@!$(PTHREAD_LIBADD)!g" \
24                 -e "s!@LIB_crypt\@!$(LIB_crypt)!g" \
25                 -e "s!@LIB_dbopen\@!$(LIB_dbopen)!g" \
26                 -e "s!@INCLUDE_hcrypto\@!$(INCLUDE_hcrypto)!g" \
27                 -e "s!@LIB_hcrypto_appl\@!$(LIB_hcrypto_appl)!g" \
28                 -e "s!@LIB_dlopen\@!$(LIB_dlopen)!g" \
29                 -e "s!@LIB_door_create\@!$(LIB_door_create)!g" \
30                 -e "s!@LIB_pkinit\@!$(LIB_pkinit)!g" \
31                 -e "s!@LIBS\@!$(LIBS)!g"
32
33 krb5-config: krb5-config.in
34         $(subst) $(srcdir)/krb5-config.in > $@.new
35         mv $@.new $@
36         chmod +x $@
37
38 heimdal-gssapi.pc: heimdal-gssapi.pc.in
39         $(subst) $(srcdir)/heimdal-gssapi.pc.in > $@.new
40         mv $@.new $@
41
42 EXTRA_DIST = \
43         NTMakefile \
44         $(man_MANS) \
45         krb5-config.in \
46         heimdal-gssapi.pc.in \
47         kdc-log-analyze.pl
48
49 CLEANFILES = \
50         krb5-config \
51         krb5-config.new \
52         heimdal-gssapi.pc \
53         heimdal-gssapi.pc.new
54