summaryrefslogtreecommitdiff
path: root/src/mesa/Makefile
AgeCommit message (Collapse)Author
2008-08-12Fixed 'make install' for darwinJeremy Huddleston
2008-07-12Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson
Respect the user's choice of shell when running mklib rather than always using /bin/sh.
2008-07-11Remove generated pkg-config files on `make clean'Dan Nicholson
2008-07-06Set library and header installation directories from configurationDan Nicholson
Currently the installation directories for libraries and headers are resolved within the install commands. For instance, the libraries will be installed to $(INSTALL_DIR)/$(LIB_DIR). This limits the flexibility of the installation, such as when the libraries should be installed to a subdirectory like /usr/lib/tls. This adds the make variables $(INSTALL_LIB_DIR) and $(INSTALL_INC_DIR) to define the locations that the libraries and headers are installed. For the static configs, this resolves exactly as before to $(INSTALL_DIR)/include and $(INSTALL_DIR)/$(LIB_DIR). For autoconf, they are derived directly from the --libdir and --includedir settings.
2008-06-22Ensure all objects are built when installing DRIDan Nicholson
2008-06-22Don't make libmesa.a or libglapi.a depend on asm_subdirsDan Nicholson
Since the asm_subdirs target does not actually create a file, make will always consider that it needs to be rebuilt. If libmesa.a and libglapi.a have asm_subdirs as a prerequisite, then they will always need to be rebuilt, too. The correct order will be preserved by the default target, though. This should fix #16358.
2008-06-15No more drivers/xorgDan Nicholson
Don't try to clean in xorg since GLcore is gone.
2008-06-10add some missing rule dependenciesBrian Paul
2008-06-09s/SOLO/MESA/Brian Paul
2008-06-06s/subdirs/asm_subdirs/Brian Paul
2008-06-06move the install rulesBrian Paul
2008-06-06remove stray semicolonBrian Paul
2008-06-06move a beos-ism down into drivers/beos/MakefileBrian Paul
2008-06-06Remove the old, complicated default build rule; use the new driver_subdirs ruleBrian Paul
Also, all the old driver-specific rules are now gone.
2008-06-06remove more old stuff, insert new driver_subdir build rules (but not enabled ↵Brian Paul
yet)
2008-06-06move directfb-libgl into drivers/directfb/MakefileBrian Paul
2008-06-05Move fbdev driver construction into src/mesa/drivers/fbdev/MakefileBrian Paul
2008-06-05reorder some lines, more make clean cmdsBrian Paul
2008-06-05Move building of stand-alone Mesa into drivers/x11/MakefileBrian Paul
Also, some re-org, renaming, and general clean-up. We're just a few steps away from removing the all the special case rules for building drivers.
2008-06-05Move construction of libOSMesa.so into src/mesa/drivers/osmesa/MakefileBrian Paul
This removes some cruft from src/mesa/Makefile. Something similar could be done for stand-alone / Xlib-Mesa libGL...
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