Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / server / xorg-server / Makefile.serverlib
blobc95071e1470f873ec38aa55e82cc9aa71d27ef62
1 #       $NetBSD: Makefile.serverlib,v 1.3 2008/08/15 15:55:05 rtr Exp $
3 NOLINT=         1
4 NOPROFILE=      1
6 .include <bsd.own.mk>           # for NETBSDSRCDIR
7 .include <bsd.endian.mk>
9 .if ${TARGET_ENDIANNESS} == "1234"
10 X_BYTE_ORDER=X_LITTLE_ENDIAN
11 .elif ${TARGET_ENDIANNESS} == "4321"
12 X_BYTE_ORDER=X_BIG_ENDIAN
13 .else
14 X_BYTE_ORDER=0
15 .endif
17 CPPFLAGS+=      ${X11FLAGS.SERVER}
18 CPPFLAGS+=      -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}