Re add ${MAKESTRS} and ${GENMATYPES} targets with updated paths into objdir.

This commit is contained in:
rtr 2004-02-07 05:47:19 +00:00
parent cb53a4d3d5
commit 81ec90969f
2 changed files with 10 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2004/02/07 04:19:29 rtr Exp $
# $NetBSD: Makefile,v 1.9 2004/02/07 05:47:19 rtr Exp $
NOLINT= 1 # XTODO: 3dnow.ln barfs on src/math/m_vertices.h
@ -74,7 +74,10 @@ AFLAGS+= -DUSE_GAS -I. -I${X11SRCDIR.xc}/extras/Mesa/src/SPARC
GENMATYPESDIR!= cd ${NETBSDSRCDIR}/x11/tools/gen_matypes && ${PRINTOBJDIR}
GENMATYPES= ${GENMATYPESDIR}/gen_matypes
matypes.h:
${GENMATYPES}:
(cd ${NETBSDSRCDIR}/x11/tools/gen_matypes && ${MAKE})
matypes.h: ${GENMATYPES}
${_MKTARGET_CREATE}
rm -f ${.TARGET}
${GENMATYPES} > ${.TARGET}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2004/02/07 04:15:33 rtr Exp $
# $NetBSD: Makefile,v 1.7 2004/02/07 05:47:19 rtr Exp $
.include <bsd.own.mk>
@ -35,11 +35,14 @@ DPADD+= ${LIBX11} ${LIBSM} ${LIBICE}
MAKESTRSDIR!= cd ${NETBSDSRCDIR}/x11/tools/makestrs && ${PRINTOBJDIR}
MAKESTRS= ${MAKESTRSDIR}/makestrs
${MAKESTRS}:
(cd ${NETBSDSRCDIR}/x11/tools/makestrs && ${MAKE})
STRINGS_FILES= StringDefs.c StringDefs.h Shell.h
STRINGS_TMPLS= util/StrDefs.ct util/StrDefs.ht util/Shell.ht
STRINGS_LIST= util/string.list
${STRINGS_FILES}: ${STRINGS_LIST} ${STRINGS_TMPLS}
${STRINGS_FILES}: ${MAKESTRS} ${STRINGS_LIST} ${STRINGS_TMPLS}
${_MKTARGET_CREATE}
rm -f ${.TARGET} util
ln -s ${X11SRCDIR.xc}/lib/${LIB}/util util