1 # $NetBSD: Makefile,v 1.7 2004/03/06 03:31:08 rtr Exp $
3 .
include "../Makefile.serverlib"
6 .PATH
: ${X11SRCDIR.xc
}/programs
/Xserver
/xkb
7 .PATH
: ${X11SRCDIR.xc
}/lib
/X11
8 .PATH
: ${X11SRCDIR.xc
}/lib
/xkbfile
10 SRCS
= XKBAlloc.c XKBGAlloc.c XKBMAlloc.c XKBMisc.c ddxBeep.c \
11 ddxConfig.c ddxCtrls.c ddxDevBtn.c ddxFakeBtn.c ddxFakeMtn.c \
12 ddxInit.c ddxKeyClick.c ddxKillSrv.c ddxLEDs.c ddxList.c \
13 ddxLoad.c ddxPrivate.c ddxVT.c maprules.c xkb.c xkbAccessX.c \
14 xkbActions.c xkbEvents.c xkbInit.c xkbLEDs.c xkbPrKeyEv.c \
15 xkbPrOtherEv.c xkbSwap.c xkbUtils.c xkbconfig.c xkberrs.c \
16 xkbfmisc.c xkbout.c xkbtext.c xkmread.c
18 BUILDSYMLINKS
+= xkbmisc.c xkbfmisc.c
20 CPPFLAGS
+= -I
${X11SRCDIR.xc
}/programs
/Xserver
/include \
22 -I
${DESTDIR}${X11INCDIR}/X11 \
23 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
24 -I
${X11SRCDIR.xc
}/programs
/Xserver
/Xext \
25 -I
${X11SRCDIR.xc
}/programs
/Xserver
/Xext
/extmod \
26 -I
${X11SRCDIR.xc
}/programs
/Xserver
/mi \
27 -I
${X11SRCDIR.xc
}/programs
/Xserver
/${LIB} \
28 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/common
30 CPPFLAGS
+= -DXKB_IN_SERVER
-DXKB_ALWAYS_USES_SOFT_REPEAT
32 CPPFLAGS.xkbInit.c
= -DXKB_BASE_DIRECTORY
=\"${X11LIBDIR}/xkb
\" \
35 COPTS.XKBAlloc.c
= -Wno-error
# XXX gcc 3.3
36 COPTS.XKBMAlloc.c
= -Wno-error
# XXX gcc 3.3
37 COPTS.xkb.c
= -Wno-error
# XXX gcc 3.3
38 COPTS.xkbUtils.c
= -Wno-error
# XXX gcc 3.3
40 .for _S _T in ddxKillSrv.c xf86KillSrv.c \
42 ddxPrivate.c xf86Private.c
43 BUILDSYMLINKS
+= ${_S} ${_T}
45 CPPFLAGS.
${_T}= -DXF86DDXACTIONS
48 CLEANFILES
+= ${BUILDOBJS}