etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / server / xorg-server / Makefile.serverlib
blobae2878e9fa1864b5b863d7898f294017dad8d998
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.
4 MKPICINSTALL:=  no
5 MKLINT:=        no
6 MKDEBUGLIB:=    no
7 MKPROFILE:=     no
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
16 .else
17 X_BYTE_ORDER=0
18 .endif
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
25 .endif