make obsolete MKX11LOADABLE

define XORG_VERSION_CURRENT here instead of ~everywhere else
remove mips specific knob to enable ELF modules we use them everywhere now
This commit is contained in:
rtr 2008-08-24 13:43:57 +00:00
parent 262f055daf
commit 209734477b

View File

@ -1,11 +1,8 @@
# $NetBSD: Makefile.serverlib,v 1.3 2008/08/15 15:55:05 rtr Exp $
# $NetBSD: Makefile.serverlib,v 1.4 2008/08/24 13:43:57 rtr Exp $
NOLINT= 1
NOPROFILE= 1
# XXX for now?
MKX11LOADABLE=no
.include <bsd.own.mk> # for NETBSDSRCDIR
.include <bsd.endian.mk>
@ -18,14 +15,5 @@ X_BYTE_ORDER=0
.endif
CPPFLAGS+= ${X11FLAGS.SERVER}
#CPPFLAGS+= ${X11FLAGS.SERVER} -DX_BYTE_ORDER=${X_BYTE_ORDER} \
# -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
CPPFLAGS+= -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
# Architectures that can't use the XFree86 loader (such as MIPS) can use
# dlopen() to load modules.
.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
SHLIB_MAJOR= 0
SHLIB_MINOR= 0
MKPICLIB= yes
MKSTATICLIB= no
.endif