head	1.17;
access;
symbols
	netbsd-11-0-RC4:1.17
	netbsd-11-0-RC3:1.17
	netbsd-11-0-RC2:1.17
	netbsd-11-0-RC1:1.17
	perseant-exfatfs-base-20250801:1.17
	netbsd-11:1.17.0.14
	netbsd-11-base:1.17
	netbsd-10-1-RELEASE:1.17
	perseant-exfatfs-base-20240630:1.17
	perseant-exfatfs:1.17.0.12
	perseant-exfatfs-base:1.17
	netbsd-8-3-RELEASE:1.16
	netbsd-9-4-RELEASE:1.17
	netbsd-10-0-RELEASE:1.17
	netbsd-10-0-RC6:1.17
	netbsd-10-0-RC5:1.17
	netbsd-10-0-RC4:1.17
	netbsd-10-0-RC3:1.17
	netbsd-10-0-RC2:1.17
	netbsd-10-0-RC1:1.17
	netbsd-10:1.17.0.10
	netbsd-10-base:1.17
	netbsd-9-3-RELEASE:1.17
	cjep_sun2x-base1:1.17
	cjep_sun2x:1.17.0.8
	cjep_sun2x-base:1.17
	cjep_staticlib_x-base1:1.17
	netbsd-9-2-RELEASE:1.17
	cjep_staticlib_x:1.17.0.6
	cjep_staticlib_x-base:1.17
	netbsd-9-1-RELEASE:1.17
	phil-wifi-20200421:1.17
	phil-wifi-20200411:1.17
	is-mlppp:1.17.0.4
	is-mlppp-base:1.17
	phil-wifi-20200406:1.17
	netbsd-8-2-RELEASE:1.16
	netbsd-9-0-RELEASE:1.17
	netbsd-9-0-RC2:1.17
	netbsd-9-0-RC1:1.17
	phil-wifi-20191119:1.17
	netbsd-9:1.17.0.2
	netbsd-9-base:1.17
	phil-wifi-20190609:1.17
	netbsd-8-1-RELEASE:1.16
	netbsd-8-1-RC1:1.16
	pgoyette-compat-merge-20190127:1.16.12.1
	pgoyette-compat-20190127:1.17
	pgoyette-compat-20190118:1.17
	pgoyette-compat-1226:1.16
	pgoyette-compat-1126:1.16
	pgoyette-compat-1020:1.16
	pgoyette-compat-0930:1.16
	pgoyette-compat-0906:1.16
	netbsd-7-2-RELEASE:1.13
	pgoyette-compat-0728:1.16
	netbsd-8-0-RELEASE:1.16
	phil-wifi:1.16.0.14
	phil-wifi-base:1.16
	pgoyette-compat-0625:1.16
	netbsd-8-0-RC2:1.16
	pgoyette-compat-0521:1.16
	pgoyette-compat-0502:1.16
	pgoyette-compat-0422:1.16
	netbsd-8-0-RC1:1.16
	pgoyette-compat-0415:1.16
	pgoyette-compat-0407:1.16
	pgoyette-compat-0330:1.16
	pgoyette-compat-0322:1.16
	pgoyette-compat-0315:1.16
	netbsd-7-1-2-RELEASE:1.13
	pgoyette-compat:1.16.0.12
	pgoyette-compat-base:1.16
	netbsd-7-1-1-RELEASE:1.13
	matt-nb8-mediatek:1.16.0.10
	matt-nb8-mediatek-base:1.16
	perseant-stdc-iso10646:1.16.0.8
	perseant-stdc-iso10646-base:1.16
	netbsd-8:1.16.0.6
	netbsd-8-base:1.16
	prg-localcount2-base3:1.16
	prg-localcount2-base2:1.16
	prg-localcount2-base1:1.16
	prg-localcount2:1.16.0.4
	prg-localcount2-base:1.16
	pgoyette-localcount-20170426:1.16
	bouyer-socketcan-base1:1.16
	pgoyette-localcount-20170320:1.16
	netbsd-7-1:1.13.0.12
	netbsd-7-1-RELEASE:1.13
	netbsd-7-1-RC2:1.13
	netbsd-7-nhusb-base-20170116:1.13
	bouyer-socketcan:1.16.0.2
	bouyer-socketcan-base:1.16
	pgoyette-localcount-20170107:1.16
	netbsd-7-1-RC1:1.13
	pgoyette-localcount-20161104:1.16
	netbsd-7-0-2-RELEASE:1.13
	localcount-20160914:1.16
	netbsd-7-nhusb:1.13.0.10
	netbsd-7-nhusb-base:1.13
	pgoyette-localcount-20160806:1.13
	pgoyette-localcount-20160726:1.13
	pgoyette-localcount:1.13.0.8
	pgoyette-localcount-base:1.13
	netbsd-7-0-1-RELEASE:1.13
	netbsd-7-0:1.13.0.6
	netbsd-7-0-RELEASE:1.13
	netbsd-7-0-RC3:1.13
	netbsd-7-0-RC2:1.13
	netbsd-7-0-RC1:1.13
	netbsd-5-2-3-RELEASE:1.3.8.2
	netbsd-5-1-5-RELEASE:1.3.8.2
	netbsd-6-0-6-RELEASE:1.10.4.1
	netbsd-6-1-5-RELEASE:1.10.4.1
	netbsd-7:1.13.0.4
	netbsd-7-base:1.13
	yamt-pagecache-base9:1.13
	yamt-pagecache-tag8:1.10.2.1
	netbsd-6-1-4-RELEASE:1.10.4.1
	netbsd-6-0-5-RELEASE:1.10.4.1
	tls-earlyentropy:1.13.0.2
	tls-earlyentropy-base:1.13
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.13
	riastradh-drm2-base3:1.12
	netbsd-6-1-3-RELEASE:1.10.4.1
	netbsd-6-0-4-RELEASE:1.10.4.1
	netbsd-5-2-2-RELEASE:1.3.8.2
	netbsd-5-1-4-RELEASE:1.3.8.2
	netbsd-6-1-2-RELEASE:1.10.4.1
	netbsd-6-0-3-RELEASE:1.10.4.1
	netbsd-5-2-1-RELEASE:1.3.8.2
	netbsd-5-1-3-RELEASE:1.3.8.2
	netbsd-6-1-1-RELEASE:1.10.4.1
	riastradh-drm2-base2:1.12
	riastradh-drm2-base1:1.12
	riastradh-drm2:1.12.0.4
	riastradh-drm2-base:1.12
	netbsd-6-1:1.10.4.1.0.6
	netbsd-6-0-2-RELEASE:1.10.4.1
	netbsd-6-1-RELEASE:1.10.4.1
	netbsd-6-1-RC4:1.10.4.1
	netbsd-6-1-RC3:1.10.4.1
	agc-symver:1.12.0.6
	agc-symver-base:1.12
	netbsd-6-1-RC2:1.10.4.1
	netbsd-6-1-RC1:1.10.4.1
	yamt-pagecache-base8:1.12
	netbsd-5-2:1.3.8.2.0.6
	netbsd-6-0-1-RELEASE:1.10.4.1
	yamt-pagecache-base7:1.12
	netbsd-5-2-RELEASE:1.3.8.2
	netbsd-5-2-RC1:1.3.8.2
	matt-nb6-plus-nbase:1.10.4.1
	yamt-pagecache-base6:1.12
	netbsd-6-0:1.10.4.1.0.4
	netbsd-6-0-RELEASE:1.10.4.1
	netbsd-6-0-RC2:1.10.4.1
	tls-maxphys:1.12.0.2
	tls-maxphys-base:1.13
	matt-nb6-plus:1.10.4.1.0.2
	matt-nb6-plus-base:1.10.4.1
	netbsd-6-0-RC1:1.10.4.1
	yamt-pagecache-base5:1.12
	yamt-pagecache-base4:1.12
	netbsd-6:1.10.0.4
	netbsd-6-base:1.10
	netbsd-5-1-2-RELEASE:1.3.8.2
	netbsd-5-1-1-RELEASE:1.3.8.2
	yamt-pagecache-base3:1.10
	yamt-pagecache-base2:1.10
	yamt-pagecache:1.10.0.2
	yamt-pagecache-base:1.10
	cherry-xenmp:1.9.0.4
	cherry-xenmp-base:1.9
	bouyer-quota2-nbase:1.9
	bouyer-quota2:1.9.0.2
	bouyer-quota2-base:1.9
	matt-mips64-premerge-20101231:1.9
	matt-nb5-mips64-premerge-20101231:1.3.14.1
	matt-nb5-pq3:1.3.8.2.0.4
	matt-nb5-pq3-base:1.3.8.2
	pre-xorg-192:1.6
	netbsd-5-1:1.3.8.2.0.2
	netbsd-5-1-RELEASE:1.3.8.2
	netbsd-5-1-RC4:1.3.8.2
	matt-nb5-mips64-k15:1.3.14.1
	netbsd-5-1-RC3:1.3.8.2
	netbsd-5-1-RC2:1.3.8.2
	netbsd-5-1-RC1:1.3.8.2
	netbsd-5-0-2-RELEASE:1.3
	matt-nb5-mips64-premerge-20091211:1.3
	matt-premerge-20091211:1.6
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.3
	matt-nb4-mips64-k7-u2a-k9b:1.3
	matt-nb5-mips64-u1-k1-k5:1.3
	matt-nb5-mips64:1.3.0.14
	netbsd-5-0-1-RELEASE:1.3
	jym-xensuspend-nbase:1.3
	netbsd-5-0:1.3.0.12
	netbsd-5-0-RELEASE:1.3
	netbsd-5-0-RC4:1.3
	netbsd-5-0-RC3:1.3
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.3.0.10
	jym-xensuspend-base:1.3
	netbsd-5-0-RC1:1.3
	haad-dm-base:1.3
	haad-dm-base2:1.3
	haad-nbase2:1.3
	netbsd-5:1.3.0.8
	netbsd-5-base:1.3
	matt-mips64-base2:1.3
	haad-dm:1.3.0.6
	haad-dm-base1:1.3
	wrstuden-revivesa-base-3:1.3
	wrstuden-revivesa:1.3.0.2
	wrstuden-revivesa-base-2:1.3;
