Makefile revision 82377
1# $FreeBSD: head/kerberos5/usr.bin/krb5-config/Makefile 82377 2001-08-27 00:08:53Z assar $
2
3srcdir=		${KRB5DIR}/tools
4
5MAN1=		krb5-config.1
6
7all:		krb5-config
8
9CLEANFILES+=	krb5-config
10
11beforeinstall:
12	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} krb5-config \
13	    ${DESTDIR}${BINDIR}/krb5-config
14
15krb5-config: krb5-config.in
16	sed	-e "s,@PACKAGE\@,FreeBSD heimdal,g" \
17		-e "s,@VERSION\@,0.3f,g" \
18		-e "s,@prefix\@,/,g" \
19		-e "s,@exec_prefix\@,/,g" \
20		-e "s,@libdir\@,$(LIBDIR),g" \
21		-e "s,@includedir\@,$(INCDIR),g" \
22		-e "s,@LIB_crypt\@,,g" \
23		-e "s,@LIB_dbopen\@,,g" \
24		-e "s,@LIB_des_appl\@,-lcrypto,g" \
25		-e "s,@LIBS\@,,g" \
26		$(srcdir)/krb5-config.in > $@
27	chmod +x $@
28
29.include <bsd.prog.mk>
30
31.PATH:	${KRB5DIR}/tools
32