069b88eb3a
without "make depend" works, "make -j N" works, and lists of source files are made vertical to reduce future diffs.
29 lines
506 B
Makefile
29 lines
506 B
Makefile
# $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
|