makestrs is used to generate files for the "includes" path, so it can't

rely upon ${DESTDIR}${X11INCDIR} being populated.
Fixes problem observed using make -j.
This commit is contained in:
lukem 2004-02-08 21:52:30 +00:00
parent f38d4e7c68
commit add50bbb4c
1 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2004/02/07 04:02:01 rtr Exp $
# $NetBSD: Makefile,v 1.2 2004/02/08 21:52:30 lukem Exp $
NOMAN= 1
@ -7,6 +7,12 @@ NOMAN= 1
.PATH: ${X11SRCDIR.xc}/config/util
HOSTPROG= makestrs
HOST_CPPFLAGS+= -I${DESTDIR}${X11INCDIR}
HOST_CPPFLAGS+= -I.
# Can't use -I${DESTDIR}${X11INCDIR} since pswrap is needed
# to create some header files.
#
BUILDSYMLINKS= ${X11SRCDIR.xc}/include X11
DPSRCS+= X11
.include <bsd.hostprog.mk>