1 # $NetBSD: Makefile,v 1.9 2015/07/29 19:03:15 christos 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 \
17 .if
${MACHINE_ARCH} == "i386" ||
${MACHINE_ARCH} == "x86_64"
21 # do not muck around in IO space trying to enable / disable non-PCI VGAs
22 .if
${MACHINE} == "macppc" ||
${MACHINE} == "sparc64"
23 CPPFLAGS
+= -DNO_LEGACY_VGA
26 CPPFLAGS
+= -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/common \
27 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/os-support \
28 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/os-support
/bus \
29 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/${LIB} \
30 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/x86emu \
31 -I
${X11SRCDIR.xorg-server
}/Xext \
32 -I
${X11SRCDIR.xorg-server
}/include \
33 -I
${DESTDIR}${X11INCDIR}/X11 \
34 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
35 -I
${DESTDIR}${X11INCDIR}/xorg \
36 -I
${DESTDIR}${X11INCDIR}/pixman-1
38 COPTS.xf86x86emu.c
= -Wno-error
# XXX?
40 CWARNFLAGS.clang
+= -Wno-format