1 # $NetBSD: Makefile.serverlib,v 1.8 2015/07/18 08:56:06 mrg Exp $
3 # We can't use LIBISPRIVATE here as we need the ".so" installed.
9 .include <bsd.own.mk> # for NETBSDSRCDIR
10 .include <bsd.endian.mk>
12 .if ${TARGET_ENDIANNESS} == "1234"
13 X_BYTE_ORDER=X_LITTLE_ENDIAN
14 .elif ${TARGET_ENDIANNESS} == "4321"
15 X_BYTE_ORDER=X_BIG_ENDIAN
20 CPPFLAGS+= ${X11FLAGS.SERVER}
21 CPPFLAGS+= -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
23 .if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64")
24 CPPFLAGS+= -D__GLX_ALIGN64