83af20af5219b635214d42bfb21ff13315e6e77f
[dragonfly.git] / kerberos5 / usr.bin / krb5-config / Makefile
1 # $FreeBSD: src/kerberos5/usr.bin/krb5-config/Makefile,v 1.1.2.8 2002/12/01 17:45:32 nectar Exp $
2 # $DragonFly: src/kerberos5/usr.bin/krb5-config/Makefile,v 1.2 2003/06/17 04:26:18 dillon Exp $
3
4 SCRIPTS=        krb5-config
5 MAN=            krb5-config.1
6 CLEANFILES=     krb5-config
7
8 krb5-config: krb5-config.in
9         sed     -e "s,@PACKAGE\@,FreeBSD heimdal,g" \
10                 -e "s,@VERSION\@,0.5.1,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         chmod +x ${.TARGET}
22
23 .include <bsd.prog.mk>
24
25 .PATH:  ${KRB5DIR}/tools