NetBSD/compat/gnu/lib/crtstuff4/Makefile
mrg 560baaf0fe XXX: change .PATH: to .PATH.c: so that make does not find the
XXX: generated in non-compat dir tconfig.h.  as reported by
XXX: several folks.
2008-12-02 21:43:09 +00:00

35 lines
862 B
Makefile

# $NetBSD: Makefile,v 1.5 2008/12/02 21:43:09 mrg Exp $
NOLINT= # defined
NOMAN= # defined
NONLS= # defined
NOINFO= # defined
NOSHARE= # defined
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.c: ${NETBSDSRCDIR}/gnu/lib/crtstuff4
.CURDIR:=${NETBSDSRCDIR}/gnu/lib/crtstuff4
.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