endian table for X_BYTE_ORDER=

This commit is contained in:
rtr 2003-12-23 15:36:45 +00:00
parent 15cd36d7f0
commit 1967c90241

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.x11.mk,v 1.12 2003/12/23 11:12:35 rtr Exp $
# $NetBSD: bsd.x11.mk,v 1.13 2003/12/23 15:36:45 rtr Exp $
.include <bsd.init.mk>
@ -32,7 +32,14 @@ X11FLAGS.SERVER= -DSHAPE -DXKB -DLBX -DXAPPGROUP -DXCSECURITY \
-DPANORAMIX -DRENDER -DRANDR -DGCCUSESGAS \
-DAVOID_GLYPHBLT -DSINGLEDEPTH -DXvExtension \
-DXFree86Server -DXvMCExtension -DSMART_SCHEDULE \
-DBUILDDEBUG -DXResExtension -DNDEBUG -DX_BYTE_ORDER=0
-DBUILDDEBUG -DXResExtension -DNDEBUG
# XXX as more LE machines supported add || machine
.if ${MACHINE} == "i386"
X11FLAGS.SERVER+= -DX_BYTE_ORDER=X_LITTLE_ENDIAN
.else
X11FLAGS.SERVER+= -DX_BYTE_ORDER=X_BIG_ENDIAN
.endif
# OS_DEFINES
X11FLAGS.OS_DEFINES= -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR \