summaryrefslogtreecommitdiffstats
path: root/progs/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove last bits of progs/ infrastructureKristian Høgsberg2010-06-071-32/+0
|
* mesa: disable building the removed demosBrian Paul2010-05-211-2/+2
| | | | This is a quick fix.
* Simplify hackery added to fix AIX build.Tom Fogal2009-12-011-15/+11
| | | | | Borrow an idiom from the GNU build system which can handle `for' loops over empty lists.
* progs: Fix quoting issue with empty set of PROGRAM_DIRS.Tom Fogal2009-11-191-1/+1
| | | | | | | Quotes are important to make sure the argument to test -n really is the empty string, but that requires stringifying PROGRAM_DIRS. Signed-off-by: Brian Paul <[email protected]>
* progs/Makefile: remove extra quotingBrian Paul2009-10-141-1/+1
| | | | | This reverts part of commit 115edf24a9128b79dfa5f30482c990e2cb898357 and fixes the error: "/bin/sh: line 0: test: too many arguments".
* Fix build when PROGRAM_DIRS is empty.Tom Fogal2009-10-131-11/+15
| | | | | | | | | | | SUBDIRS just takes PROGRAM_DIRS value. If PROGRAM_DIRS gets set to the empty string (as can happen when building only OSMesa), a 'for' loop will lack anything to iterate over, causing a parse error. This fixes the issue by making sure SUBDIRS is the null string when PROGRAM_DIRS is, and wrapping the for loops in if's, causing them only to execute if there are directories to iterate over.
* Never fail `make clean'Dan Nicholson2008-05-071-1/+1
| | | | | | 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.
* Tweak the shell scripting for descending into and building subdirs.Brian2007-05-091-2/+2
| | | | | | | | | | | | | | In general, use this: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ (cd $$dir && $(MAKE)) || exit 1; \ fi \ done Basically, silently skip missing subdirs but generate an error and stop if there's a compilation or install problem. This was done inconsistantly before. In once case, a missing subdir was causing us to go into an infinte loop!
* New 'install' targets in makefile. See bug 2372.Brian Paul2006-06-221-0/+2
|
* print current config name before building src and progsBrian Paul2004-08-251-1/+8
|
* Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKEEric Anholt2004-06-011-2/+2
| | | | | | 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".
* Use tcc and the emitted C code from s_fragprog_to_c.c to dynamically compileKeith Whitwell2004-04-141-1/+1
| | | | | | | | | and execute fragment programs. Very limited and experimental, but works well enough to run arbfplight.c. http://fabrice.bellard.free.fr/tcc/ Compile with 'make linux-tcc', being sure to make clean first.
* for make clean, include tests directoryBrian Paul2004-04-031-1/+1
|
* Don't use pushd/popd.Brian Paul2004-03-261-6/+2
|
* New Makefile systemBrian Paul2004-03-261-0/+27