1 # $NetBSD: Makefile,v 1.3 2004/02/07 06:52:07 lukem Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
5 .
include "../../../Makefile.serverlib"
9 .PATH
: ${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/${LIB}
10 .PATH
: ${X11SRCDIR.xc
}/extras
/x86emu
/src
/x86emu
11 SRCS
= pci.c xf86int10module.c helper_exec.c helper_mem.c xf86int10.c \
12 xf86x86emu.c generic.c debug.c decode.c fpu.c ops.c ops2.c \
15 CPPFLAGS
+= -D__DRIVER__
-DFORCE_POST
-D_CEXPORT
= -DNO_LONG_LONG \
17 .if
${MACHINE_ARCH} == "i386" ||
${MACHINE_ARCH} == "x86_64"
21 CPPFLAGS
+= -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/common \
22 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/os-support \
23 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/${LIB} \
24 -I
${X11SRCDIR.xc
}/programs
/Xserver
/include \
25 -I
${DESTDIR}${X11INCDIR}/X11 \
26 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
27 -I
${X11SRCDIR.xc
}/extras
/x86emu
/include \
28 -I
${X11SRCDIR.xc
}/extras
/x86emu
/src
/x86emu \