only -D_PC on i386/amd64. from PR#25036.

This commit is contained in:
mrg 2004-04-17 06:47:04 +00:00
parent b5746867c3
commit d9fb13565a

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2004/02/07 06:52:07 lukem Exp $ # $NetBSD: Makefile,v 1.4 2004/04/17 06:47:04 mrg Exp $
XMODULEDIR= ${X11USRLIBDIR}/modules XMODULEDIR= ${X11USRLIBDIR}/modules
@ -13,7 +13,10 @@ SRCS= pci.c xf86int10module.c helper_exec.c helper_mem.c xf86int10.c \
prim_ops.c sys.c prim_ops.c sys.c
CPPFLAGS+= -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG \ CPPFLAGS+= -D__DRIVER__ -DFORCE_POST -D_CEXPORT= -DNO_LONG_LONG \
-D_X86EMU -D_PC -D_X86EMU
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
CPPFLAGS+= -D_PC
.endif
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \ CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/common \
-I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \ -I${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support \