Home | History | Annotate | Line # | Download | only in xorg-server
Makefile.servermod revision 1.10
      1  1.10       wiz #	$NetBSD: Makefile.servermod,v 1.10 2022/10/28 09:43:59 wiz Exp $
      2   1.7       nia 
      3   1.7       nia NOFULLRELRO=	yes
      4   1.4  christos 
      5   1.8       nia USE_FORT?=	yes # network server *and* setuid
      6   1.8       nia 
      7   1.4  christos .include <bsd.own.mk>	# For /etc/mk.conf processing
      8   1.2       rtr 
      9   1.2       rtr .if defined(XMODULEDIR)
     10   1.2       rtr SHLIB_MAJOR=0
     11   1.3       mrg 
     12   1.3       mrg # dri, dri2 and fb need to be linked statically as well?
     13   1.3       mrg .if !defined(XMODULEDIRANDSTATIC)
     14   1.3       mrg MKSTATICLIB:=	no
     15   1.2       rtr .endif
     16   1.1       mrg 
     17   1.3       mrg .else
     18   1.3       mrg 
     19   1.1       mrg # if these aren't defined the module being built is not installed
     20   1.1       mrg # instead it is statically linked into the xserver
     21   1.1       mrg libinstall::
     22   1.1       mrg moduleinstall::
     23   1.3       mrg 
     24   1.1       mrg .endif
     25   1.1       mrg 
     26   1.1       mrg # x11 modules that are installed need the X11FLAGS.LOADABLE's defined
     27   1.1       mrg .if defined(XMODULEDIR)
     28   1.1       mrg CPPFLAGS+=	${X11FLAGS.LOADABLE}
     29   1.1       mrg .endif
     30   1.5       mrg 
     31  1.10       wiz CPPFLAGS+=	${X11FLAGS.DIX}
     32   1.6       mrg 
     33   1.6       mrg # IOPortBase is particularly annoying to fix
     34   1.6       mrg COPTS+=         ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -fcommon :}
     35