Commit Graph

307 Commits

Author SHA1 Message Date
sekiya 0a541ba0ea 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.
2004-07-13 09:29:45 +00:00
uch f3970e5667 make Xdreamcast compile again. (work fine.) 2004-07-06 13:41:13 +00:00
lukem 0a3a939b03 Relocate X68kConfig from X11LIBDIR to X11ETCDIR 2004-06-13 11:47:41 +00:00
lukem 64ac75227d Use ${X11ETCDIR} instead of /usr/X11R6/lib/X11 for the location of XF86Config. 2004-05-17 23:50:09 +00:00
lukem 10cfcae8fc Radically overhaul X11 configuration:
*	End user modifiable configuration has moved from
		/usr/X11R6/lib/X11/<someprog>
	to
		/etc/X11/<someprog>
	This is consistent with our own policies as well as other projects.

	The files & directories that were moved have _NOT_ been marked
	`obsolete', as they contain user configuration and therefore we
	don't want the automatic "obsolete file removal" mechanism to
	remove them.

    *	The /etc/font/* and /etc/X11/* configuration files are installed
	with 'configinstall' (not 'install'), using CONFIGFILES and
	CONFIGSYMLINKS.
	This is so that a normal 'make build' in src/x11 will not
	trash your configuration.

    *	A 'distribution' target has been added to src/x11 to perform
	'make configinstall' in the appropriate subdirectories.
	(Should we consider making 'configinstall' a first-class target?)

    * 	The xdm pixmaps have have been moved to /usr/X11R6/include/X11/pixmaps
	where the other pixmaps are.
	(I don't consider these pictures end-user configuration).


IMPORTANT NOTE:

    *	These changes require an up to date xsrc, and 'make cleandir' should
	be performed in src/x11 before a build for the changes to fully take
	effect.
2004-05-16 10:25:13 +00:00
he dedc7522a7 Drop optmization to -O0 for sh5 for one file to work around an
internal compiler error.
2004-05-14 07:21:24 +00:00
lukem e2d2459f58 Define XDMCP_NO_IPV6 along with XDMCP, as per the "native" XFree86 4.4 build. 2004-04-29 02:14:52 +00:00
mhitch e52720514e The Xprt build needs cfb, and the vax Xserver will soon need the cfb stuff,
so enable building cfb.  Fixes Xprt build failure on vax when building
from src/x11.
2004-04-23 06:23:42 +00:00
mhitch 46aadbda46 XINPUT is also needed by vax. 2004-04-23 05:56:47 +00:00
mrg d9fb13565a only -D_PC on i386/amd64. from PR#25036. 2004-04-17 06:47:04 +00:00
drochner 2405f1e72b while there is no pcvt on amd64, wscons emulates it, and xfree86
doesn't like a wscons which doesn't emulate anything, so we have
to use PCVT_SUPPORT to make VT switching work
2004-04-15 15:15:11 +00:00
drochner dad2483208 whitespace cleanup 2004-04-15 14:55:26 +00:00
drochner 815a909f67 create an .OBJDIR to make it build on a read-only source tree 2004-04-15 14:54:32 +00:00
drochner 403f84395e pass -export-dynamic to the linker, otherwise the dlopen() loader is
pointless
2004-04-15 14:53:40 +00:00
drochner 5f373dba65 use mmap() on amd64 to activate the loader.c hack 2004-04-15 14:52:03 +00:00
lukem f6c0266f4d Add -I${X11SRCDIR.xc}/lib/xtrans, -I${X11SRCDIR.xc}/lib/GL/glx, (etc)
as appropriate.
Based on fix from Hubert Feyrer, cross-checked with the native Imakefiles.
2004-04-05 12:03:25 +00:00
jdc 0b6352e327 Xfree68 server code. Brought over from Xfree 3.
XXX: This does not compile and some extra code needs to be brought across.
2004-03-28 15:31:32 +00:00
jdc e7d8e3d1a1 Add XFree68 directories. 2004-03-28 15:28:24 +00:00
chris 5d5ac9781d When using dynamic module loading on arm, we need to link in libarm. This
is so we can find icache sync functions.
2004-03-28 15:19:30 +00:00
jdc abd1c81ab7 Add iplan libraries. 2004-03-28 14:30:38 +00:00
jdc 55817e09ea Add iplan sub-directories. 2004-03-28 14:24:38 +00:00
jdc 3f72c9ae4c Interleaved plane framebuffer support. 2004-03-28 14:06:26 +00:00
soren 7b58653939 PR misc/24247: Remove duplicate ${LIBI386}. 2004-03-27 15:30:03 +00:00
soren ca9b535c66 PR misc/24247: Fix typo. 2004-03-27 15:27:01 +00:00
rtr 5284eba6e3 + set correct XKB_RULES_DIR path
should resolve pr#24815
2004-03-17 23:19:48 +00:00
perry 1743443686 Add a compile flag, MKTTINTERP, that turns on the bytecode interpreter
when it is set to yes (typically in /etc/mk.conf)

The freetype bytecode interpreter is not on by default because it is
patented in some jurisdictions.
2004-03-17 23:15:30 +00:00
kleink 80b12afa54 Don't override MLINKS for Xsun24; append to it. 2004-03-17 00:18:57 +00:00
matt 3cce4563ce Don't build as fontmodules or install if X11FLAGS.LOADABLE is empty. 2004-03-16 17:40:53 +00:00
wiz 4fdf521f76 It's extension, not extention. From Miod Vallat (miod at online fr). 2004-03-14 20:11:24 +00:00
matt 2781c357ae Only build newport on sgimips. 2004-03-14 17:01:10 +00:00
matt 9c9d9ff61c Bump XF86 version to 4.4.0 2004-03-14 17:00:30 +00:00
jdc b79da97fe9 Split Xsun servers so that we can build:
Xsun, XsunMono, Xsun24	on sparc, sparc64
  Xsun, XsunMono		on sun3
2004-03-14 08:08:45 +00:00
matt 63acca1d77 Split drivers between obviously i386-only drivers and not
macppc/sgimips drivers.
2004-03-14 07:26:58 +00:00
rtr 619cc8125d + apply patch from Tom Ivar Helbekkmo (pr24735)
+ add other missing files in addition to patch

should resolve pr#24735
2004-03-11 01:09:35 +00:00
rtr f52be06c26 Update reachover to build XSUN for sun3 2004-03-10 16:21:16 +00:00
rtr 4945dfe3ca remove commented out directives not needed 2004-03-07 13:50:25 +00:00
rtr a0b49b5989 + remove DDB from COPTS (oops)
+ add radeon reachover (doesn't build, so commented out in drm/Makefile
  SUBDIR).
2004-03-06 11:44:41 +00:00
rtr 2a5927e586 + drm (sub)loadable module
+ mga dri lkm
2004-03-06 11:36:05 +00:00
rtr 473a0a3bea userland part of dri for mga and radeon cards
XXX
	+ common components need to be separated in the future
	+ only mga & radeon provided for now
	+ necessary to rename libmga_drv.so.n.n -> mga_drv.so by hand
	  see dri/Makefile for comment.
2004-03-06 10:30:26 +00:00
rtr b02cb79e1a + update reachover Xserver/* for xf4.4 2004-03-06 03:31:05 +00:00
rtr ba6b26100c + the non-loadable version of libcfb.a needs cfbcmap. 2004-03-04 01:06:57 +00:00
rtr 2b884e11d4 + cfbcmap.c is only for libcfb.a (8)
+ use correct cfbmodule.c's for 8,16,24,32 libcfb respectively.

Resolves (remaining?) problems with xf86cfg.
2004-03-03 16:11:45 +00:00
skrll 5df6f3ecad Correct the defines to mfbbltO.c
xf86cfg can now load libxf1bpp.a
2004-03-03 14:32:53 +00:00
rtr 32fad750c1 + put common CPPFLAGS in one file
+ add -DFONTMODULE -DMODNAME=${LIB} for xtt modules
+ add required include paths for FONTMODULE, MODNAME
Fix as per changes in pr by Kouichirou Hiratsuka

This should resolve pr#24032
2004-03-03 08:38:09 +00:00
rtr 29dc39116b Always -UDDXTIME we'd get rid of it in source but native needs it. 2004-02-24 15:17:48 +00:00
uwe bf04b0ee5f Enable Xhpc on hpcsh. 2004-02-22 18:30:34 +00:00
rtr 39401ac035 SRCS+= GetTimeInMillis.c for special combinations of XFree86 server is
being built with other servers.
2004-02-21 08:35:28 +00:00
rtr 36f1e88d93 MKMAN=no was there ever a Xmacppc.man? 2004-02-21 08:33:23 +00:00
rtr 12cdb6c3cf move libos.a down in the link line so its version of GetTimeInMillis() is
not the one linked (instead we get the version from libxnest.a and libxvfb.a)
appropriately.
2004-02-21 08:32:34 +00:00
sekiya 6b0d2196d3 Add sgimips as a valid XFree86 server target. 2004-02-21 01:51:43 +00:00
rtr afb68f3457 compile correct path to 'Cards' file into xf86config
this is into response to (not so)recent post I can't find and should
resolve the described problem i.e. Cards file wasn't found.
2004-02-18 04:59:56 +00:00
chris f1d5c4b47a Add cross build glue for cats. 2004-02-13 16:56:19 +00:00
mhitch 756f7c1000 Xamiga needs FORCE_SEPARATE_PRIVATE. 2004-02-13 04:49:00 +00:00
lukem dfbe2402b8 fix dependency on xf86Build.h, and add some comments 2004-02-09 04:18:24 +00:00
lukem c3af380567 no need to determine XSERVERINCDIR here 2004-02-09 00:28:25 +00:00
lukem 96457165ec add DPSRCS entry for .h file created with BUILDSYMLINKS 2004-02-09 00:25:05 +00:00
lukem c874e04b84 * add xf86PciIds.h to DPSRCS to fix parallel make issue
* there's no need to find the .OBJDIR of this directory for includes
  as -I. suffices.
2004-02-08 23:27:38 +00:00
rtr e620708b1d add X -> Xdreamcast default symlink 2004-02-07 12:46:48 +00:00
rtr 0aed830d75 Xdreamcast now builds so turn it on. 2004-02-07 12:28:13 +00:00
rtr 2e1bb1e734 place a seconf libcfb on the link line after libcfb16.a since it refs
libcfb.a symbols.  This lets Xdreamcast build.
2004-02-07 12:27:33 +00:00
rtr cd87f297eb + Xdreamcast reachover, by default turned off.
+ sorting of various XSERVER_ entries in Makefiles
+ addition of Xpmax Xdreamcast Xmacppc XSERVER_ entries
+ consistent use of != "no" instead of == "yes" changes
2004-02-07 08:30:34 +00:00
lukem 8d125fd0e6 Cache XSERVERLIB determination in Makefile.serverlib rather than
in 111 separate places.  Speeds up empty "cleandir" from 27.17s to 13.75s.
2004-02-07 06:52:04 +00:00
lukem cb53a4d3d5 don't need .PATH here 2004-02-07 05:23:56 +00:00
rtr 5ce86a019f use ${PRINTX11VERSION} 2004-02-06 11:58:56 +00:00
rtr fe5ae52dea + print MACHINE not MACHINE_ARCH for OSNAME
+ add release to OSNAME
2004-01-26 05:14:13 +00:00
mhitch 24e7e49ae8 Xamiga does not need NEED_SCREEN_REGIONS. 2004-01-25 05:20:02 +00:00
rtr 74e6f70b7d + No need to undefine -UXF86VIDMODE twice
+ No need to define XF86DRI since it's never defined to begin with
+ __GLX_ALIGN64 now defined globally in X11FLAGS.EXTENSION.
2004-01-25 02:19:38 +00:00
rtr 364a6162e7 define -DHAS_MTRR_BUILTIN -DUSE_I386_IOPL for x86_64
patch from njoly@pasteur.fr
also MACHINE == "amd64" -> MACHINE_ARCH == "x86_64"
should resolve pr#24204
2004-01-24 05:51:20 +00:00
rtr 0f0f0dce34 -lx86_64 if x86_64 2004-01-23 08:59:20 +00:00
rtr 099ae88634 x86_64 (amd64) link w/ libx86_64 where appropriate 2004-01-23 08:45:02 +00:00
matt e78cfba9ff Add amd64 support. 2004-01-19 00:36:09 +00:00
lukem 9bd8d033a9 Don't bother installing:
./usr/X11R6/lib/X11/etc/sun.termcap
	./usr/X11R6/lib/X11/etc/sun.terminfo
	./usr/X11R6/lib/X11/etc/xterm.termcap
	./usr/X11R6/lib/X11/etc/xterm.terminfo
2004-01-19 00:30:01 +00:00
rtr 3f64bae6d7 reachover for libamiga.a forgotten in Xamiga import 2004-01-18 05:36:19 +00:00
rtr c3936a1977 + Reachover for XdecNetBSD, XalphaNetBSD, Xarm32VIDC
XXX certain extensions should/should not be built and linked that are.
XXX X -> symlink defaults may not be appropriate.
2004-01-18 05:35:03 +00:00
rtr 462bd38713 SUBDIR.afb for Xamiga 2004-01-18 05:24:45 +00:00
rtr 67730f2e2d add dependencies 2004-01-17 06:39:43 +00:00
rtr fd3ecbad7e add XSERVER_XAMIGA and XSERVER_HAS_AFB 2004-01-17 04:06:18 +00:00
rtr 3bea515962 Xamiga reachover 2004-01-17 04:03:26 +00:00
rtr 3c57e953ad build libamiga.a if Xamiga 2004-01-17 03:56:25 +00:00
rtr dd6e622644 NEED_SCREEN_REGIONS for Xamiga 2004-01-17 03:53:54 +00:00
rtr 8c37b5823c amiga needs XINPUT for Xnest 2004-01-17 03:50:51 +00:00
rtr d7a05a6f4b fix typo MCopy -> Mcopy 2004-01-13 15:55:14 +00:00
rtr 78c129485b no FB then VFB for x68k 2004-01-11 13:28:46 +00:00
rtr 017db572b5 build Xvfb by default 2004-01-11 09:07:28 +00:00
rtr c3eb974543 make Xvfb use GetTimeInMillis() from libos.a if its there 2004-01-11 08:30:42 +00:00
lukem e0d2e74a5d tweak some XTODO items 2004-01-10 23:35:55 +00:00
rtr a63b539adb Undefine DDXTIME if XFree86 server is being built since XFree86 provides
its own copy of GetTimeInMillis().

+ This allows us to get rid of multiple versions of GetTimeInMillis().
  It is provided by libos.a if DDXTIME is undefined.

XXX macppc may be a special case since it builds both XFree86 and Xmacppc
    will resolve later if found to be an issue.
2004-01-10 16:28:29 +00:00
rtr 42fd51da28 + Manpages
+ Wrap lines > 80 chars
2004-01-10 16:14:37 +00:00
rtr 80a1b2e48d + add Xmac68k manpage.
+ wrap lines > 80 chars
2004-01-10 14:44:18 +00:00
rtr b841d1dd82 trim include dirs not needed 2004-01-10 13:04:03 +00:00
rtr 4500ee8592 remove drivers not in macppc lists 2004-01-10 13:02:13 +00:00
rtr 1ecafccdd3 Reachover for Xpmax, it builds as good as it ever did from native XF3. 2004-01-10 05:26:14 +00:00
fredb 782d376ab0 Add and enable cross-build framework for Xmac68k X server using patches
submitted by David P. Reese Jr. in PR xsrc/23968, updated for the recent
changes that have been made in "src/x11". (This currently builds and runs,
unlike the native XF4 mac68k xsrc build.)
2004-01-10 04:34:33 +00:00
minoura 1b60d5c936 Make symlink X -> X68k. 2004-01-08 12:29:49 +00:00
lukem b2c15cb7bf Fix generation of XF86Config.eg and XF86Config.98. 2004-01-08 05:07:41 +00:00
lukem a4b9f943c1 move xf86PciIds.h from SRCS to DPSRCS, so TRT happens... 2004-01-08 04:39:16 +00:00
lukem f165d2f537 fix previous; the original srcfile is called XF86Config.indy already 2004-01-08 04:25:34 +00:00
rtr 151654f33f install example XF86Config files 2004-01-08 04:22:11 +00:00
lukem ea0dd22e5d Build xf1bpp. (from rtr@, with tweaks by me) 2004-01-08 04:20:27 +00:00
rtr a1d1f64137 XF86Config.indy example 2004-01-08 04:20:00 +00:00
rtr 1b8ba79ff5 X -> XFree86 symlink, if this default is not suitable someone else is
free to provide an alternative.
2004-01-08 03:36:24 +00:00
rtr 32c7613ddb .if ${MACHINE} == "i386" || ${MACHINE} == "amd64" || \
${MACHINE} == "macppc" || ${MACHINE} == "cats"

Build Xvfb
2004-01-08 03:33:55 +00:00
rtr 82f1915f4a fbdevhw manpage 2004-01-08 03:31:54 +00:00
minoura 57eedd4f2c Descend to X68k SUBDIR. 2004-01-07 13:07:49 +00:00
minoura a324b4c25b Let him know about hw/netbsd/x68k DDX. 2004-01-07 13:07:20 +00:00
minoura 3cc13e1bb6 Build X68k if ${MACHINE} == "x68k". 2004-01-07 13:05:48 +00:00
minoura d9c2ebaf90 x68k SUBDIR. 2004-01-07 13:04:53 +00:00
minoura 323da9bcad Reachover Makefile for the X68k server. 2004-01-07 13:02:54 +00:00
minoura 6367c9b2ef Reachover Makefile for the DDX part of the NetBSD/x68k X server. 2004-01-07 13:02:27 +00:00
rtr 388ca1e80d install Cards & Options FILES 2004-01-06 16:11:49 +00:00
rtr 371160719f XVFB for macppc 2004-01-06 15:08:21 +00:00
rtr 52bac034e4 X11/etc includes sun.{termcap,terminfo} 2004-01-06 14:16:19 +00:00
rtr c32559bd19 libspeedo.a loadable module 2004-01-06 14:12:36 +00:00
mrg f4666cfbc5 - 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?
2004-01-06 12:30:13 +00:00
rtr 0eb1806afb loadable xtt modules for XFree86 X server 2004-01-06 06:46:50 +00:00
rtr 1ad775737b create X -> Xsun symlink
XXX if someone dislikes this as a default they're free to provide another
solution.
2004-01-06 06:18:14 +00:00
rtr 9723cd6d45 constype and kbd_mode for sun 2004-01-05 13:19:17 +00:00
rtr ccdb07b2cc add keyboard.4 manpage 2004-01-05 10:16:18 +00:00
rtr 4000871e51 All remaining modules except xf1bpp which may need special handling. 2004-01-05 10:14:18 +00:00
rtr 241604c488 dont override MAN= w/ MAN= must have been sleeping 2004-01-05 05:36:20 +00:00
rtr dadf1c4fd2 cirrus driver sub-modules alpine & laguna. 2004-01-05 05:31:12 +00:00
rtr 250ac0853c OS/Driver readme files xfree86 specific. 2004-01-05 05:18:08 +00:00
soren 6a8f6bd71b Back out previos; xf86Pci.h is linked from XSERVERINCDIR.
Pointed out by Tyler.
2004-01-05 03:48:38 +00:00
soren ce4f8ccef2 Use XSERVERINCDIR. 2004-01-05 03:47:10 +00:00
soren bea92f5554 Needs os-support/bus for xf86Pci.h. 2004-01-05 02:43:37 +00:00
takemura 2302078a2d Added Xserver/Xserver/Xhpc and Xserver/hw/netbsd/hpc directories for
cross building Xhpc. Now Xhpc works on hpcmips.
2004-01-03 02:05:49 +00:00
rtr df08e4e233 back out the symlink but keep the man change 2004-01-02 06:31:11 +00:00
rtr c0f92f4068 add MAN for XFree86
add X -> XFree86 symlink
2004-01-02 06:24:24 +00:00
rtr 98d8fb0a60 add missing symlink inb -> ioport 2004-01-02 06:22:05 +00:00
rtr f671d53b96 do manpages for input drivers 2004-01-02 06:20:26 +00:00
rtr e8de4a4ac8 newport and imstt drivers reachover 2004-01-02 06:19:22 +00:00
rtr 6db9dfd7c5 + add newport & imstt drivers
+ manpages for drivers
2004-01-02 06:17:34 +00:00
mrg f526c09c1a build cross Xmacppc. 2003-12-27 15:16:54 +00:00
mrg 9cca1181ca - decend into xfree86 for cats.
- decend into hw/netbsd/macppc for macppc.
- clean up.
2003-12-27 15:16:09 +00:00
mrg a7bb38194c add hw/netbsd/macppc to the loop 2003-12-27 15:14:40 +00:00
rtr 553b99b011 input drivers for xfree86 2003-12-27 03:14:56 +00:00
rtr fd8b116e51 xfree86 drivers 2003-12-26 14:53:10 +00:00
rtr 5672f93b92 set endianness in for Xserver libs. 2003-12-26 08:23:30 +00:00
rtr 7fed0f0abd Makefile to build subdirs 2003-12-26 08:22:10 +00:00
rtr 17787083c5 Various xfree86 specific progs. 2003-12-26 05:23:15 +00:00
rtr 01461329c4 dummy,scanpci,xloader libs used for building various programs
XXX scanpci is currently built once with module flags but may need to be
    built without for linking with programs.
2003-12-26 04:53:24 +00:00
rtr 99c708121c Whitespace fixes & MOD -> MODULE as it should have been. 2003-12-26 04:15:16 +00:00
rtr 34c46e53ac Install libxf86config.a
Install f86Parser.h xf86Optrec.h incs.
2003-12-24 12:44:17 +00:00
rtr c48b9a1a6a dont build Xfont modules for sparc{,64} 2003-12-23 14:44:07 +00:00
rtr aa135873f2 dont try to use things that couldnt possibly be defined -- cleanup 2003-12-23 14:28:20 +00:00
rtr a29ac0b675 no more lbxutil subdir 2003-12-23 10:48:45 +00:00
rtr 854db33d43 Loadable drivers for XFree86. 2003-12-23 10:46:27 +00:00
rtr a8feda508b turn on xfree86 subdir build 2003-12-23 10:26:37 +00:00
rtr c43324f842 Don't build libXfont.a and liblbxutil.a a second time for Xserver. 2003-12-23 10:24:48 +00:00
rtr 22a5ed24db Don't rely on libs built from Xserver anymore, they're going away, instead
link to those installed (and were built from x11/lib)
Makefile.Xserver - don't create vars for dirs that soon won't exist.
2003-12-23 10:23:07 +00:00