1 # $NetBSD: Makefile,v 1.5 2009/06/11 05:43:19 mrg Exp $
3 .
include "../Makefile.serverlib"
4 .
include "../Makefile.servermod"
8 .PATH
: ${X11SRCDIR.xorg-server
}/${LIB}
9 .PATH
: ${X11SRCDIR.X11
}/src
10 .PATH
: ${X11SRCDIR.xkbfile
}/src
11 DDXSRCS
= ddxBeep.c ddxCtrls.c ddxFakeMtn.c \
12 ddxInit.c ddxKeyClick.c ddxLEDs.c ddxLoad.c \
14 DIXSRCS
= xkb.c xkbUtils.c xkbEvents.c xkbAccessX.c xkbSwap.c \
15 xkbLEDs.c xkbInit.c xkbActions.c xkbPrKeyEv.c
16 XKBFILESRCS
= maprules.c xkmread.c xkbtext.c xkbfmisc.c \
18 X11SRCS
= XKBMisc.c XKBAlloc.c XKBGAlloc.c XKBMAlloc.c
20 SRCS
= ${DDXSRCS} ${DIXSRCS} ${XKBFILESRCS} ${X11SRCS}
22 CPPFLAGS
+= -I
${X11SRCDIR.xorg-server
}/include \
23 -I
${DESTDIR}${X11INCDIR}/X11 \
24 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
25 -I
${DESTDIR}${X11INCDIR}/pixman-1 \
26 -I
${X11SRCDIR.xorg-server
}/Xext \
27 -I
${X11SRCDIR.xorg-server
}/Xext
/extmod \
28 -I
${X11SRCDIR.xorg-server
}/mi \
29 -I
${X11SRCDIR.xorg-server
}/${LIB} \
30 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/common \
31 -I
${X11SRCDIR.xorg-server
}/..
/include
34 .
include "../../../bin/xkbcomp/Makefile.common"
36 CPPFLAGS
+= -DXKB_IN_SERVER
-DHAVE_XKB_CONFIG_H \
37 -DXKB_BASE_DIRECTORY
=\"${X11LIBDIR}/xkb
\" \
38 -DXKB_BIN_DIRECTORY
=\"${X11BINDIR}\" \
39 -DXKM_OUTPUT_DIR
=\"${XKBCOMPDIR}\" \
42 COPTS.XKBAlloc.c
= -Wno-error
# XXX gcc 3.3
43 COPTS.XKBMAlloc.c
= -Wno-error
# XXX gcc 3.3
44 COPTS.xkb.c
= -Wno-error
# XXX gcc 3.3
45 COPTS.xkbUtils.c
= -Wno-error
# XXX gcc 3.3
47 CLEANFILES
+= ${BUILDOBJS}