1# $NetBSD: Makefile.servermod,v 1.3 2015/07/18 08:56:06 mrg Exp $ 2 3.if defined(XMODULEDIR) 4SHLIB_MAJOR=0 5 6# dri, dri2 and fb need to be linked statically as well? 7.if !defined(XMODULEDIRANDSTATIC) 8MKSTATICLIB:= no 9.endif 10 11.else 12 13# if these aren't defined the module being built is not installed 14# instead it is statically linked into the xserver 15libinstall:: 16moduleinstall:: 17 18.endif 19 20# x11 modules that are installed need the X11FLAGS.LOADABLE's defined 21.if defined(XMODULEDIR) 22CPPFLAGS+= ${X11FLAGS.LOADABLE} 23.endif 24