1 # $NetBSD: Makefile,v 1.2 2003/09/13 20:18:22 lukem Exp $
6 SRCS
= xkbcomp.c xkbscan.c expr.c vmod.c indicators.c misc.c \
7 keymap.c keycodes.c keytypes.c compat.c action.c alias.c \
8 symbols.c geometry.c xkbpath.c listing.c \
9 xkbparse.y parseutils.c utils.c
11 CPPFLAGS
+= -I
${X11SRCDIR.xc
}/programs
/${PROG}
12 CPPFLAGS.xkbpath.c
= -DDFLT_XKB_CONFIG_ROOT
=\"${X11LIBDIR}/xkb
\"
13 CPPFLAGS.geometry.c
= -Wno-error
# XXX
15 FILESDIR
=${X11LIBDIR}/xkb
16 FILES
= README README.config README.enhancing
18 SYMLINKS
+=${BINDIR}/xkbcomp
${X11LIBDIR}/xkb
/xkbcomp
20 SUBDIR
= compat geometry keycodes keymap semantics symbols types compiled rules
22 LDADD
+= -lxkbfile
-lXext
-lX11
23 DPADD
+= ${LIBXKBFILE} ${LIBXEXT} ${LIBX11}
25 .PATH
: ${X11SRCDIR.xc
}/programs
/${PROG}
28 .
include <bsd.prog.mk
>
29 .
include <bsd.subdir.mk
>