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