Makefile.gnuwrap revision 1.8
1# $NetBSD: Makefile.gnuwrap,v 1.8 2001/11/22 08:20:07 jmc Exp $ 2# 3# Wrapper for GNU Makefiles. 4 5.ifndef _WRAPPER_INCLUDED 6_WRAPPER_INCLUDED=1 7 8.ifndef _NOWRAPPER 9.include "${.CURDIR}/Makefile" 10.endif 11 12# Prevent targets in source directories from being rebuilt. 13 14_srcdir:= ${srcdir} 15.MADE: ${.ALLTARGETS:M${_srcdir}/*} Makefile 16 17# Don't rebuild .gmo files, or lex/yacc (which GNU puts in the source tree). 18.po.gmo .l.c .y.c .y.h .x.1: 19 @true 20 21# Make sure this file gets re-loaded recursively. 22.ifndef _NOWRAPPER 23_GNUWRAPPER:= ${.PARSEDIR}/${.PARSEFILE} 24MAKE:= ${MAKE} -f ${_GNUWRAPPER} 25.endif 26.endif 27