1#	$NetBSD: Makefile.servermod,v 1.2 2008/08/10 11:56:06 rtr Exp $
2
3.if defined(XMODULEDIR)
4SHLIB_MAJOR=0
5.endif
6
7# if these aren't defined the module being built is not installed
8# instead it is statically linked into the xserver
9.if !defined(XMODULEDIR) && !defined(XMODULE)
10libinstall::
11moduleinstall::
12.endif
13
14# x11 modules that are installed need the X11FLAGS.LOADABLE's defined
15.if defined(XMODULEDIR)
16CPPFLAGS+=	${X11FLAGS.LOADABLE}
17.endif
18