35 lines
563 B
Makefile
35 lines
563 B
Makefile
# $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
|