NetBSD/x11/Xserver/Makefile.serverlib

27 lines
477 B
Makefile

# $NetBSD: Makefile.serverlib,v 1.4 2004/01/06 12:30:13 mrg Exp $
NOLINT= 1
NOPIC= 1
NOPROFILE= 1
.include <bsd.endian.mk>
.if ${XMODULEDIR:U} == ""
libinstall::
.endif
.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} -DX_BYTE_ORDER=${X_BYTE_ORDER}
.if defined(XMODULEDIR)
CPPFLAGS+= ${X11FLAGS.LOADABLE}
.endif