summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-04-07 23:15:26 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-04-07 23:15:26 +0000
commit9f4ccd8aa004054a023cf4add15c990499ac8fc1 (patch)
tree2fce3b7dfbd30b72b85268472a846668d7d8d4dc
parent216aedbbc6b2e3532821feec173a089f99fdf340 (diff)
use new MKDEP, MKDEP_OPTIONS variables
-rw-r--r--configs/default4
-rw-r--r--src/glut/glx/Makefile2
-rw-r--r--src/mesa/Makefile2
3 files changed, 6 insertions, 2 deletions
diff --git a/configs/default b/configs/default
index 717b6ee388..e38a0a0945 100644
--- a/configs/default
+++ b/configs/default
@@ -17,7 +17,11 @@ CXX = CC
CFLAGS = -O
CXXFLAGS = -O
GLU_CFLAGS =
+
+# Misc tools and flags
MKLIB_OPTIONS =
+MKDEP = makedepend
+MKDEP_OPTIONS = -Y -fdepend
# Library names (base name)
diff --git a/src/glut/glx/Makefile b/src/glut/glx/Makefile
index 83f66b0bf2..2d76fd52eb 100644
--- a/src/glut/glx/Makefile
+++ b/src/glut/glx/Makefile
@@ -106,6 +106,6 @@ clean:
depend: $(SOURCES)
touch depend
- makedepend -fdepend -Y -I$(TOP)/include $(SOURCES)
+ $(MKDEP) $(MKDEP_OPTIONS) -I$(TOP)/include $(SOURCES)
include depend
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 1ccdf5412c..d22701b122 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -154,7 +154,7 @@ SUBDIRS = array_cache drivers/dri glapi main math sparc swrast swrast_setup \
# Update dependencies
depend: $(ALL_SOURCES)
touch depend
- makedepend -fdepend -Y $(INCLUDE_DIRS) $(ALL_SOURCES) >& /dev/null
+ $(MKDEP) $(MKDEP_OPTIONS) $(INCLUDE_DIRS) $(ALL_SOURCES) >& /dev/null
# Emacs tags