locks; strict;
comment	@# @;


1.17
date	2018.12.31.11.14.04;	author mrg;	state Exp;
branches;
next	1.16;
commitid	TUVjjF1MdjrmtW5B;

1.16
date	2016.08.14.03.43.04;	author mrg;	state Exp;
branches
	1.16.12.1
	1.16.14.1;
next	1.15;
commitid	J271e7p9sa4wUdiz;

1.15
date	2016.08.12.01.15.51;	author mrg;	state Exp;
branches;
next	1.14;
commitid	5GiziC5fk8bIaXhz;

1.14
date	2016.08.11.08.32.43;	author mrg;	state Exp;
branches;
next	1.13;
commitid	8krHm1L1UVyjzRhz;

1.13
date	2014.03.23.20.39.40;	author tron;	state Exp;
branches;
next	1.12;
commitid	vAY1akMUbPnPFRtx;

1.12
date	2012.03.27.00.36.06;	author joerg;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2012.03.17.12.42.31;	author nakayama;	state Exp;
branches;
next	1.10;

1.10
date	2011.08.02.09.11.38;	author mrg;	state Exp;
branches
	1.10.2.1
	1.10.4.1;
next	1.9;

1.9
date	2010.12.05.15.57.40;	author adam;	state Exp;
branches;
next	1.8;

