1 # $NetBSD: Makefile,v 1.1 2011/04/13 19:16:56 elric Exp $ 2 3 NOLINKLIB= # defined 4 NOPIC= # defined 5 NOPROFILE= # defined 6 7 .include <bsd.own.mk> 8 .include <${.CURDIR}/../../Makefile.inc> 9 10 .PATH: ${HEIMDIST}/lib/vers 11 12 LIB= vers 13 14 includes: print_version.h 15 16 SRCS= print_version.c 17 DPSRCS= print_version.h 18 19 HOST_CPPFLAGS+= -I${NETBSDSRCDIR}/include/heimdal -DHAVE_CONFIG_H 20 21 make-print-version.lo: ${NETBSDSRCDIR}/include/heimdal/version.h 22 23 make-print-version: make-print-version.lo 24 ${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC} 25 26 print_version.h: make-print-version 27 ${_MKTARGET_CREATE} 28 ./make-print-version print_version.h 29 30 print_version.o print_version.ln: print_version.h 31 32 CLEANFILES+= print_version.h make-print-version make-print-version.lo 33 34 .include <${HEIMBASE}/Makefile.rules.inc> 35 .include <bsd.lib.mk> 36