summaryrefslogtreecommitdiffstats
path: root/src/glut/mini/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson2008-07-121-1/+1
| | | | | Respect the user's choice of shell when running mklib rather than always using /bin/sh.
* Remove generated pkg-config files on `make clean'Dan Nicholson2008-07-111-1/+1
|
* Set library and header installation directories from configurationDan Nicholson2008-07-061-7/+8
| | | | | | | | | | | | | | 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.
* Always cleanup the makedepend backup filesDan Nicholson2008-05-061-1/+1
| | | | | | Consistently cleanup the depend.bak files created by makedepend. Also, realclean has been changed to use a single find command, which speeds it up considerably.
* Assorted patches for miniglx/linux-solo (Gavin Li <[email protected]>)Brian2008-01-231-0/+17
|
* add support for LDFLAGS env varDan Nicholson2007-09-281-1/+1
|
* LIB_DIR is now just 'lib' or 'lib64'Brian Paul2006-07-131-3/+3
| | | | | Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets. Patch by Hanno Böck.
* Quote $(CC) and $(CXX) so that 'CC=ccache gcc' and 'CXX=ccache g++' willIan Romanick2005-07-261-1/+1
| | | | work again.
* Added -linker option to mklib, used to specify a particular program forBrian Paul2005-07-251-3/+3
| | | | | linking, if relevant. Updated Makefiles to use -linker option instead of setting CC, CXX env vars.
* Put quotes around the CC and CXX variables passed to mklib. This makeIan Romanick2005-01-111-1/+1
| | | | them work with multi-work compiler names (e.g., "ccache gcc").
* Improve the behaviour of the build system wrt depend files.Keith Whitwell2004-12-081-1/+1
| | | | | | | | - 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.
* Make sure mklib sees the definition of CC and CXX. Make mklib respectIan Romanick2004-06-251-1/+1
| | | | | | the definitions of CC and CXX on Linux. This fixed build issues with sunos5-gcc and build issues on GCC 2.x Linux when CC and CXX are set to a GCC 3.x compiler.
* Missed in last commit:Eric Anholt2004-06-011-1/+1
| | | | | | | Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
* New Makefile systemBrian Paul2004-03-261-0/+80