Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / tools / xkbcomp / Makefile
blobfcd2a38391034f61c6c8eae6799c6b276a736ffc
1 # $NetBSD: Makefile,v 1.4 2013/05/31 23:43:05 mrg Exp $
3 NOMAN= 1
5 .include <bsd.own.mk>
7 HOSTPROG= xkbcomp
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 \
20 cout.c xkmout.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 \
27 XKBGeom.c XKBRdBuf.c
29 HOST_CPPFLAGS+= -I${DESTDIR}${X11INCDIR} \
30 -I${DESTDIR}${X11INCDIR}/X11 \
31 -I. \
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"
44 .include <bsd.x11.mk>
45 .include <bsd.hostprog.mk>