1.8
date	2010.11.23.10.19.55;	author mrg;	state Exp;
branches;
next	1.7;

1.7
date	2010.11.23.08.22.33;	author mrg;	state Exp;
branches;
next	1.6;

1.6
date	2009.07.02.04.27.05;	author macallan;	state Exp;
branches;
next	1.5;

1.5
date	2009.06.12.01.59.06;	author mrg;	state Exp;
branches;
next	1.4;

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

1.3
date	2008.08.24.13.47.05;	author rtr;	state Exp;
branches
	1.3.2.1
	1.3.6.1
	1.3.8.1
	1.3.14.1;
next	1.2;

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

1.1
date	2008.08.05.05.58.52;	author mrg;	state Exp;
branches;
next	;

1.16.12.1
date	2019.01.18.08.49.07;	author pgoyette;	state Exp;
branches;
next	;
commitid	Lmlzg3OVT2cd6f8B;

1.16.14.1
date	2019.06.10.22.02.48;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.12.2.1
date	2014.08.20.00.00.15;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.10.2.1
date	2012.04.17.00.04.51;	author yamt;	state Exp;
branches;
next	1.10.2.2;

1.10.2.2
date	2014.05.22.14.09.47;	author yamt;	state Exp;
branches;
next	;
commitid	FFQX08bYGKywAxBx;

1.10.4.1
date	2012.04.06.17.02.09;	author riz;	state Exp;
branches;
next	;

