24 lines
517 B
Makefile
24 lines
517 B
Makefile
# $NetBSD: Makefile.servermod,v 1.3 2015/07/18 08:56:06 mrg Exp $
|
|
|
|
.if defined(XMODULEDIR)
|
|
SHLIB_MAJOR=0
|
|
|
|
# dri, dri2 and fb need to be linked statically as well?
|
|
.if !defined(XMODULEDIRANDSTATIC)
|
|
MKSTATICLIB:= no
|
|
.endif
|
|
|
|
.else
|
|
|
|
# if these aren't defined the module being built is not installed
|
|
# instead it is statically linked into the xserver
|
|
libinstall::
|
|
moduleinstall::
|
|
|
|
.endif
|
|
|
|
# x11 modules that are installed need the X11FLAGS.LOADABLE's defined
|
|
.if defined(XMODULEDIR)
|
|
CPPFLAGS+= ${X11FLAGS.LOADABLE}
|
|
.endif
|