Home | History | Annotate | Line # | Download | only in xorg-server
Makefile.servermod revision 1.4.16.1
      1  1.4.16.1  christos #	$NetBSD: Makefile.servermod,v 1.4.16.1 2019/06/10 22:02:45 christos Exp $
      2       1.4  christos 
      3       1.4  christos .include <bsd.own.mk>	# For /etc/mk.conf processing
      4       1.2       rtr 
      5       1.2       rtr .if defined(XMODULEDIR)
      6       1.2       rtr SHLIB_MAJOR=0
      7       1.3       mrg 
      8       1.3       mrg # dri, dri2 and fb need to be linked statically as well?
      9       1.3       mrg .if !defined(XMODULEDIRANDSTATIC)
     10       1.3       mrg MKSTATICLIB:=	no
     11       1.2       rtr .endif
     12       1.1       mrg 
     13       1.3       mrg .else
     14       1.3       mrg 
     15       1.1       mrg # if these aren't defined the module being built is not installed
     16       1.1       mrg # instead it is statically linked into the xserver
     17       1.1       mrg libinstall::
     18       1.1       mrg moduleinstall::
     19       1.3       mrg 
     20       1.1       mrg .endif
     21       1.1       mrg 
     22       1.1       mrg # x11 modules that are installed need the X11FLAGS.LOADABLE's defined
     23       1.1       mrg .if defined(XMODULEDIR)
     24       1.1       mrg CPPFLAGS+=	${X11FLAGS.LOADABLE}
     25       1.1       mrg .endif
     26  1.4.16.1  christos 
     27  1.4.16.1  christos CPPFLAGS+=	${X11FLAGS.DIX}
     28