[BACK]Return to Makefile.gnuwrap CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / tools

File: [cvs.NetBSD.org] / src / tools / Makefile.gnuwrap (download)

Revision 1.8, Thu Nov 22 08:20:07 2001 UTC (22 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, fvdl_fs64_base
Changes since 1.7: +2 -1 lines

Make the null rule execute something so make is appeased if the .y file is
newer than the checked in .c file. Otherwise make errors out.

#	$NetBSD: Makefile.gnuwrap,v 1.8 2001/11/22 08:20:07 jmc Exp $
#
# Wrapper for GNU Makefiles.

.ifndef _WRAPPER_INCLUDED
_WRAPPER_INCLUDED=1

.ifndef _NOWRAPPER
.include "${.CURDIR}/Makefile"
.endif

# Prevent targets in source directories from being rebuilt.

_srcdir:=	${srcdir}
.MADE:		${.ALLTARGETS:M${_srcdir}/*} Makefile

# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree).
.po.gmo .l.c .y.c .y.h .x.1:
	@true

# Make sure this file gets re-loaded recursively.
.ifndef _NOWRAPPER
_GNUWRAPPER:=	${.PARSEDIR}/${.PARSEFILE}
MAKE:=		${MAKE} -f ${_GNUWRAPPER}
.endif
.endif