Home | History | Annotate | Line # | Download | only in xorg-server
Makefile.serverlib revision 1.16
      1  1.16       mrg #	$NetBSD: Makefile.serverlib,v 1.16 2022/07/15 04:18:54 mrg Exp $
      2  1.14       nia 
      3  1.14       nia NOFULLRELRO=	yes
      4   1.9  christos 
      5  1.15       nia USE_FORT?=	yes # network server *and* setuid
      6  1.15       nia 
      7   1.9  christos .include <bsd.own.mk>		# for NETBSDSRCDIR and mk.conf processing
      8   1.1       mrg 
      9   1.8       mrg # We can't use LIBISPRIVATE here as we need the ".so" installed.
     10   1.8       mrg MKPICINSTALL:=	no
     11   1.8       mrg MKLINT:=	no
     12   1.8       mrg MKDEBUGLIB:=	no
     13   1.8       mrg MKPROFILE:=	no
     14   1.1       mrg 
     15   1.1       mrg .include <bsd.endian.mk>
     16   1.1       mrg 
     17   1.1       mrg .if ${TARGET_ENDIANNESS} == "1234"
     18   1.1       mrg X_BYTE_ORDER=X_LITTLE_ENDIAN
     19   1.1       mrg .elif ${TARGET_ENDIANNESS} == "4321"
     20   1.1       mrg X_BYTE_ORDER=X_BIG_ENDIAN
     21   1.1       mrg .else
     22   1.1       mrg X_BYTE_ORDER=0
     23   1.1       mrg .endif
     24   1.1       mrg 
     25  1.16       mrg CPPFLAGS+=	${X11FLAGS.SERVER} -D_OPENBSD_SOURCE
     26   1.4       rtr CPPFLAGS+=	-DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
     27   1.1       mrg 
     28  1.12       mrg .if ${HAVE_XORG_GLAMOR} != "no"
     29  1.12       mrg CPPFLAGS+=	-DGLAMOR
     30  1.12       mrg .endif
     31  1.12       mrg 
     32   1.5       mrg .if (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "sparc64")
     33   1.5       mrg CPPFLAGS+=	-D__GLX_ALIGN64
     34   1.5       mrg .endif
     35  1.13       mrg 
     36  1.13       mrg # IOPortBase is particularly annoying to fix
     37  1.13       mrg COPTS+=         ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}
     38