1 # $NetBSD: Makefile,v 1.4 2013/05/31 23:43:05 mrg Exp $
8 .PATH
: ${X11SRCDIR.xkbcomp
}
9 .PATH
: ${X11SRCDIR.X11
}/src
11 SRCS
= xkbcomp.c xkbscan.c expr.c vmod.c indicators.c misc.c \
12 keymap.c keycodes.c keytypes.c compat.c action.c alias.c \
13 symbols.c geometry.c xkbpath.c listing.c \
14 xkbparse.y parseutils.c utils.c
16 SRCS
+= xkbcomp-stubs.c xkbcomp-KeyBind.c
18 .PATH
: ${X11SRCDIR.xkbfile
}/src
19 SRCS
+= xkbatom.c xkberrs.c xkbout.c xkmread.c xkbtext.c \
22 SRCS
+= xkbfile-xkbmisc.c
24 .PATH
: ${X11SRCDIR.X11
}/src
/xkb
25 SRCS
+= KeysymStr.c StrKeysym.c Quarks.c Xrm.c
26 SRCS
+= XKB.c XKBAlloc.c XKBGAlloc.c XKBMAlloc.c XKBMisc.c \
29 HOST_CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR} \
30 -I
${DESTDIR}${X11INCDIR}/X11 \
32 -I
${X11SRCDIR.X11
}/src \
33 -I
${X11SRCDIR.X11
}/src
/xkb \
34 -I
${X11SRCDIR.xkbfile
}/include/X11
/extensions \
35 -I
${X11SRCDIR.
${HOSTPROG}} \
36 -DDFLT_XKB_CONFIG_ROOT
=\"${X11LIBDIR}/xkb
\" -DXKB \
37 -DHAVE_STRCASECMP
-DHAVE_STRDUP \
38 -DPACKAGE_STRING
="\"NetBSD tool xkbcomp 1.2.4\"" \
39 -DPACKAGE_VERSION
="\"1.2.4\""
42 .
include "${NETBSDSRCDIR}/external/mit/xorg/tools/makekeys/Makefile.makekeys"
45 .
include <bsd.hostprog.mk
>