summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-02-10 16:23:02 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-02-10 16:23:02 +0100
commit43e6272ae5c03f663cfdd98f35b0b0028bc5d252 (patch)
tree77669b7713b43e4c99b7398a0d0acca724ef3fca /src
parent7fad277bbbc8174a81427edcd9c7306d1b6571b1 (diff)
gallium: Introduce new subdirs build variables
(based on gallium-xorg-driver/commit 270ce504052d415870a25ab59818b2309eb8ac13)
Diffstat (limited to 'src')
-rw-r--r--src/gallium/Makefile2
-rw-r--r--src/gallium/state_trackers/Makefile2
-rw-r--r--src/gallium/winsys/drm/Makefile10
3 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/Makefile b/src/gallium/Makefile
index c7b594d084..875314f6c3 100644
--- a/src/gallium/Makefile
+++ b/src/gallium/Makefile
@@ -2,7 +2,7 @@ TOP = ../..
include $(TOP)/configs/current
-SUBDIRS = auxiliary drivers state_trackers
+SUBDIRS = $(GALLIUM_DIRS)
# Note winsys/ needs to be built after src/mesa
diff --git a/src/gallium/state_trackers/Makefile b/src/gallium/state_trackers/Makefile
index 07b3fbf311..265ca468c2 100644
--- a/src/gallium/state_trackers/Makefile
+++ b/src/gallium/state_trackers/Makefile
@@ -2,7 +2,7 @@ TOP = ../../..
include $(TOP)/configs/current
-SUBDIRS = glx
+SUBDIRS = $(GALLIUM_STATE_TRACKERS_DIRS)
default: subdirs
diff --git a/src/gallium/winsys/drm/Makefile b/src/gallium/winsys/drm/Makefile
index f466ce6c3c..d2af5705f0 100644
--- a/src/gallium/winsys/drm/Makefile
+++ b/src/gallium/winsys/drm/Makefile
@@ -1,10 +1,10 @@
-# src/mesa/drivers/dri/Makefile
+# src/gallium/winsys/drm/Makefile
TOP = ../../../..
include $(TOP)/configs/current
-
+SUBDIRS = $(GALLIUM_WINSYS_DRM_DIRS)
default: $(TOP)/$(LIB_DIR) subdirs
@@ -14,7 +14,7 @@ $(TOP)/$(LIB_DIR):
subdirs:
- @for dir in $(DRI_DIRS) ; do \
+ @for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
(cd $$dir && $(MAKE)) || exit 1 ; \
fi \
@@ -22,7 +22,7 @@ subdirs:
install:
- @for dir in $(DRI_DIRS) ; do \
+ @for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
(cd $$dir && $(MAKE) install) || exit 1 ; \
fi \
@@ -30,7 +30,7 @@ install:
clean:
- @for dir in $(DRI_DIRS) ; do \
+ @for dir in $(SUBDIRS) ; do \
if [ -d $$dir ] ; then \
(cd $$dir && $(MAKE) clean) ; \
fi \