mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 02:20:51 +01:00
30 lines
494 B
Makefile
30 lines
494 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= vers
|
|
|
|
CFLAGS+= -I${KRB5DIR}/include \
|
|
-I${ROKENOBJDIR} \
|
|
-I${KRB5DIR}/lib/roken \
|
|
-I${.OBJDIR}
|
|
|
|
SRCS= \
|
|
print_version.c
|
|
|
|
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
|