NetBSD/x11/bin/xkbcomp/Makefile.xkbcomp
lukem d8b3c89d68 consistently provide a tools/<tool>/Makefile.<tool> for inclusion
wherever the appropriate definitions are used throughout the tree
2004-02-09 04:30:05 +00:00

25 lines
541 B
Makefile

# $NetBSD: Makefile.xkbcomp,v 1.3 2004/02/09 04:30:05 lukem Exp $
XKBDISTDIR= ${X11SRCDIR.xc}/programs/xkbcomp/${XKBNAME}
.PATH: ${XKBDISTDIR}
FILESDIR= ${X11LIBDIR}/xkb/${XKBNAME}
.if defined(XKBDIR) # {
FILES+= ${XKBNAME}.dir
FILESDIR_${XKBNAME}.dir=${X11LIBDIR}/xkb
CLEANFILES+= ${XKBNAME}.dir
.include "${NETBSDSRCDIR}/x11/tools/xkbcomp/Makefile.xkbcomp"
${XKBNAME}.dir:
${_MKTARGET_CREATE}
rm -f ${.TARGET}
(cd ${XKBDISTDIR} && ${XKBCOMP} -lfhlpR -o ${.OBJDIR}/${.TARGET} '*')
realall: ${FILES}
.endif # }