head	1.9;
access;
symbols
	perseant-exfatfs-base-20250801:1.9
	perseant-exfatfs-base-20240630:1.9
	cjep_sun2x:1.9.0.12
	cjep_sun2x-base:1.9
	cjep_staticlib_x-base1:1.9
	cjep_staticlib_x:1.9.0.10
	cjep_staticlib_x-base:1.9
	phil-wifi-20200421:1.9
	phil-wifi-20200411:1.9
	phil-wifi-20200406:1.9
	pgoyette-compat-merge-20190127:1.9
	pgoyette-compat-20190127:1.9
	pgoyette-compat-20190118:1.9
	pgoyette-compat-1226:1.9
	pgoyette-compat-1126:1.9
	pgoyette-compat-1020:1.9
	pgoyette-compat-0930:1.9
	pgoyette-compat-0906:1.9
	netbsd-7-2-RELEASE:1.8
	pgoyette-compat-0728:1.9
	pgoyette-compat-0625:1.9
	pgoyette-compat-0521:1.9
	pgoyette-compat-0502:1.9
	pgoyette-compat-0422:1.9
	pgoyette-compat-0415:1.9
	pgoyette-compat-0407:1.9
	pgoyette-compat-0330:1.9
	pgoyette-compat-0322:1.9
	pgoyette-compat-0315:1.9
	netbsd-7-1-2-RELEASE:1.8
	pgoyette-compat:1.9.0.8
	pgoyette-compat-base:1.9
	netbsd-7-1-1-RELEASE:1.8
	prg-localcount2-base3:1.9
	prg-localcount2-base2:1.9
	prg-localcount2-base1:1.9
	prg-localcount2:1.9.0.6
	prg-localcount2-base:1.9
	pgoyette-localcount-20170426:1.9
	bouyer-socketcan-base1:1.9
	pgoyette-localcount-20170320:1.9
	netbsd-7-1:1.8.0.74
	netbsd-7-1-RELEASE:1.8
	netbsd-7-1-RC2:1.8
	netbsd-7-nhusb-base-20170116:1.8
	bouyer-socketcan:1.9.0.4
	bouyer-socketcan-base:1.9
	pgoyette-localcount-20170107:1.9
	netbsd-7-1-RC1:1.8
	pgoyette-localcount-20161104:1.9
	netbsd-7-0-2-RELEASE:1.8
	localcount-20160914:1.9
	netbsd-7-nhusb:1.8.0.72
	netbsd-7-nhusb-base:1.8
	pgoyette-localcount-20160806:1.9
	pgoyette-localcount-20160726:1.9
	pgoyette-localcount:1.9.0.2
	pgoyette-localcount-base:1.9
	netbsd-7-0-1-RELEASE:1.8
	netbsd-7-0:1.8.0.70
	netbsd-7-0-RELEASE:1.8
	netbsd-7-0-RC3:1.8
	netbsd-7-0-RC2:1.8
	netbsd-7-0-RC1:1.8
	netbsd-5-2-3-RELEASE:1.8
	netbsd-5-1-5-RELEASE:1.8
	netbsd-6-0-6-RELEASE:1.8
	netbsd-6-1-5-RELEASE:1.8
	netbsd-7:1.8.0.68
	netbsd-7-base:1.8
	yamt-pagecache-base9:1.8
	yamt-pagecache-tag8:1.8
	netbsd-6-1-4-RELEASE:1.8
	netbsd-6-0-5-RELEASE:1.8
	tls-earlyentropy:1.8.0.66
	tls-earlyentropy-base:1.8
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8
	riastradh-drm2-base3:1.8
	netbsd-6-1-3-RELEASE:1.8
	netbsd-6-0-4-RELEASE:1.8
	netbsd-5-2-2-RELEASE:1.8
	netbsd-5-1-4-RELEASE:1.8
	netbsd-6-1-2-RELEASE:1.8
	netbsd-6-0-3-RELEASE:1.8
	netbsd-5-2-1-RELEASE:1.8
	netbsd-5-1-3-RELEASE:1.8
	netbsd-6-1-1-RELEASE:1.8
	riastradh-drm2-base2:1.8
	riastradh-drm2-base1:1.8
	riastradh-drm2:1.8.0.60
	riastradh-drm2-base:1.8
	netbsd-6-1:1.8.0.64
	netbsd-6-0-2-RELEASE:1.8
	netbsd-6-1-RELEASE:1.8
	netbsd-6-1-RC4:1.8
	netbsd-6-1-RC3:1.8
	agc-symver:1.8.0.62
	agc-symver-base:1.8
	netbsd-6-1-RC2:1.8
	netbsd-6-1-RC1:1.8
	yamt-pagecache-base8:1.8
	netbsd-5-2:1.8.0.58
	netbsd-6-0-1-RELEASE:1.8
	yamt-pagecache-base7:1.8
	netbsd-5-2-RELEASE:1.8
	netbsd-5-2-RC1:1.8
	matt-nb6-plus-nbase:1.8
	yamt-pagecache-base6:1.8
	netbsd-6-0:1.8.0.56
	netbsd-6-0-RELEASE:1.8
	netbsd-6-0-RC2:1.8
	tls-maxphys:1.8.0.54
	tls-maxphys-base:1.8
	matt-nb6-plus:1.8.0.52
	matt-nb6-plus-base:1.8
	netbsd-6-0-RC1:1.8
	yamt-pagecache-base5:1.8
	yamt-pagecache-base4:1.8
	netbsd-6:1.8.0.50
	netbsd-6-base:1.8
	netbsd-5-1-2-RELEASE:1.8
	netbsd-5-1-1-RELEASE:1.8
	yamt-pagecache-base3:1.8
	yamt-pagecache-base2:1.8
	yamt-pagecache:1.8.0.48
	yamt-pagecache-base:1.8
	cherry-xenmp:1.8.0.46
	cherry-xenmp-base:1.8
	bouyer-quota2-nbase:1.8
	bouyer-quota2:1.8.0.44
	bouyer-quota2-base:1.8
	matt-mips64-premerge-20101231:1.8
	matt-nb5-mips64-premerge-20101231:1.8
	matt-nb5-pq3:1.8.0.42
	matt-nb5-pq3-base:1.8
	netbsd-5-1:1.8.0.40
	netbsd-5-1-RELEASE:1.8
	netbsd-5-1-RC4:1.8
	matt-nb5-mips64-k15:1.8
	netbsd-5-1-RC3:1.8
	netbsd-5-1-RC2:1.8
	netbsd-5-1-RC1:1.8
	netbsd-5-0-2-RELEASE:1.8
	matt-nb5-mips64-premerge-20091211:1.8
	matt-premerge-20091211:1.8
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.8
	matt-nb4-mips64-k7-u2a-k9b:1.8
	matt-nb5-mips64-u1-k1-k5:1.8
	matt-nb5-mips64:1.8.0.38
	netbsd-5-0-1-RELEASE:1.8
	jym-xensuspend-nbase:1.8
	netbsd-5-0:1.8.0.36
	netbsd-5-0-RELEASE:1.8
	netbsd-5-0-RC4:1.8
	netbsd-5-0-RC3:1.8
	netbsd-5-0-RC2:1.8
	jym-xensuspend:1.8.0.34
	jym-xensuspend-base:1.8
	netbsd-5-0-RC1:1.8
	netbsd-5:1.8.0.32
	netbsd-5-base:1.8
	matt-mips64-base2:1.8
	matt-mips64:1.8.0.30
	netbsd-4-0-1-RELEASE:1.8
	wrstuden-revivesa-base-3:1.8
	wrstuden-revivesa-base-2:1.8
	wrstuden-fixsa-newbase:1.8
	wrstuden-revivesa-base-1:1.8
	yamt-pf42-base4:1.8
	yamt-pf42-base3:1.8
	hpcarm-cleanup-nbase:1.8
	yamt-pf42-baseX:1.8
	yamt-pf42-base2:1.8
	wrstuden-revivesa:1.8.0.28
	wrstuden-revivesa-base:1.8
	yamt-pf42:1.8.0.26
	yamt-pf42-base:1.8
	keiichi-mipv6-nbase:1.8
	keiichi-mipv6:1.8.0.24
	keiichi-mipv6-base:1.8
	matt-armv6-nbase:1.8
	matt-armv6-prevmlocking:1.8
	wrstuden-fixsa-base-1:1.8
	netbsd-4-0:1.8.0.22
	netbsd-4-0-RELEASE:1.8
	cube-autoconf:1.8.0.20
	cube-autoconf-base:1.8
	netbsd-4-0-RC5:1.8
	netbsd-4-0-RC4:1.8
	netbsd-4-0-RC3:1.8
	netbsd-4-0-RC2:1.8
	netbsd-4-0-RC1:1.8
	matt-armv6:1.8.0.18
	matt-armv6-base:1.8
	matt-mips64-base:1.8
	hpcarm-cleanup:1.8.0.16
	hpcarm-cleanup-base:1.8
	netbsd-3-1-1-RELEASE:1.8
	netbsd-3-0-3-RELEASE:1.8
	wrstuden-fixsa:1.8.0.14
	wrstuden-fixsa-base:1.8
	abandoned-netbsd-4-base:1.8
	abandoned-netbsd-4:1.8.0.8
	netbsd-3-1:1.8.0.10
	netbsd-3-1-RELEASE:1.8
	netbsd-3-0-2-RELEASE:1.8
	netbsd-3-1-RC4:1.8
	netbsd-3-1-RC3:1.8
	netbsd-3-1-RC2:1.8
	netbsd-3-1-RC1:1.8
	netbsd-4:1.8.0.12
	netbsd-4-base:1.8
	netbsd-3-0-1-RELEASE:1.8
	netbsd-3-0:1.8.0.6
	netbsd-3-0-RELEASE:1.8
	netbsd-3-0-RC6:1.8
	netbsd-3-0-RC5:1.8
	netbsd-3-0-RC4:1.8
	netbsd-3-0-RC3:1.8
	netbsd-3-0-RC2:1.8
	netbsd-3-0-RC1:1.8
	netbsd-2-0-3-RELEASE:1.5.2.1
	netbsd-2-1:1.5.2.1.0.4
	netbsd-2-1-RELEASE:1.5.2.1
	netbsd-2-1-RC6:1.5.2.1
	netbsd-2-1-RC5:1.5.2.1
	netbsd-2-1-RC4:1.5.2.1
	netbsd-2-1-RC3:1.5.2.1
	netbsd-2-1-RC2:1.5.2.1
	netbsd-2-1-RC1:1.5.2.1
	netbsd-2-0-2-RELEASE:1.5.2.1
	v4-5-0_beforeimport:1.8
	netbsd-3:1.8.0.4
	netbsd-3-base:1.8
	netbsd-2-0-1-RELEASE:1.5.2.1
	netbsd-2:1.5.2.1.0.2
	netbsd-2-base:1.5.2.1
	netbsd-2-0-RELEASE:1.5.2.1
	rtr-xorg-branch:1.8.0.2
	rtr-xorg-branch-base:1.8
	netbsd-2-0-RC5:1.5.2.1
	netbsd-2-0-RC4:1.5.2.1
	netbsd-2-0-RC3:1.5.2.1
	netbsd-2-0-RC2:1.5.2.1
	netbsd-2-0-RC1:1.5.2.1
	netbsd-2-0:1.5.0.2
	netbsd-2-0-base:1.5
	v4-4-0_beforeimport:1.5;
