Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / Xserver / xkb / Makefile
blob355a95981d18d2efd52d5ba75db39568523dd2f5
1 # $NetBSD: Makefile,v 1.7 2004/03/06 03:31:08 rtr Exp $
3 .include "../Makefile.serverlib"
5 LIB= xkb
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 \
21 -I${XSERVERINCDIR} \
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\" \
33 -DXKB_DFLT_DISABLED=0
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 \
41 ddxVT.c xf86VT.c \
42 ddxPrivate.c xf86Private.c
43 BUILDSYMLINKS+= ${_S} ${_T}
44 BUILDOBJS+= ${_T:R}.o
45 CPPFLAGS.${_T}= -DXF86DDXACTIONS
46 .endfor
48 CLEANFILES+= ${BUILDOBJS}
49 realall: ${BUILDOBJS}
51 .include <bsd.x11.mk>
52 .include <bsd.lib.mk>