1 # $NetBSD: Makefile,v 1.4 2009/09/25 06:07:06 mrg Exp $
4 .
include "Makefile.common"
7 SRCS
= xkbcomp.c xkbscan.c expr.c vmod.c indicators.c misc.c \
8 keymap.c keycodes.c keytypes.c compat.c action.c alias.c \
9 symbols.c geometry.c xkbpath.c listing.c \
10 xkbparse.y parseutils.c utils.c
12 CPPFLAGS.xkbpath.c
= -DDFLT_XKB_CONFIG_ROOT
=\"${XKBCOMPDIR}\"
14 CPPFLAGS
+= -I
${X11SRCDIR.
${PROG}} -I
${X11SRCDIR.
${PROG}}/..
/include -DHAVE_CONFIG_H
15 CPPFLAGS.geometry.c
= -Wno-error
# XXX
17 FILESDIR
=${X11LIBDIR}/xkb
18 FILES
= README README.config README.enhancing
20 SYMLINKS
+= ${BINDIR}/xkbcomp
${X11LIBDIR}/xkb
/xkbcomp
21 SYMLINKS
+= ${XKBCOMPDIR} ${X11LIBDIR}/xkb
/compiled
23 LDADD
+= -lxkbfile
-lXext
-lX11
24 DPADD
+= ${LIBXKBFILE} ${LIBXEXT} ${LIBX11}
26 .PATH
: ${X11SRCDIR.
${PROG}}
29 .
include <bsd.prog.mk
>