minix/external/mit/xorg/server/xorg-server/Makefile.serverlib
Lionel Sambuc 971bb1a587 Importing external/mit/xorg support rules
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
2014-11-10 14:43:29 +01:00

19 lines
417 B
Text

# $NetBSD: Makefile.serverlib,v 1.4 2008/08/24 13:43:57 rtr Exp $
NOLINT= 1
NOPROFILE= 1
.include <bsd.own.mk> # for NETBSDSRCDIR
.include <bsd.endian.mk>
.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}