1.3.2.1
date	2008.08.24.13.47.05;	author wrstuden;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	2008.09.18.05.18.46;	author wrstuden;	state Exp;
branches;
next	;

1.3.6.1
date	2008.08.24.13.47.05;	author haad;	state dead;
branches;
next	1.3.6.2;

1.3.6.2
date	2008.10.19.22.41.20;	author haad;	state Exp;
branches;
next	;

1.3.8.1
date	2009.09.17.04.24.40;	author snj;	state Exp;
branches;
next	1.3.8.2;

1.3.8.2
date	2009.09.18.02.03.35;	author snj;	state Exp;
branches;
next	;

1.3.14.1
date	2010.04.21.05.24.45;	author matt;	state Exp;
branches;
next	;


desc
@@


1.17
log
@build updates for xorg-server 1.20.3:
- moved/removed/new files
- don't define HAVE_XORG_CONFIG_H or HAVE_DIX_CONFIG_H if using
  ${X11FLAGS.DIX} -- already included.

put glxvnd into glx itself for now.
@
text
@#	$NetBSD: Makefile,v 1.16 2016/08/14 03:43:04 mrg Exp $

.include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod"

TOP=	${X11SRCDIR.xorg-server}
XFTOP=	${TOP}/hw/xfree86

LIB=	loader
LOADERDIR=	${XFTOP}/${LIB}
.PATH:	${LOADERDIR}

SRCS=	loader.c loadmod.c sdksyms.c

.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
#SRCS+=	SparcMulDiv.S
.endif

CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/xfree86/${LIB} \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/parser \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/vbe \
		-I${X11SRCDIR.xorg-server}/miext/sync \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/int10 \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/ddc \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/i2c \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/modes \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/ramdac \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/dri \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/dri2 \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/common \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/os-support/bus \
		-I${X11SRCDIR.xorg-server}/os \
		-I${X11SRCDIR.xorg-server}/Xext \
		-I${X11SRCDIR.xorg-server}/mi \
		-I${X11SRCDIR.xorg-server}/xfixes \
		-I${X11SRCDIR.xorg-server}/Xi \
		-I${X11SRCDIR.xorg-server}/include \
		-I${X11SRCDIR.xorg-server}/../include \
		-I${DESTDIR}${X11INCDIR}/X11 \
		-I${DESTDIR}${X11INCDIR}/X11/dri \
		-I${DESTDIR}${X11INCDIR}/pixman-1 \
		-I${DESTDIR}${X11INCDIR}/xorg \
		-I${DESTDIR}${X11INCDIR}/libdrm

CPPFLAGS+=	${X11FLAGS.OS_DEFINES} -DDLOPEN_SUPPORT -DHAS_SHM \
		-DIN_LOADER \
		${x11FLAGS.DIX}

.if ${MACHINE_ARCH} == "x86_64"
CPPFLAGS+=	-DUseMMAP
.endif

CPPFLAGS.loadmod.c=	${X11FLAGS.EXTENSION} -DDEFAULT_MODULE_PATH=\"${X11USRLIBDIR}/modules\"
CPPFLAGS.sdksyms.c=	${X11FLAGS.EXTENSION}

#COPTS.sdksyms.c=		-Wno-error
COPTS.loadmod.c=		-Wno-error

SDKSYMS_CFLAGS=${CFLAGS} ${CPPFLAGS}
# Ugh, pid_t in the header trips the script.
SDKSYMS_CFLAGS+= -Dpid_t=unsigned
sdksyms.c: ${XFTOP}/sdksyms.sh
	CPP=${CPP:Q} AWK=${TOOL_AWK:Q} ${HOST_SH} ${XFTOP}/sdksyms.sh ${TOP} ${SDKSYMS_CFLAGS}
sdksyms.d: sdksyms.c
CLEANFILES+=	sdksyms.c sdksyms.dep

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.16
log
@various updates:
- port pkgsrc libxshmfence patches
- Xextbuiltin/module is no longer a thing, make it normal
- always need xorg-config.h/xorg-server.h for server components now
- add present, damage, render, Xi, dri, pixman,  extension where needed
- fix various CPPFLAGS issues
- deal with moved sdksyms.sh
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2016/08/12 01:15:51 mrg Exp $
d13 1
a13 1
SRCS=	loader.c loadmod.c os.c sdksyms.c
a45 1
		-DHAVE_XORG_CONFIG_H -DHAVE_DIX_CONFIG_H \
