summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-05 16:26:15 -0600
committerBrian Paul <[email protected]>2008-06-05 16:26:15 -0600
commite89e94e01a40bbaf9e77055c6cddddba0ddbc188 (patch)
tree7e264972cccac38a70dc445df3d9e887f6a510cd
parent2b84b22bad33e14227abcfab53f93100efac976f (diff)
added dependencies
-rw-r--r--src/mesa/drivers/x11/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/Makefile b/src/mesa/drivers/x11/Makefile
index 3c7219af264..8ee9b618081 100644
--- a/src/mesa/drivers/x11/Makefile
+++ b/src/mesa/drivers/x11/Makefile
@@ -15,6 +15,15 @@ GL_MINOR = 5
GL_TINY = 0$(MESA_MAJOR)0$(MESA_MINOR)0$(MESA_TINY)
+HEADERS = \
+ glxapi.h \
+ glxheader.h \
+ realglx.h \
+ xfonts.h \
+ xmesaP.h \
+ xm_glide.h \
+ xm_image.h
+
SOURCES = \
fakeglx.c \
glxapi.c \
@@ -55,5 +64,18 @@ $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) $(CORE_MESA)
$(MKLIB_OPTIONS) $(GL_LIB_DEPS) $(OBJECTS)
+
clean:
-rm -f *.o *~
+ -rm -f depend depend.bak
+
+
+
+depend: $(SOURCES) $(HEADERS)
+ @ echo "running $(MKDEP)"
+ @ touch depend
+ @$(MKDEP) $(MKDEP_OPTIONS) $(DEFINES) $(INCLUDE_DIRS) $(SOURCES) $(HEADERS) \
+ > /dev/null 2>/dev/null
+
+
+-include depend