Makefile.gnuwrap revision 1.7
11.7Stv# $NetBSD: Makefile.gnuwrap,v 1.7 2001/11/14 20:05:23 tv Exp $ 21.1Stv# 31.1Stv# Wrapper for GNU Makefiles. 41.1Stv 51.6Stv.ifndef _WRAPPER_INCLUDED 61.6Stv_WRAPPER_INCLUDED=1 71.7Stv 81.3Stv.ifndef _NOWRAPPER 91.1Stv.include "${.CURDIR}/Makefile" 101.3Stv.endif 111.1Stv 121.1Stv# Prevent targets in source directories from being rebuilt. 131.1Stv 141.1Stv_srcdir:= ${srcdir} 151.4Stv.MADE: ${.ALLTARGETS:M${_srcdir}/*} Makefile 161.1Stv 171.1Stv# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree). 181.7Stv.po.gmo .l.c .y.c .y.h .x.1: 191.2Stv 201.2Stv# Make sure this file gets re-loaded recursively. 211.3Stv.ifndef _NOWRAPPER 221.2Stv_GNUWRAPPER:= ${.PARSEDIR}/${.PARSEFILE} 231.2StvMAKE:= ${MAKE} -f ${_GNUWRAPPER} 241.6Stv.endif 251.3Stv.endif 26