xref: /freebsd/crypto/heimdal/tools/Makefile.am (revision 5e9cd1ae3e10592ed70e7575551cba1bbab04d84)
1# $Id: Makefile.am,v 1.5 2001/01/29 06:56:33 assar 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,@LIB_des_appl\@,$(LIB_des_appl),g" \
23		-e "s,@LIBS\@,$(LIBS),g" \
24		$(srcdir)/krb5-config.in > $@
25	chmod +x $@
26