NetBSD/x11/bin/xkbcomp/Makefile.xkbcomp

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