summaryrefslogtreecommitdiff
path: root/src/mesa/Makefile
AgeCommit message (Collapse)Author
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-23Don't make libmesa.a or libglapi.a depend on asm_subdirsBrian Paul
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. Conflicts: src/mesa/Makefile cherry-picked from master
2008-06-23Ensure all objects are built when installing DRIDan Nicholson
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-13mesa: Fix libglapi.a build for driJakob Bornecrantz
2008-06-13gallium: another attempt at fixing libglapi.a compilation for DRI buildsBrian Paul
If building for DRI, make a dummy/empty libglapi.a for now.
2008-06-10gallium: work-around glapi.c build problem for dri configsBrian Paul
2008-06-10add some missing rule dependenciesBrian Paul
2008-06-10add some missing rule dependenciesBrian Paul
2008-06-09s/SOLO/MESA/Brian Paul
2008-06-09s/SOLO/MESA/Brian Paul
2008-06-06mesa: sync up with latest Makefile changes on masterBrian 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-05sync up with Makefile changes on masterBrian 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-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-06-05mesa: always build libglapi.a, updated subdir, gl.pc rule code from masterBrian Paul
2008-06-05mesa: Makefile commentBrian Paul
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-02-18Update for llvm -> gallivm rename.José Fonseca
2008-02-18Code reorganization: split gallium and mesa makefiles.José Fonseca
In other words, don't build src/gallium source code from within src/mesa/Makefile. Also, allow to customize which gallium auxiliary dirs, driver driver, winsys dirs get built from the config/* files.
2008-02-15Code reorganization: s/aux/auxiliary/ -- update build.José Fonseca
2008-02-15Code reorganization: update build.José Fonseca
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
2008-01-31Fix using "ccache ppu-gcc" for CC and fix parallel buildsIan Romanick
CC wasn't quoted in a couple places in src/mesa/Makefile. Also, the OSMesa link was missing a dependency.
2008-01-23Specify linker instead of letting mklib use gccIan Romanick
This is the final bit required to get Cell builds on x86 working. Without this, mklib tries to link using the x86 gcc instead of ppu32-gcc.
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.
2008-01-04llvm: we need custom rules so had to redo the build a little bitZack Rusin
also don't use sse when llvm is enabled
2007-12-11Port i965 driver to Gallium3D.Zack Rusin
This is a squashed commit of i965 branch on ssh://people.freedesktop.org/~zack/mesa Because of the porting the branch often didn't compile so squashing it makes more sense. The port is still far from complete.
2007-12-05Add dependency checking for Cell driver sources.Brian
2007-12-03added missing quote charBrian