NetBSD/external/mit/xorg/lib/xkbdata/Makefile.xkbdata
mrg 2980e352a1 initial import of the crossbuild framework for modular Xorg. this
is heavily based upon the work rtr@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
2008-07-29 05:01:21 +00:00

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 # }