2008-09-03 11:12:28 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 2008/09/03 07:12:28 lukem Exp $
|
2000-08-03 07:53:35 +04:00
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
NOLINKLIB= # defined
|
|
|
|
NOPIC= # defined
|
|
|
|
NOPROFILE= # defined
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
2001-12-12 03:51:00 +03:00
|
|
|
.PATH: ${DIST}/heimdal/lib/vers
|
2000-08-03 07:53:35 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
LIB= vers
|
2000-08-04 02:48:46 +04:00
|
|
|
|
2000-08-03 07:53:35 +04:00
|
|
|
includes: print_version.h
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
SRCS= print_version.c
|
|
|
|
DPSRCS= print_version.h
|
2000-08-03 07:53:35 +04:00
|
|
|
|
|
|
|
CPPFLAGS+= -I. \
|
2002-08-19 13:41:27 +04:00
|
|
|
-I${NETBSDSRCDIR}/include/heimdal \
|
2000-08-03 07:53:35 +04:00
|
|
|
-I${DIST}/heimdal/lib/roken \
|
|
|
|
-DHAVE_CONFIG_H
|
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
HOST_CPPFLAGS+= -I${NETBSDSRCDIR}/include/heimdal -DHAVE_CONFIG_H
|
2000-08-03 07:53:35 +04:00
|
|
|
|
2005-01-10 06:11:17 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
|
|
|
CPPFLAGS+=-DHAVE_IPV6
|
|
|
|
HOST_CPPFLAGS+=-DHAVE_IPV6
|
|
|
|
.endif
|
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
make-print-version.lo: ${NETBSDSRCDIR}/include/heimdal/version.h
|
2000-08-03 07:53:35 +04:00
|
|
|
|
|
|
|
make-print-version: make-print-version.lo
|
|
|
|
${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC}
|
|
|
|
|
|
|
|
print_version.h: make-print-version
|
2008-09-03 11:12:28 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2000-08-03 07:53:35 +04:00
|
|
|
./make-print-version print_version.h
|
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
print_version.o print_version.ln: print_version.h
|
2000-08-03 07:53:35 +04:00
|
|
|
|
2001-12-12 03:51:00 +03:00
|
|
|
CLEANFILES+= print_version.h make-print-version make-print-version.lo
|
2000-08-03 07:53:35 +04:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|