locks; strict;
comment	@# @;


1.9
date	2015.07.23.08.03.26;	author mrg;	state dead;
branches;
next	1.8;
commitid	nfGa2DVpEPUUPnuy;

1.8
date	2004.07.14.13.34.13;	author sekiya;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2004.07.14.09.44.26;	author agc;	state Exp;
branches;
next	1.6;

1.6
date	2004.07.13.09.29.45;	author sekiya;	state Exp;
branches;
next	1.5;

1.5
date	2004.02.07.06.52.04;	author lukem;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2004.01.06.12.30.13;	author mrg;	state Exp;
branches;
next	1.3;

1.3
date	2003.12.26.08.23.30;	author rtr;	state Exp;
branches;
next	1.2;

1.2
date	2003.12.21.03.07.01;	author rtr;	state Exp;
branches;
next	1.1;

1.1
date	2003.09.23.23.21.02;	author lukem;	state Exp;
branches;
next	;

1.8.2.1
date	2004.11.15.09.12.38;	author rtr;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	2004.11.21.10.01.25;	author rtr;	state Exp;
branches;
next	;

1.5.2.1
date	2004.08.12.04.08.28;	author jmc;	state Exp;
branches;
next	;


desc
@@


1.9
log
@remove the xfree86 reachover makefiles and the vast majority of
the support in the rest of the source tree.

