Makefile.gnuwrap revision 1.6
11.6Stv# $NetBSD: Makefile.gnuwrap,v 1.6 2001/11/13 06:03:41 tv Exp $ 21.1Stv# 31.1Stv# Wrapper for GNU Makefiles. 41.1Stv 51.6Stv.ifndef _WRAPPER_INCLUDED 61.6Stv_WRAPPER_INCLUDED=1 71.3Stv.ifndef _NOWRAPPER 81.1Stv.include "${.CURDIR}/Makefile" 91.3Stv.endif 101.1Stv 111.1Stv# Prevent targets in source directories from being rebuilt. 121.1Stv 131.1Stv_srcdir:= ${srcdir} 141.4Stv.MADE: ${.ALLTARGETS:M${_srcdir}/*} Makefile 151.1Stv 161.1Stv# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree). 171.1Stv.po.gmo .l.c .y.c .y.h: 181.2Stv 191.2Stv# Make sure this file gets re-loaded recursively. 201.3Stv.ifndef _NOWRAPPER 211.2Stv_GNUWRAPPER:= ${.PARSEDIR}/${.PARSEFILE} 221.2StvMAKE:= ${MAKE} -f ${_GNUWRAPPER} 231.6Stv.endif 241.3Stv.endif 25