#	$NetBSD: Makefile.servermod,v 1.2.6.2 2008/10/19 22:41:17 haad Exp $

.if defined(XMODULEDIR)
SHLIB_MAJOR=0
.endif

# if these aren't defined the module being built is not installed
# instead it is statically linked into the xserver
.if !defined(XMODULEDIR) && !defined(XMODULE)
libinstall::
moduleinstall::
.endif

# x11 modules that are installed need the X11FLAGS.LOADABLE's defined
.if defined(XMODULEDIR)
CPPFLAGS+=	${X11FLAGS.LOADABLE}
.endif
