1 # $NetBSD: Makefile,v 1.11 2005/12/29 15:52:21 tsutsui Exp $
3 .
include "../Makefile.serverlib"
8 .PATH
: ${X11SRCDIR.xc
}/programs
/Xserver
/Xi
10 SRCS
= allowev.c chgdctl.c chgfctl.c chgkbd.c chgkmap.c chgprop.c \
11 chgptr.c closedev.c devbell.c exevents.c extinit.c getbmap.c \
12 getdctl.c getfctl.c getfocus.c getkmap.c getmmap.c getprop.c \
13 getselev.c getvers.c grabdev.c grabdevb.c grabdevk.c \
14 gtmotion.c listdev.c opendev.c queryst.c selectev.c \
15 sendexev.c setbmap.c setdval.c setfocus.c setmmap.c \
16 setmode.c stubs.c ungrdev.c ungrdevb.c ungrdevk.c
18 CPPFLAGS
+= -I
${X11SRCDIR.xc
}/programs
/Xserver
/include \
19 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
20 -I
${DESTDIR}${X11INCDIR}/X11
22 .if
${MACHINE_ARCH} == "sparc" || \
23 ${MACHINE} == "amiga" || \
24 ${MACHINE_ARCH} == "alpha" || \
25 ${MACHINE_ARCH} == "sparc64" || \
26 ${MACHINE} == "acorn32" || \
27 ${MACHINE} == "pmax" || \
28 ${MACHINE} == "sun3" || \
29 ${MACHINE} == "dreamcast" || \
30 ${MACHINE} == "ews4800mips" || \
31 ${MACHINE} == "newsmips" || \
32 ${MACHINE_ARCH} == "vax"