Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / tools / makekeys / Makefile.makekeys
blob087a35be6030b6b3addaf6d03eab1d64847721de
1 #       $NetBSD: Makefile.makekeys,v 1.2 2003/11/08 13:57:30 lukem Exp $
3 MAKEKEYSDIR!=   cd ${NETBSDSRCDIR}/external/mit/xorg/tools/makekeys && ${PRINTOBJDIR}
4 MAKEKEYS=       ${MAKEKEYSDIR}/makekeys
6 ${MAKEKEYS}:
7         (cd ${NETBSDSRCDIR}/external/mit/xorg/tools/makekeys && ${MAKE})
9 DPSRCS+=        ks_tables.h
10 CLEANFILES+=    ks_tables.h
12 KSDEF=  ${DESTDIR}${X11INCDIR}/X11/keysymdef.h
14 ks_tables.h: ${MAKEKEYS} ${KSDEF}
15         ${_MKTARGET_CREATE}
16         rm -f ${.TARGET}
17         ${MAKEKEYS} < ${KSDEF} > ${.TARGET}