X11 sets could use some cleaning up perhaps (just deletion, as
we've never really marked the old X11R6 as obsolete for native
xorg using platforms so far either.)
@
text
@#	$NetBSD: Makefile.serverlib,v 1.8 2004/07/14 13:34:13 sekiya Exp $

NOLINT=         1
NOPROFILE=      1

.if ${MACHINE_ARCH} != "mipseb" && ${MACHINE_ARCH} != "mipsel"
NOPIC=		1
.endif

.include <bsd.own.mk>		# for NETBSDSRCDIR
.include <bsd.endian.mk>

.if ${XMODULEDIR:U} == ""
libinstall::
.endif

.if ${TARGET_ENDIANNESS} == "1234"
X_BYTE_ORDER=X_LITTLE_ENDIAN
.elif ${TARGET_ENDIANNESS} == "4321"
X_BYTE_ORDER=X_BIG_ENDIAN
.else
X_BYTE_ORDER=0
.endif

CPPFLAGS+=	${X11FLAGS.SERVER} -DX_BYTE_ORDER=${X_BYTE_ORDER}

.if !defined(XSERVERINCDIR)
XSERVERINCDIR!=	cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
.MAKEOVERRIDES+=XSERVERINCDIR
.endif

# Architectures that can't use the XFree86 loader (such as MIPS) can use
# dlopen() to load modules.

