summaryrefslogtreecommitdiffstats
path: root/configs
Commit message (Collapse)AuthorAgeFilesLines
* autoconf: Allow static library buildsDan Nicholson2007-12-071-1/+1
| | | | | | | | | | | | | | Allow the user to specify that they want static libraries through the --{enable,disable}-{static,shared} switches like libtool. The mesa build only allows for one at a time, so static will be chosen if someone has passed --enable-static or --disable-shared. This also allows the mklib options to be set at build time. This allows -static to be set for mklib, but any platform specific settings are allowed by setting MKLIB_OPTIONS for configure. Handling of the program libraries through the APP_LIB_DEPS variable is pretty ugly, but it seems to work.
* autoconf: Configure the osmesa channel size for OSMesa16 and OSMesa32Dan Nicholson2007-12-071-1/+1
| | | | | | | | | | Allow the user to specify channel bits of 16 or 32 to enable OSMesa16 or OSMesa32 instead of the default OSMesa. This option is controlled through the option --with-osmesa-bits=BITS and is only honored when the driver is osmesa. The osdemos are not enabled in the 16 or 32 bit case because the Makefile is currently hardcoded to link to -lOSMesa.
* autoconf: Add support for shared DRI build on linux and freebsdDan Nicholson2007-12-071-0/+17
| | | | | | | | | Added autoconf bits to allow using DRI as the driver through the option --with-dri-driver=DRIVER. The options are x11 (default) and dri. Three DRI specific options for controlling the driver directory, direct rendering and TLS are also added. The DRI will probably not work for platforms besides linux and freebsd.
* autoconf: Initial support for an autoconf configurationDan Nicholson2007-12-072-0/+88
| | | | | | | | | | | | | | | | | | | | | This adds the initial support for using autoconf configuration. Support is available for shared Xlib driver builds. Later this will be extended to dri and osmesa-only builds and possibly targetting non-X backends. Support for static library builds will also be added. The configure script fills in the autoconf config. This is then used by running `make autoconf' after ./configure. Testing has been done on Linux/GNU. The configure script tries to faithfully reproduce the current configs/linux* and configs/freebsd*. Other platforms can be handled later by adding similar statements and feature tests. Pkg-config is used to search for packages when possible. This makes the build much more flexible and robust to the user's configuration. This requires that the pkg-config autoconf macros pkg.m4 are included in aclocal.m4. This requires autoconf and aclocal from autoconf and automake, respectively.
* Make osdemos linking like other programsDan Nicholson2007-12-074-4/+4
| | | | | | | | | | Most of the programs list their dependencies on the Mesa libraries in their Makefiles. This works with the default configuration where APP_LIB_DEPS only lists external libraries. This changes the linux-osmesa configs and the osdemos Makefile to follow that convention. Some cleanup of the Makefile is also added to refer to the GL libraries through the existing variables rather than hardcoding their names.
* configs: Fix linking with static libGL and --as-neededDan Nicholson2007-12-073-3/+6
| | | | | | Linking of the programs breaks when using a static libGL and the GNU ld option --as-needed. This is because libXext is needed for the XShm functions.
* glut doesn't need -lXtBrian2007-12-031-1/+1
|
* Add -fno-strict-aliasing workaround for all GCC targetsDan Nicholson2007-11-0118-0/+70
| | | | | Use a GCC option to work around aliasing bugs. See commit 013dbcd for more details.
* configs: Set -fexceptions for GLUT on linux-dri like other targetsDan Nicholson2007-10-311-0/+2
| | | | | | | | | Quite a while ago, the GCC option -fexceptions was added for building libglut. See here: http://article.gmane.org/gmane.comp.video.mesa3d.devel/9499 This was missing in the linux-dri targets.
* configs: Always use -fPIC for shared libraries, never for staticDan Nicholson2007-10-318-6/+6
| | | | | | | | | | | Mesa currently disables -fPIC for DRI on x86, but most Linux distros are re-enabling -fPIC for all DRI arches. Let's just do that here since that's normally what's wanted for shared libraries. Some justification: http://bugs.gentoo.org/show_bug.cgi?id=110840#c9 On the other hand, position-independent code is only necessary when building shared libraries, so disable it for the static cases.
* Add -fno-strict-aliasing workaround for Linux GCC targetsDan Nicholson2007-10-3115-0/+48
| | | | | | | | | | | | Most Linux distros work around aliasing problems in Mesa by compiling with the GCC option -fno-strict-aliasing. Two examples: https://bugs.freedesktop.org/show_bug.cgi?id=6046 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394311 This makes -fno-strict-aliasing the default with a comment that developers should consider commenting it out. There is a already a note about these bugs in docs/helpwanted.html.
* Build xdemos programs by default on linux-driDan Nicholson2007-10-292-4/+4
| | | | | Since libglut is no longer hardcoded, we can build the xdemos programs so long as a GLX enabled libGL and libGLU have been built.
* linux-dri-xcb: Fix undefined refs when linking with libGLDan Nicholson2007-10-291-2/+3
| | | | | GL_LIB_DEPS was missing -lXdamage and -lXfixes, which was causing linker errors when trying to build the programs.
* update APP_LIB_DEPS for static library configs (patch 3/3)Dan Nicholson2007-10-293-6/+3
|
* simplify APP_LIB_DEPS (patch 2/3)Dan Nicholson2007-10-291-2/+4
|
* configs: Fix linux-static to link correctlyDan Nicholson2007-10-261-3/+2
| | | | | | The linux-static target was missing necessary libraries and hardcoding their location to /usr/X11R6/lib. This makes it comparable to the x86 and x86-64 static targets.
* added catamount-osmesa-pgi configAlex Neundorf2007-10-241-0/+32
|
* FreeBSD: more /usr/X11R6->/usr/localEric Anholt2007-10-041-4/+4
|
* add support for LDFLAGS env varDan Nicholson2007-09-281-0/+1
|
* FreeBSD: Chase /usr/X11R6 death (replaced by everything in one prefix).Eric Anholt2007-09-271-2/+2
|
* Move i915tex driver into place as just i915.Eric Anholt2007-09-242-2/+2
|
* Remove the old i915 driver now that i915tex works without TTM.Eric Anholt2007-09-242-2/+2
|
* fix -D_BSD_SOURCBrian2007-09-201-1/+1
|
* Added bluegene-xlc-osmesa config (Alexander Neundorf)Brian2007-09-201-0/+29
|
* Add missing -g in FreeBSD OPT_CFLAGSEric Anholt2007-09-191-1/+1
|
* add OSMESA_LIB_NAMEBrian2007-08-031-0/+2
|
* added -lmBrian2007-08-031-1/+1
|
* OSmesa on BlueGene (Alexander Neundorf)Brian2007-08-021-0/+27
|
* fix some FreeBSD issuesBrian2007-07-312-2/+2
|
* New sunos5-v9-cc-gcc config (Roland Egger)Brian2007-07-301-0/+32
|
* Fix a number of MINGW32 issuesZhang2007-07-211-0/+42
|
* Use -pthread instead of -lpthread on FreeBSD.Eric Anholt2007-06-221-2/+2
|
* miniglx: update defines in linux-solo configDave Airlie2007-06-051-1/+2
|
* master/trunk is now for Mesa 7.1 devel: bump versionsBrian2007-05-141-1/+1
|
* nouveau: disable nouveau build by defaultDave Airlie2007-05-051-1/+1
| | | | Until this is API/ABI stable building it by default isn't a good idea.
* Makefile clean-ups for miniglx.Brian2007-05-041-3/+10
|
* Version bumps for 7.0Brian2007-04-271-3/+3
|
* Make xcb backend compile.Jeremy Kolb2007-04-201-2/+3
| | | | Add nouveau to match linux-dri config.
* add glsl to PROGRAM_DIRSBrian2007-04-081-1/+1
|
* bump version to 6.5.3 to match version.hBrian2007-03-281-1/+1
|
* Overhaul of error handling.Brian2007-02-261-1/+1
|
* New debug config for linux-driKeith Whitwell2007-01-171-0/+16
|
* Add reporting of damage by DRI drivers when the extension support is available.Eric Anholt2007-01-052-2/+4
| | | | | | | | | | | | | | With this, tools like ximagesrc in gstreamer correctly see updates from GL rendering. Support requires that the Xdamage library be current (but will be disabled if not present) plus a new X Server with support for the new XDamagePost request. libGL now has a new interface version, and also links against libXdamage and libXfixes to support it, but backwards compatibility is retained. Currently, all drivers report damage at SwapBuffers time through common code -- front buffer rendering doesn't result in damage being reported. Also, the damage is against the root window, as our drivers don't yet render to backing store when they should (composited environments).
* Make git ignore files only generated at build time.Michel Dänzer2006-12-061-0/+1
|
* Add i915tex and i965.Gary Wong2006-12-021-1/+1
|
* the following improvements to linux-fbdev:Sean D'Epagnier2006-11-301-7/+3
| | | | | | | | | | | | | | | | | 1. updated makefiles to build libOSMesa as well as libGL these are improvements to fbdev-glut 1. mouse cursor will timeout and be invisible if not being used 2. do not restore colormaps to truecolor targets, this causes problems at exit on my g450 3. fixed a crash when cleaning up from failure by munmaping what had not yet been mmaped 4. Resize event handling is improved, the resize function is not invoked from a signal handler now. 5. The main loop can detect if it is running very fast (greater than 2khz) 6. keyboard up and special up events are generated from stdin input mode and if it is also not redrawing, it sleeps 7. corrections in escape sequences for function keys for stdin input
* need to specify Xlibs with APP_LIB_DEPSBrian Paul2006-11-181-0/+5
|
* merge the (rest of) texmem branchKeith Whitwell2006-11-011-1/+1
|
* remove some debug/test changesBrian Paul2006-10-191-2/+1
|
* New bin/minstall script - a minimal replacement for 'install'.Brian Paul2006-10-193-7/+3
| | | | Correctly handles symlinks so we can get rid of the COPY_LIBS stuff.