xref: /netbsd-src/external/mit/xorg/server/xorg-server.old/Makefile.servermod (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1#	$NetBSD: Makefile.servermod,v 1.1.1.1 2016/06/10 03:42:13 mrg Exp $
2
3.include <bsd.own.mk>	# For /etc/mk.conf processing
4
5.if defined(XMODULEDIR)
6SHLIB_MAJOR=0
7
8# dri, dri2 and fb need to be linked statically as well?
9.if !defined(XMODULEDIRANDSTATIC)
10MKSTATICLIB:=	no
11.endif
12
13.else
14
15# if these aren't defined the module being built is not installed
16# instead it is statically linked into the xserver
17libinstall::
18moduleinstall::
19
20.endif
21
22# x11 modules that are installed need the X11FLAGS.LOADABLE's defined
23.if defined(XMODULEDIR)
24CPPFLAGS+=	${X11FLAGS.LOADABLE}
25.endif
26