xref: /freebsd/kerberos5/usr.bin/krb5-config/Makefile (revision 193d9e768ba63fcfb187cfd17f461f7d41345048)
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\@,1.1.0,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_hcrypto_appl\@,-lcrypto,g" \
18	    -e "s,@LIB_pkinit\@,-lhx509,g" \
19	    -e "s,@LIB_dlopen\@,,g" \
20	    -e "s,@LIB_door_create\@,,g" \
21	    -e "s,@PTHREAD_LIBADD\@,-pthread,g" \
22	    -e "s,@LIBS\@,,g" \
23	    -e "s,@INCLUDE_hcrypto@,,g" \
24	    ${.ALLSRC} > ${.TARGET}
25
26.include <bsd.prog.mk>
27
28.PATH: ${KRB5DIR}/tools
29