xref: /freebsd/crypto/heimdal/tools/Makefile.am (revision 9336e0699bda8a301cd2bfa37106b6ec5e32012e)
1# $Id: Makefile.am,v 1.6 2002/09/09 22:29:26 joda Exp $
2
3include $(top_srcdir)/Makefile.am.common
4
5EXTRA_DIST = krb5-config.1
6
7CLEANFILES = krb5-config
8
9bin_SCRIPTS = krb5-config
10
11man_MANS = krb5-config.1
12
13krb5-config: krb5-config.in
14	sed	-e "s,@PACKAGE\@,$(PACKAGE),g" \
15		-e "s,@VERSION\@,$(VERSION),g" \
16		-e "s,@prefix\@,$(prefix),g" \
17		-e "s,@exec_prefix\@,$(exec_prefix),g" \
18		-e "s,@libdir\@,$(libdir),g" \
19		-e "s,@includedir\@,$(includedir),g" \
20		-e "s,@LIB_crypt\@,$(LIB_crypt),g" \
21		-e "s,@LIB_dbopen\@,$(LIB_dbopen),g" \
22		-e "s,@INCLUDE_des\@,$(INCLUDE_des),g" \
23		-e "s,@LIB_des_appl\@,$(LIB_des_appl),g" \
24		-e "s,@LIBS\@,$(LIBS),g" \
25		$(srcdir)/krb5-config.in > $@
26	chmod +x $@
27