add compat glue

This commit is contained in:
christos 2009-05-08 17:53:59 +00:00
parent 54f4998513
commit 8ee7d2207a

35
compat/external/bsd/file/lib/Makefile vendored Normal file
View File

@ -0,0 +1,35 @@
# $NetBSD: Makefile,v 1.1 2009/05/08 17:53:59 christos Exp $
NOLINT= # defined
NOMAN= # defined
NONLS= # defined
NOINFO= # defined
NOSHARE= # defined
LIBDPLIBS= z ${.CURDIR}/../../../../lib/libz
NOCHECKVER= # defined
.include <bsd.obj.mk>
# Resolve pathnames in variables.
_RESOLVE_VARS= CFLAGS CPPFLAGS DPADD LDADD LIBDPLIBS LIB_ROOT_DIR
.for var in ${_RESOLVE_VARS}
${var}:= ${${var}}
.endfor
_CURDIR:= ${.CURDIR}
.PATH: ${NETBSDSRCDIR}/external/bsd/file/lib
.CURDIR:=${NETBSDSRCDIR}/external/bsd/file/lib
.include "${NETBSDSRCDIR}/compat/Makefile.compat"
.include "${.CURDIR}/Makefile"
# Resolve pathnames from "real" Makefile, and switch .CURDIR back.
_RESOLVE_VARS= CFLAGS CPPFLAGS DPADD LDADD ARCHDIR COMPATDIR COMPATARCHDIR LIBCDIR RPC_INCS RPC_XDIR LIBEDITDIR MODOBJDIR RUMPTOP
.for var in ${_RESOLVE_VARS}
${var}:= ${${var}}
.endfor
.CURDIR:= ${_CURDIR}
.undef _CURDIR