etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / server / xorg-server / hw / xfree86 / int10 / Makefile
blobce46e91148ca6468d2e880f6489e4e321bab78c7
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"
8 LIB= int10
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
17 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
18 CPPFLAGS+= -D_PC
19 .endif
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
24 .endif
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
42 .include <bsd.x11.mk>
43 LIBDIR= ${XMODULEDIR}
44 .include <bsd.lib.mk>