@


1.16.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2018/12/31 11:14:04 mrg Exp $
d13 1
a13 1
SRCS=	loader.c loadmod.c sdksyms.c
d46 1
@


1.16.12.1
log
@Synch with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2016/08/14 03:43:04 mrg Exp $
d13 1
a13 1
SRCS=	loader.c loadmod.c sdksyms.c
d46 1
@


1.15
log
@round do of reach over updates for xorg-server 1.18.  again, untested,
but this should be much closer to complete for the necessary changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2016/08/11 08:32:43 mrg Exp $
d36 3
d40 1
d42 2
a43 1
		-I${DESTDIR}${X11INCDIR}/xorg
d46 1
d60 5
a64 2
sdksyms.c: sdksyms.sh
	CPP=${CPP:Q} AWK=${TOOL_AWK:Q} ${HOST_SH} ${XFTOP}/sdksyms.sh ${TOP} ${CFLAGS} ${CPPFLAGS}
@


1.14
log
@first merge of xorg-server 1.18.4 reach over.  not tested, and
missing at these new subdirs, some which may not be needed:

	dri2
	glamor
	hw/xfree86/drivers/modesetting
	hw/xfree86/parser
	present
	pseudoramiX
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2014/03/23 20:39:40 tron Exp $
d6 3
d10 1
a10 1
LOADERDIR=	${X11SRCDIR.xorg-server}/hw/xfree86/${LIB}
d28 2
d55 1
a55 1
	CPP=${CPP:Q} AWK=${TOOL_AWK:Q} ${HOST_SH} $(LOADERDIR)/sdksyms.sh $(X11SRCDIR.xorg-server) ${CFLAGS} ${CPPFLAGS}
@


1.13
log
@Remove auto-generated files in "cleandir" target.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2012/03/27 00:36:06 joerg Exp $
d10 1
a10 1
SRCS=	loader.c loadext.c loadmod.c os.c sdksyms.c
a17 1
		-I${X11SRCDIR.xorg-server}/hw/xfree86/dixmods/extmod \
a18 1
		-I${X11SRCDIR.xorg-server}/miext/cw \
@


1.12
log
@Use :Q for quoting. Execute shell script using the host shell.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2012/03/17 12:42:31 nakayama Exp $
d54 1
a54 1
CLEANFILES+=	sdksyms.c
@


1.12.2.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d54 1
a54 1
CLEANFILES+=	sdksyms.c sdksyms.dep
@


1.11
log
@Use toolchain awk to make them buildable on Solaris 10.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2011/08/02 09:11:38 mrg Exp $
a50 3
.include <bsd.x11.mk>
.include <bsd.lib.mk>

d52 1
a52 1
	CPP='$(CPP)' AWK='$(TOOL_AWK)' $(LOADERDIR)/sdksyms.sh $(X11SRCDIR.xorg-server) ${CFLAGS} ${CPPFLAGS}
d55 3
@


1.10
log
@various updates for xorg-server 1.10.3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2010/12/05 15:57:40 adam Exp $
d55 1
a55 1
	CPP='$(CPP)' AWK='$(AWK)' $(LOADERDIR)/sdksyms.sh $(X11SRCDIR.xorg-server) ${CFLAGS} ${CPPFLAGS}
@


1.10.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2011/08/02 09:11:38 mrg Exp $
d51 3
d55 1
a55 1
	CPP=${CPP:Q} AWK=${TOOL_AWK:Q} ${HOST_SH} $(LOADERDIR)/sdksyms.sh $(X11SRCDIR.xorg-server) ${CFLAGS} ${CPPFLAGS}
a57 3

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.10.2.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10.2.1 2012/04/17 00:04:51 yamt Exp $
d54 1
a54 1
CLEANFILES+=	sdksyms.c sdksyms.dep
@


