# $NetBSD: Makefile.serverlib,v 1.1.1.1 2016/06/10 03:42:13 mrg Exp $ .include # for NETBSDSRCDIR and mk.conf processing # We can't use LIBISPRIVATE here as we need the ".so" installed. MKPICINSTALL:= no MKLINT:= no MKDEBUGLIB:= no MKPROFILE:= no .include .if ${TARGET_ENDIANNESS} == "1234" X_BYTE_ORDER=X_LITTLE_ENDIAN .elif ${TARGET_ENDIANNESS} == "4321" X_BYTE_ORDER=X_BIG_ENDIAN .else X_BYTE_ORDER=0 .endif CPPFLAGS+= ${X11FLAGS.SERVER} CPPFLAGS+= -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT} .if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64") CPPFLAGS+= -D__GLX_ALIGN64 .endif