.if defined(XMODULEDIR)
CPPFLAGS+=	${X11FLAGS.LOADABLE}
.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
SHLIB_MAJOR=	0
SHLIB_MINOR=	0
MKPICLIB=	yes
MKSTATICLIB=	no
.endif
.else
NOPIC=		1
.endif
@


1.8
log
@Build lib*_pic.a only for loadable modules on dlopen() targets.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.serverlib,v 1.7 2004/07/14 09:44:26 agc Exp $
@


1.8.2.1
log
@static & xorg src/x11 build
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.serverlib,v 1.8 2004/07/14 13:34:13 sekiya Exp $
d13 1
a13 1
.if !defined(XMODULEDIR) && !defined(XMODULE)
a14 1
moduleinstall::
d25 1
a25 1
CPPFLAGS+=	${X11FLAGS.SERVER} -DX_BYTE_ORDER=${X_BYTE_ORDER} -DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
d44 1
a44 1
NOPIC=	1
@


1.8.2.2
log
@+ whitespace cleanups
+ remove extra bsd.own.mk's
+ separate module and lib handling into Makefile.serverlib and Makefile.servermod
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.serverlib,v 1.8.2.1 2004/11/15 09:12:38 rtr Exp $
a5 1
# if not mips use x11 dynamic loader (no need for pic libs)
d13 5
d26 1
a26 2
CPPFLAGS+=	${X11FLAGS.SERVER} -DX_BYTE_ORDER=${X_BYTE_ORDER} \
		-DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT}
d35 3
d44 3
@


1.7
log
@Don't install *_pic.a libraries in DESTDIR for non-MIPS architectures.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.serverlib,v 1.6 2004/07/13 09:29:45 sekiya Exp $
d44 1
@


1.6
log
@Enable "loadable module" dlopen() scheme.  Necessary to crossbuild the XFree86
server on platforms that are not supported by the Metrolink module loader
(i.e., MIPS).

Enabled for sgimips in bsd.x11.mk.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.serverlib,v 1.5 2004/02/07 06:52:04 lukem Exp $
a6 1
.if !defined(XMODULEDIR)
a8 1
.endif
@


1.5
log
@Cache XSERVERLIB determination in Makefile.serverlib rather than
in 111 separate places.  Speeds up empty "cleandir" from 27.17s to 13.75s.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.serverlib,v 1.4 2004/01/06 12:30:13 mrg Exp $
a3 1
NOPIC=          1
d6 6
d34 3
d39 7
@


1.5.2.1
log
@Pullup rev 1.5-1.8 (requested by sekiya in ticket #745)

Enable loadable module support for the sgimips X server
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.serverlib,v 1.5 2004/02/07 06:52:04 lukem Exp $
d4 1
a6 4
.if ${MACHINE_ARCH} != "mipseb" && ${MACHINE_ARCH} != "mipsel"
NOPIC=		1
.endif

a28 3
# Architectures that can't use the XFree86 loader (such as MIPS) can use
# dlopen() to load modules.

a30 8
.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
SHLIB_MAJOR=	0
SHLIB_MINOR=	0
MKPICLIB=	yes
MKSTATICLIB=	no
.endif
.else
NOPIC=		1
@


1.4
log
@- factorize some common per-platform definintions into a new Makefile.common
- conditionalise more of the main subdirs based on XSERVER_XXX variables, and
  set these as necessary in Makefile.common

XXX: perhaps list the Xwhat -> X symlink name in Makefile.common?
@
text
@d1 1
a1 2
#	$NetBSD: Makefile.serverlib,v 1.3 2003/12/26 08:23:30 rtr Exp $

d7 1
d24 5
@


1.3
log
@set endianness in for Xserver libs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.serverlib,v 1.2 2003/12/21 03:07:01 rtr Exp $
a26 1

@


1.2
log
@Separate loadable modules
Don't build or install modules for non-loadable xservers
@
text
@d1 2
a2 1
#	$NetBSD: Makefile.serverlib,v 1.1 2003/09/23 23:21:02 lukem Exp $
d8 2
d14 9
a22 1
CPPFLAGS+=	${X11FLAGS.SERVER}
d27 1
@


1.1
log
@various improvements:
* build & install Xserver modules
* tweak for building with gcc 3.3.x
* rework for recent <bsd.x11.mk> rototill (moving it before other
  bsd.*.mk includes)
* remove libc_wrapper.o from libos.a, and explicitly link in where required
@
text
@d1 1
a1 1
#	$NetBSD$
d12 4
@

