25 lines
545 B
Makefile
25 lines
545 B
Makefile
|
# $NetBSD: Makefile.xkbdata,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
|
||
|
|
||
|
XKBDISTDIR= ${X11SRCDIR.xkbdata}/${XKBNAME}
|
||
|
|
||
|
.PATH: ${XKBDISTDIR}
|
||
|
|
||
|
FILESDIR= ${X11LIBDIR}/xkb/${XKBNAME}
|
||
|
|
||
|
|
||
|
.if defined(XKBDIR) # {
|
||
|
FILES+= ${XKBNAME}.dir
|
||
|
FILESDIR_${XKBNAME}.dir=${X11LIBDIR}/xkb
|
||
|
CLEANFILES+= ${XKBNAME}.dir
|
||
|
|
||
|
.include "${NETBSDSRCDIR}/external/mit/xorg/tools/xkbcomp/Makefile.xkbcomp"
|
||
|
|
||
|
${XKBNAME}.dir:
|
||
|
${_MKTARGET_CREATE}
|
||
|
rm -f ${.TARGET}
|
||
|
(cd ${XKBDISTDIR} && ${XKBCOMP} -lfhlpR -o ${.OBJDIR}/${.TARGET} '*')
|
||
|
|
||
|
realall: ${FILES}
|
||
|
|
||
|
.endif # }
|