2005-12-29 18:52:20 +03:00
|
|
|
# $NetBSD: Makefile,v 1.11 2005/12/29 15:52:21 tsutsui Exp $
|
2003-09-24 03:21:02 +04:00
|
|
|
|
|
|
|
.include "../Makefile.serverlib"
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
LIB= xinput
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/Xserver/Xi
|
|
|
|
|
|
|
|
SRCS= allowev.c chgdctl.c chgfctl.c chgkbd.c chgkmap.c chgprop.c \
|
|
|
|
chgptr.c closedev.c devbell.c exevents.c extinit.c getbmap.c \
|
|
|
|
getdctl.c getfctl.c getfocus.c getkmap.c getmmap.c getprop.c \
|
|
|
|
getselev.c getvers.c grabdev.c grabdevb.c grabdevk.c \
|
|
|
|
gtmotion.c listdev.c opendev.c queryst.c selectev.c \
|
|
|
|
sendexev.c setbmap.c setdval.c setfocus.c setmmap.c \
|
|
|
|
setmode.c stubs.c ungrdev.c ungrdevb.c ungrdevk.c
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/include \
|
2003-09-30 10:41:29 +04:00
|
|
|
-I${DESTDIR}${X11INCDIR}/X11/extensions \
|
|
|
|
-I${DESTDIR}${X11INCDIR}/X11
|
2003-09-11 22:37:05 +04:00
|
|
|
|
2004-02-07 11:30:34 +03:00
|
|
|
.if ${MACHINE} == "sparc" || \
|
|
|
|
${MACHINE} == "amiga" || \
|
|
|
|
${MACHINE} == "alpha" || \
|
|
|
|
${MACHINE} == "sparc64" || \
|
|
|
|
${MACHINE} == "acorn32" || \
|
|
|
|
${MACHINE} == "pmax" || \
|
2004-03-10 19:21:16 +03:00
|
|
|
${MACHINE} == "sun3" || \
|
2004-04-23 09:56:47 +04:00
|
|
|
${MACHINE} == "dreamcast" || \
|
2005-12-29 18:52:20 +03:00
|
|
|
${MACHINE} == "ews4800mips" || \
|
2004-08-01 22:52:03 +04:00
|
|
|
${MACHINE} == "newsmips" || \
|
2004-04-23 09:56:47 +04:00
|
|
|
${MACHINE} == "vax"
|
2003-12-19 17:13:03 +03:00
|
|
|
CPPFLAGS+= -DXINPUT
|
|
|
|
.endif
|
|
|
|
|
2003-09-11 22:37:05 +04:00
|
|
|
.include <bsd.x11.mk>
|
2003-09-24 03:21:02 +04:00
|
|
|
.include <bsd.lib.mk>
|