summaryrefslogtreecommitdiff
path: root/src/mesa/Makefile
AgeCommit message (Collapse)Author
2008-05-07Never fail `make clean'Dan Nicholson
Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
2008-05-07Run `make clean' in drivers/xorg, tooDan Nicholson
2008-05-07Refactor installation targetsDan Nicholson
Currently, there is a single path in src/mesa/Makefile to install that has a few conditionals in it. This commit changes install to act like default where we loop over $(DRIVER_DIRS), deciding what to do. A new target, install-headers, has been broken out to accomodate installing a standalone OSMesa where neither libGL or gl.pc are wanted.
2008-05-07Ensure recursive makes always propagate errorsDan Nicholson
There were a couple spots left where a recursive make could fail in a chain of commands without stopping.
2008-05-06Prevent makedepend from running multiple timesDan Nicholson
The default target in src/mesa/Makefile calls a recursive $(MAKE). With parallel jobs, this causes makedepend to run twice. Instead, block on the first make until depend has been created.
2008-05-06Error consistently when running recursive makeDan Nicholson
When changing directories and running a sub-make, ensure that both the cd and make commands propagate errors to the parent make.
2008-04-23glcore: build from mesaGeorge Sapountzis
2008-03-10Move make install logic for libGL back into src/mesa/Makefile.Kristian Høgsberg
This makes make install work again for non-glx libGL implementations. The make install logic is split into three sub-targets: install-libgl, install-osmesa, install-drivers. The install target in src/glx/x11 is then implemented using the src/mesa make install-libgl rule. Thanks to Dan Nicholson for pointing out the breakage.
2008-03-08Move libGL install target to the libGL Makefile.Kristian Høgsberg
2008-02-25autoconf: Add gcc search patch to MKDEP_OPTIONS to eliminate warnings.Kristian Høgsberg
Also, use -include to avoid error message when make initially fails to include the non-existent depend file.
2008-01-11Allow osmesa to be enabled or disabledDan Nicholson
The conditional in src/mesa/Makefile currently hardcodes the cases where libOSMesa can be built on libGL. Likewise, the xlib case always includes libOSMesa in the stand-alone target. This changes the conditional to a loop over the DRIVER_DIRS variable. This means that any driver configuration can enable or disable osmesa. The current "stand-alone" rule is changed so that DRIVER_DIRS=x11 and DRIVER_DIRS="x11 osmesa" are both respected. The configure option is changed to --enable-gl-osmesa as this change allows libOSMesa to be built upon any of the libGL-enabling drivers.
2007-12-03added missing quote charBrian
2007-10-25use grep -qBrian
2007-10-25simplify/fix the ASM_FLAGS tests (bug 12931)Brian
2007-10-24don't build x86, x86-64 dirs if not neededBrian
2007-09-28add support for LDFLAGS env varDan Nicholson
2007-09-12pkg-config supportDan Nicholson
2007-09-12DESTDIR support.Dan Nicholson
2007-06-12fix make clean commands so missing subdirs don't cause infinite loopsBrian
2007-04-17omit the glide/svga sources from stand-alone libGL (anyone using them?)Brian
2007-01-16Merge branch 'master' of git+ssh://keithw@git.freedesktop.org/git/mesa/mesa ↵Keith Whitwell
into vbo-0.2 Conflicts: src/mesa/array_cache/sources src/mesa/drivers/dri/i965/brw_context.c src/mesa/drivers/dri/i965/brw_draw.c src/mesa/drivers/dri/i965/brw_fallback.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/i965/brw_vs_tnl.c src/mesa/drivers/dri/mach64/mach64_context.c src/mesa/main/extensions.c src/mesa/main/getstring.c src/mesa/tnl/sources src/mesa/tnl/t_save_api.c src/mesa/tnl/t_save_playback.c src/mesa/tnl/t_vtx_api.c src/mesa/tnl/t_vtx_exec.c src/mesa/vbo/vbo_attrib.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_api.c src/mesa/vbo/vbo_save_draw.c
2006-11-30the following improvements to linux-fbdev:Sean D'Epagnier
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
2006-10-30better handling of current attributes. Trivial dlist and varray tests workKeith Whitwell
2006-10-19New bin/minstall script - a minimal replacement for 'install'.Brian Paul
Correctly handles symlinks so we can get rid of the COPY_LIBS stuff.
2006-10-18Changed install filenames to libGL* and libOSMesa* so things work on DarwinBrian Paul
where GL_LIB_NAME = libGL.dylib but the other library name is libGL.1.dylib Unlike other platforms, the version number is in the middle of the name, not at the end. See bug 8671
2006-10-15check if files exist before installing (Thierry Reding)Brian Paul
2006-08-21move ALL_SOURCES to sources fileBrian Paul
2006-08-21remove FBDEV_DRIVER_OBJECTS assignment (in sources file)Brian Paul
2006-08-19Removed ifeq from makefile, and corrected fbdev driver so it compilesSean D'Epagnier
2006-08-18Fix-ups for linux-fbdev config. No longer build Xlib driver sources.Brian Paul
2006-08-18The driver now compiles correctly without any x headers or libraries installedSean D'Epagnier
The bitmap and stroke code can't be shared with glx anymore because of this. The model for the mini teapot is restored and I have tested it to work with linux-fbdev and linux-solo The driver recognizes 32bpp where there is no alpha (my radeon 7500) It also sets the correct number of cmap entrees (instead of 256 which can be an error)
2006-07-13LIB_DIR is now just 'lib' or 'lib64'Brian Paul
Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets. Patch by Hanno Böck.
2006-06-26Use $(LIB_DIR) instead of $(TOP)/lib since libraries sometimes go into lib64/.Brian Paul
Probably need to fix the install destinations too...
2006-06-22New 'install' targets in makefile. See bug 2372.Brian Paul
2005-09-14remove rm -f lineBrian Paul
2005-09-11fix dri drivers buildDave Airlie
2005-09-10Clean-up of sources/Makefile, bug 4111Brian Paul
2005-09-06Use mklib script instead of ar. Make libmesa.a instead of mesa.aBrian Paul
2005-07-26Quote $(CC) and $(CXX) so that 'CC=ccache gcc' and 'CXX=ccache g++' willIan Romanick
work again.
2005-07-25Added -linker option to mklib, used to specify a particular program forBrian Paul
linking, if relevant. Updated Makefiles to use -linker option instead of setting CC, CXX env vars.
2005-06-09Store compiled vertex program representations in a pointer in theKeith Whitwell
vertex_program struct. Allow switching between regular and vertex_program implementations of fixed function TNL with the MESA_TNL_PROG environment var (previously this required recompilation). Ensure program compilation only references program data, not the wider context. This means that compiled programs only need to be invalidated when the program string changes, not on other state changes.
2005-05-07x86-64 transform optimizations (Mikko T.)Brian Paul
2005-04-15added SLANG_SOURCES to SOLO_C_SOURCESBrian Paul
2005-02-23Put quotes around $(CC) and $(CXX) so that 'CC=cache gcc' will work.Ian Romanick
2005-01-18change .cc suffix to .cppMichal Krol
2005-01-17added rule for compiling C++ sourcesBrian Paul
2005-01-11Put quotes around the CC and CXX variables passed to mklib. This makeIan Romanick
them work with multi-work compiler names (e.g., "ccache gcc").
2005-01-07Make clean in the x86 directory.Keith Whitwell
Propogate 'install' target down to dri driver directory.
2005-01-04directfb changes (Claudio Ciccani)Brian Paul
2004-12-08Improve the behaviour of the build system wrt depend files.Keith Whitwell
- Remove the -Y option for makedepend, so that the standard directories are searched - No longer pipe the multiple errors that the -Y option caused into /dev/null -- we want to know about these failures. - Fix up a few other misc makedepend failures.