summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib/libvers/Makefile
blob: 22a0c1bbda7e4ed22dd80033c31b2b081a32eba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $FreeBSD$

LIB=		vers

CFLAGS+=	-I${KRB5DIR}/include \
		-I${ROKENOBJDIR} \
		-I${KRB5DIR}/lib/roken \
		-I${.OBJDIR}

SRCS=		\
		print_version.c	\
		print_version.h

install:

.include <bsd.lib.mk>

beforedepend all:	print_version.h

.PATH:		${KRB5DIR}/lib/vers

build-tools:	make-print-version

print_version.h: make-print-version
	./make-print-version print_version.h

make-print-version: make-print-version.c
	${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE}

CLEANFILES+=	make-print-version print_version.h
OpenPOWER on IntegriCloud