summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/Makefile.template
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2004-04-29 12:23:39 +0000
committerKeith Whitwell <[email protected]>2004-04-29 12:23:39 +0000
commit74d563cdfbfb07cc666d60dc909e90ddb9949cbb (patch)
tree8f1f7b77465c03c9dcb6a4ae3937b278dc275bc0 /src/mesa/drivers/dri/Makefile.template
parentc35dcfcf0adb335a28fdb1503447655dbb809927 (diff)
Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.
Diffstat (limited to 'src/mesa/drivers/dri/Makefile.template')
-rw-r--r--src/mesa/drivers/dri/Makefile.template11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template
index 33bd22e6e57..250259785b3 100644
--- a/src/mesa/drivers/dri/Makefile.template
+++ b/src/mesa/drivers/dri/Makefile.template
@@ -21,7 +21,6 @@ else
WINOBJ=
WINLIB=-L$(MESA)/src/glx/mini
MINIGLX_INCLUDES = -I$(TOP)/src/glx/mini
-MINIGLX_SOURCES =
INCLUDES = $(MINIGLX_INCLUDES) \
-I$(DRM_SOURCE_PATH)/shared \
$(SHARED_INCLUDES)
@@ -32,12 +31,17 @@ OBJECTS = $(C_SOURCES:.c=.o) \
endif
+
+
+
### Include directories
SHARED_INCLUDES = \
-I. \
-I../common \
-Iserver \
+ -I$(DRM_SOURCE_PATH)/shared \
-I$(TOP)/include \
+ -I$(TOP)/include/GL/internal \
-I$(TOP)/src/mesa \
-I$(TOP)/src/mesa/main \
-I$(TOP)/src/mesa/glapi \
@@ -59,7 +63,7 @@ SHARED_INCLUDES = \
##### TARGETS #####
-default: depend $(LIB_DIR)/$(LIBNAME)
+default: depend symlinks $(LIB_DIR)/$(LIBNAME)
#$(LIB_DIR)/$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile
@@ -74,7 +78,6 @@ $(LIB_DIR)/$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile ../Makefil
-
# Run 'make depend' to update the dependencies if you change
# what's included by any source file.
depend: $(C_SOURCES) $(ASM_SOURCES)
@@ -90,6 +93,6 @@ tags:
# Remove .o and backup files
clean:
- -rm -f *.o */*.o *~ *.o *~ *.so server/*.o
+ -rm -f *.o */*.o *~ *.o *~ *.so server/*.o $(SYMLINKS)
include depend