blob: 2c1df1610f4e009e7698e6ecd528a4e2a4748859 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $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
|