1 # $NetBSD: Makefile,v 1.4 2009/06/11 05:43:17 mrg Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
5 .
include "../../../Makefile.serverlib"
6 .
include "../../../Makefile.servermod"
10 .PATH
: ${X11SRCDIR.xorg-server
}/hw
/xfree86
/int10
11 SRCS
= x86emu.c generic.c xf86x86emu.c xf86int10.c helper_mem.c \
12 helper_exec.c xf86int10module.c
14 CPPFLAGS
+= -D__DRIVER__
-DFORCE_POST
-D_CEXPORT
= -DNO_LONG_LONG \
15 -D_X86EMU
-DNO_SYS_HEADERS
17 .if
${MACHINE_ARCH} == "i386" ||
${MACHINE_ARCH} == "x86_64"
21 CPPFLAGS
+= -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/common \
22 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/os-support \
23 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/os-support
/bus \
24 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/${LIB} \
25 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/x86emu \
26 -I
${X11SRCDIR.xorg-server
}/Xext \
27 -I
${X11SRCDIR.xorg-server
}/include \
28 -I
${DESTDIR}${X11INCDIR}/X11 \
29 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
30 -I
${DESTDIR}${X11INCDIR}/xorg \
31 -I
${DESTDIR}${X11INCDIR}/pixman-1