blob: 46d9623580b3a8ff9c9fe171e3e1f00a7ed4c0be (
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
|
# $FreeBSD$
LIB= vers
SRCS= \
print_version.c \
${.OBJDIR}/print_version.h
CFLAGS+=-I${KRB5DIR}/include \
-I${ROKENOBJDIR} \
-I${KRB5DIR}/lib/roken \
-I${.OBJDIR}
INTERNALLIB= YES
.include <bsd.lib.mk>
.PATH: ${KRB5DIR}/lib/vers
build-tools: make-print-version
${.OBJDIR}/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
|