diff options
Diffstat (limited to 'kerberos5/lib/libvers/Makefile')
-rw-r--r-- | kerberos5/lib/libvers/Makefile | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/kerberos5/lib/libvers/Makefile b/kerberos5/lib/libvers/Makefile index 46d9623..73c877a 100644 --- a/kerberos5/lib/libvers/Makefile +++ b/kerberos5/lib/libvers/Makefile @@ -4,25 +4,20 @@ LIB= vers SRCS= \ print_version.c \ - ${.OBJDIR}/print_version.h + print_version.h -CFLAGS+=-I${KRB5DIR}/include \ - -I${ROKENOBJDIR} \ - -I${KRB5DIR}/lib/roken \ - -I${.OBJDIR} +CFLAGS+=-I. INTERNALLIB= YES -.include <bsd.lib.mk> - -.PATH: ${KRB5DIR}/lib/vers +print_version.h: ../../tools/make-print-version/make-print-version + ../../tools/make-print-version/make-print-version ${.TARGET} -build-tools: make-print-version +../../tools/make-print-version/make-print-version: + cd ${.CURDIR}/../../tools/make-print-version && ${MAKE} -${.OBJDIR}/print_version.h: make-print-version - ./make-print-version print_version.h +CLEANFILES= print_version.h -make-print-version: make-print-version.c - ${CC} ${CFLAGS} -static -o ${.TARGET} ${.OODATE} +.include <bsd.lib.mk> -CLEANFILES+= make-print-version print_version.h +.PATH: ${KRB5DIR}/lib/vers |