diff options
author | José Fonseca <[email protected]> | 2008-02-18 14:25:04 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-02-18 14:25:04 +0900 |
commit | bfd5916eafb9a97ad10f1d4a8738e7dcb02e04f4 (patch) | |
tree | 4d9acef3ff83664c8c4109d379eda69b1e25c222 /src/gallium/winsys/Makefile | |
parent | 56bf73b1fb974e2223c9a4dcc96d39dac84a2df5 (diff) |
Code reorganization: split gallium and mesa makefiles.
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.
Diffstat (limited to 'src/gallium/winsys/Makefile')
-rw-r--r-- | src/gallium/winsys/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/gallium/winsys/Makefile b/src/gallium/winsys/Makefile new file mode 100644 index 00000000000..3dc5ea57441 --- /dev/null +++ b/src/gallium/winsys/Makefile @@ -0,0 +1,20 @@ +TOP = ../../.. +include $(TOP)/configs/current + + +SUBDIRS = $(GALLIUM_WINSYS_DIRS) + + +default: subdirs + + +subdirs: + @for dir in $(SUBDIRS) ; do \ + if [ -d $$dir ] ; then \ + (cd $$dir && $(MAKE)) || exit 1 ; \ + fi \ + done + + +clean: + rm -f `find . -name \*.[oa]` |