summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib/libvers/Makefile
blob: 6f31ea5e8d9d30c93aac0e357db27d452451af22 (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
# $FreeBSD$

LIB=		vers
INTERNALLIB=	YES
INTERNALSTATICLIB= YES
NOPIC=		YES

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

SRCS=		\
		print_version.c	\
		print_version.h

.include <bsd.lib.mk>

.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