1.10.4.1
log
@Pull up following revision(s) (requested by joerg in ticket #147):
	tests/lib/libppath/Makefile: revision 1.4
	external/mit/xorg/server/xorg-server/hw/xfree86/loader/Makefile: revision 1.11
	external/mit/xorg/server/xorg-server/hw/xfree86/loader/Makefile: revision 1.12
	tests/lib/libppath/plist_to_c: revision 1.2
Use :Q for quoting. Execute shell script using the host shell.
Use :Q for quoting. Execute shell script using the host shell.
Use toolchain awk to make them buildable on Solaris 10.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2011/08/02 09:11:38 mrg Exp $
d51 3
d55 1
a55 1
	CPP=${CPP:Q} AWK=${TOOL_AWK:Q} ${HOST_SH} $(LOADERDIR)/sdksyms.sh $(X11SRCDIR.xorg-server) ${CFLAGS} ${CPPFLAGS}
a57 3

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.9
log
@Fix building on case-insensitive file-system.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2010/11/23 10:19:55 mrg Exp $
d7 2
a8 1
.PATH:	${X11SRCDIR.xorg-server}/hw/xfree86/${LIB}
d10 1
a10 1
SRCS=	loader.c loadext.c loadmod.c dlloader.c os.c sdksyms.c
d21 1
d53 5
@


1.8
log
@add an include for sbus.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2010/11/23 08:22:33 mrg Exp $
a31 1
		-I${DESTDIR}${X11INCDIR}/X11/extensions \
@


1.7
log
@many build updates and fixes for xorg-server 1.9.2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2009/07/02 04:27:05 macallan Exp $
d26 1
@


1.6
log
@we don't have or need SparcMulDiv.S
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2009/06/12 01:59:06 mrg Exp $
d9 1
a9 2
SRCS=	loader.c loadext.c loadmod.c dlloader.c os.c dixsym.c  \
	extsym.c misym.c xf86sym.c 
d29 1
d44 1
a44 2
CPPFLAGS.xf86sym.c=	${X11FLAGS.EXTENSION}
CPPFLAGS.dixsym.c=	${X11FLAGS.EXTENSION}
d46 2
a47 2
COPTS.dixsym.c=		-Wno-error
COPTS.misym.c=		-Wno-error
@


1.5
log
@build updates for xorg-server 1.6.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2009/06/11 05:43:17 mrg Exp $
d13 1
a13 1
SRCS+=	SparcMulDiv.S
@


1.4
log
@upgrade the build framework for xorg-server 1.6.

this doesn't quite work yet.  Xvfb and Xnest attempt to link but
have missing symbols.  Xorg doesn't build all its components yet.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2008/08/24 13:47:05 rtr Exp $
d9 1
a9 1
SRCS=	loader.c loadext.c loadmod.c loadfont.c dlloader.c os.c dixsym.c  \
@


1.3
log
@use XORG_VERSION_CURRENT defined in Makefile.serverlib instead of
defining it all over the shop
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/08/15 15:55:06 rtr Exp $
d10 1
a10 1
	extsym.c fontsym.c misym.c xf86sym.c 
@


1.3.14.1
log
@sync to netbsd-5
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3.8.2 2009/09/18 02:03:35 snj Exp $
d9 2
a10 2
SRCS=	loader.c loadext.c loadmod.c dlloader.c os.c dixsym.c  \
	extsym.c misym.c xf86sym.c 
d13 1
a13 1
#SRCS+=	SparcMulDiv.S
@


1.3.8.1
log
@Apply patch (requested by mrg in ticket #958):
Sync X.Org reachover build framework and setlists with the new X.Org.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2009/06/12 01:59:06 mrg Exp $
d9 2
a10 2
SRCS=	loader.c loadext.c loadmod.c dlloader.c os.c dixsym.c  \
	extsym.c misym.c xf86sym.c 
@


1.3.8.2
log
@Apply patch (requested by mrg in ticket #958):
Missed a few bits in sparc64 xserver setlist and reachover Makefiles.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3.8.1 2009/09/17 04:24:40 snj Exp $
d13 1
a13 1
#SRCS+=	SparcMulDiv.S
@


1.3.6.1
log
@file Makefile was added on branch haad-dm on 2008-10-19 22:41:20 +0000
@
text
@d1 51
@


1.3.6.2
log
@Sync with HEAD.
@
text
@a0 51
#	$NetBSD: Makefile,v 1.3 2008/08/24 13:47:05 rtr Exp $

.include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod"

LIB=	loader
.PATH:	${X11SRCDIR.xorg-server}/hw/xfree86/${LIB}

SRCS=	loader.c loadext.c loadmod.c loadfont.c dlloader.c os.c dixsym.c  \
	extsym.c fontsym.c misym.c xf86sym.c 

.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
SRCS+=	SparcMulDiv.S
.endif

CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/xfree86/${LIB} \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/parser \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/dixmods/extmod \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/vbe \
		-I${X11SRCDIR.xorg-server}/miext/cw \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/int10 \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/ddc \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/i2c \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/modes \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/ramdac \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/common \
		-I${X11SRCDIR.xorg-server}/os \
		-I${X11SRCDIR.xorg-server}/Xext \
		-I${X11SRCDIR.xorg-server}/mi \
		-I${DESTDIR}${X11INCDIR}/X11 \
		-I${DESTDIR}${X11INCDIR}/X11/extensions \
		-I${DESTDIR}${X11INCDIR}/pixman-1 \
		-I${DESTDIR}${X11INCDIR}/xorg

CPPFLAGS+=	${X11FLAGS.OS_DEFINES} -DDLOPEN_SUPPORT -DHAS_SHM \
		-DIN_LOADER \
		${x11FLAGS.DIX}

.if ${MACHINE_ARCH} == "x86_64"
CPPFLAGS+=	-DUseMMAP
.endif

CPPFLAGS.loadmod.c=	${X11FLAGS.EXTENSION} -DDEFAULT_MODULE_PATH=\"${X11USRLIBDIR}/modules\"
CPPFLAGS.xf86sym.c=	${X11FLAGS.EXTENSION}
CPPFLAGS.dixsym.c=	${X11FLAGS.EXTENSION}

COPTS.dixsym.c=		-Wno-error
COPTS.misym.c=		-Wno-error

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.3.2.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-18 05:18:46 +0000
@
text
@d1 51
@


1.3.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 51
#	$NetBSD: Makefile,v 1.3 2008/08/24 13:47:05 rtr Exp $

.include "../../../Makefile.serverlib"
.include "../../../Makefile.servermod"

LIB=	loader
.PATH:	${X11SRCDIR.xorg-server}/hw/xfree86/${LIB}

SRCS=	loader.c loadext.c loadmod.c loadfont.c dlloader.c os.c dixsym.c  \
	extsym.c fontsym.c misym.c xf86sym.c 

.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
SRCS+=	SparcMulDiv.S
.endif

CPPFLAGS+=	-I${X11SRCDIR.xorg-server}/hw/xfree86/${LIB} \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/parser \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/dixmods/extmod \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/vbe \
		-I${X11SRCDIR.xorg-server}/miext/cw \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/int10 \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/ddc \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/i2c \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/modes \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/ramdac \
		-I${X11SRCDIR.xorg-server}/hw/xfree86/common \
		-I${X11SRCDIR.xorg-server}/os \
		-I${X11SRCDIR.xorg-server}/Xext \
		-I${X11SRCDIR.xorg-server}/mi \
		-I${DESTDIR}${X11INCDIR}/X11 \
		-I${DESTDIR}${X11INCDIR}/X11/extensions \
		-I${DESTDIR}${X11INCDIR}/pixman-1 \
		-I${DESTDIR}${X11INCDIR}/xorg

CPPFLAGS+=	${X11FLAGS.OS_DEFINES} -DDLOPEN_SUPPORT -DHAS_SHM \
		-DIN_LOADER \
		${x11FLAGS.DIX}

.if ${MACHINE_ARCH} == "x86_64"
CPPFLAGS+=	-DUseMMAP
.endif

CPPFLAGS.loadmod.c=	${X11FLAGS.EXTENSION} -DDEFAULT_MODULE_PATH=\"${X11USRLIBDIR}/modules\"
CPPFLAGS.xf86sym.c=	${X11FLAGS.EXTENSION}
CPPFLAGS.dixsym.c=	${X11FLAGS.EXTENSION}

COPTS.dixsym.c=		-Wno-error
COPTS.misym.c=		-Wno-error

.include <bsd.x11.mk>
.include <bsd.lib.mk>
@


1.2
log
@stop using XSERVERINCDIR since it was referencing src/x11 reachover
this is not correct for xorg reachover
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/08/05 05:58:52 mrg Exp $
a36 1
		-DXORG_VERSION_CURRENT=${XORG_VERSION_CURRENT} \
@


1.1
log
@add dri, int10 & loader subdirs to hw/xfree86.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4.2.2 2004/11/21 10:01:27 rtr Exp $
d33 1
a33 2
		-I${DESTDIR}${X11INCDIR}/xorg \
		-I${XSERVERINCDIR}
@
