xref: /freebsd/kerberos5/usr.bin/krb5-config/Makefile (revision f0a7f80d659533fad329da9c50c615530aee8cda)
1# $FreeBSD$
2
3SCRIPTS=krb5-config
4
5MAN=	krb5-config.1
6
7CLEANFILES=	krb5-config
8
9krb5-config: krb5-config.in
10	sed	-e "s,@PACKAGE\@,FreeBSD heimdal,g"	\
11		-e "s,@VERSION\@,0.6,g"			\
12		-e "s,@prefix\@,/usr,g"			\
13		-e "s,@exec_prefix\@,/usr,g"		\
14		-e "s,@libdir\@,${LIBDIR},g"		\
15		-e "s,@includedir\@,${INCLUDEDIR},g"	\
16		-e "s,@LIB_crypt\@,-lcrypt,g"		\
17		-e "s,@LIB_dbopen\@,,g"			\
18		-e "s,@LIB_des_appl\@,-lcrypto,g"	\
19		-e "s,@LIBS\@,-lcom_err,g"		\
20		-e "s,@INCLUDE_des@,,g"			\
21		${.ALLSRC} > ${.TARGET}
22	chmod +x ${.TARGET}
23
24.include <bsd.prog.mk>
25
26.PATH:	${KRB5DIR}/tools
27