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