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