Use mkg3states from x11/tools.

This commit is contained in:
rtr 2003-12-20 12:56:24 +00:00
parent 8b6c9e129e
commit 7dc2749ff7

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2003/12/20 01:27:06 rtr Exp $
# $NetBSD: Makefile,v 1.2 2003/12/20 12:56:24 rtr Exp $
.include "../Makefile.serverlib"
@ -20,5 +20,16 @@ CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 \
-I${X11SRCDIR.xc}/programs/Xserver/include \
-I.
MKG3STATESDIR!= cd ${NETBSDSRCDIR}/x11/tools/mkg3states && ${PRINTOBJDIR}
MKG3STATES= ${MKG3STATESDIR}/mkg3states
g3states.h:
${_MKTARGET_CREATE}
rm -f ${.TARGET}
${MKG3STATES} > ${.TARGET}
CLEANFILES+= g3states.h
dfaxg42d.c: g3states.h
.include <bsd.x11.mk>
.include <bsd.lib.mk>