aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/drivers/dri/Makefile.template
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-12 15:47:35 +0000
committermarha <marha@users.sourceforge.net>2011-02-12 15:47:35 +0000
commit026b85e62b3d8812afb5f04df29aeac28c52b331 (patch)
tree04f14c936311a1852769eb5005dbaa25bb2dc244 /mesalib/src/mesa/drivers/dri/Makefile.template
parent183968dd18dc91f73325980bd511ed6bdb38b432 (diff)
downloadvcxsrv-026b85e62b3d8812afb5f04df29aeac28c52b331.tar.gz
vcxsrv-026b85e62b3d8812afb5f04df29aeac28c52b331.tar.bz2
vcxsrv-026b85e62b3d8812afb5f04df29aeac28c52b331.zip
xkeyboard-config pixman xkbcompt mesa git update 12 Feb 2011
Diffstat (limited to 'mesalib/src/mesa/drivers/dri/Makefile.template')
-rw-r--r--mesalib/src/mesa/drivers/dri/Makefile.template12
1 files changed, 5 insertions, 7 deletions
diff --git a/mesalib/src/mesa/drivers/dri/Makefile.template b/mesalib/src/mesa/drivers/dri/Makefile.template
index 6be554af7..588210f8a 100644
--- a/mesalib/src/mesa/drivers/dri/Makefile.template
+++ b/mesalib/src/mesa/drivers/dri/Makefile.template
@@ -1,7 +1,5 @@
# -*-makefile-*-
-MESA_MODULES = $(TOP)/src/mesa/libmesa.a
-
COMMON_GALLIUM_SOURCES = \
../common/utils.c \
../common/vblank.c \
@@ -39,13 +37,13 @@ CXXFLAGS += $(API_DEFINES)
##### RULES #####
.c.o:
- $(CC) -c $(INCLUDES) $(CFLAGS) $(DRIVER_DEFINES) $< -o $@
+ $(CC) -c $(INCLUDES) $(DRI_CFLAGS) $(DRIVER_DEFINES) $< -o $@
.cpp.o:
- $(CC) -c $(INCLUDES) $(CXXFLAGS) $(DRIVER_DEFINES) $< -o $@
+ $(CC) -c $(INCLUDES) $(DRI_CXXFLAGS) $(DRIVER_DEFINES) $< -o $@
.S.o:
- $(CC) -c $(INCLUDES) $(CFLAGS) $(DRIVER_DEFINES) $< -o $@
+ $(CC) -c $(INCLUDES) $(DRI_CFLAGS) $(DRIVER_DEFINES) $< -o $@
##### TARGETS #####
@@ -57,10 +55,10 @@ default: subdirs lib
lib: symlinks subdirs depend
@$(MAKE) $(LIBNAME) $(TOP)/$(LIB_DIR)/$(LIBNAME)
-$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) Makefile \
+$(LIBNAME): $(OBJECTS) $(EXTRA_MODULES) $(MESA_MODULES) Makefile \
$(TOP)/src/mesa/drivers/dri/Makefile.template $(TOP)/src/mesa/drivers/dri/common/dri_test.o
$(MKLIB) -o $@.tmp -noprefix -linker '$(CXX)' -ldflags '$(LDFLAGS)' \
- $(OBJECTS) $(MESA_MODULES) $(EXTRA_MODULES) $(DRI_LIB_DEPS)
+ $(OBJECTS) $(EXTRA_MODULES) $(DRI_LIB_DEPS)
$(CXX) $(CFLAGS) -o $@.test $(TOP)/src/mesa/drivers/dri/common/dri_test.o $@.tmp $(DRI_LIB_DEPS)
@rm -f $@.test
mv -f $@.tmp $@