summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib/libvers/Makefile
blob: a3bc7266035f07ebcdccaed2f752d5bc4bf14e7a (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
31
32
33
34
# $FreeBSD$

LIB=		vers

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

SRCS=		\
		print_version.c	\
		print_version.h

install:

__initialized__:

.include "../../Makefile.inc"

.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