aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libxcb/src/makefile.srcs8
-rw-r--r--mesalib/windows/VC8/mesa/makefile8
2 files changed, 8 insertions, 8 deletions
diff --git a/libxcb/src/makefile.srcs b/libxcb/src/makefile.srcs
index d91835aeb..0dc043ece 100644
--- a/libxcb/src/makefile.srcs
+++ b/libxcb/src/makefile.srcs
@@ -2,14 +2,14 @@ ifneq ($(NORELDBG),1)
$(error NORELDBG should have been set to 1)
endif
-XCBPROTO_XCBPYTHONDIR = ..\xcb-proto
-XCBPROTO_XCBINCLUDEDIR = ..\xcb-proto\src
+XCBPROTO_XCBPYTHONDIR = ../xcb-proto
+XCBPROTO_XCBINCLUDEDIR = ../xcb-proto/src
%.h: $(XCBPROTO_XCBINCLUDEDIR)\%.xml
- python c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $<
+ python c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $(subst $/,/,$<)
%.c: $(XCBPROTO_XCBINCLUDEDIR)\%.xml
- python c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $<
+ python c_client.py -p $(XCBPROTO_XCBPYTHONDIR) $(subst $/,/,$<)
CLEANRULEPOSTFIX=noobjs
diff --git a/mesalib/windows/VC8/mesa/makefile b/mesalib/windows/VC8/mesa/makefile
index c5896231d..63f4b101b 100644
--- a/mesalib/windows/VC8/mesa/makefile
+++ b/mesalib/windows/VC8/mesa/makefile
@@ -71,13 +71,13 @@ all: $(TARGETDIR)\Release\swrast_dri.dll $(TARGETDIR)\Debug\swrast_dri.dll
..\..\..\src\mesa\main\api_exec.c: $(wildcard ..\..\..\src\mapi\glapi\gen\*.xml) ..\..\..\src\mapi\glapi\gen\gl_genexec.py
cd ..\..\..\src\mapi\glapi\gen & python gl_genexec.py -f gl_and_es_API.xml > ..\..\..\mesa\main\api_exec.c
-GET_HASH_GEN = ..\..\..\src\mesa\main\get_hash_generator.py
+GET_HASH_GEN = ../../../src/mesa/main/get_hash_generator.py
..\..\..\src\mesa\main\get_hash.h: ..\..\..\src\mapi\glapi\gen\gl_and_es_API.xml ..\..\..\src\mesa\main\get_hash_params.py $(GET_HASH_GEN)
- python $(GET_HASH_GEN) -f $< > $@
+ python $(GET_HASH_GEN) -f $(subst $/,/,$<) > $@
-REMAP_HELPER = ..\..\..\src\mapi\glapi\gen\remap_helper.py
+REMAP_HELPER = ../../../src/mapi/glapi/gen/remap_helper.py
..\..\..\src\mesa\main\remap_helper.h: ..\..\..\src\mapi\glapi\gen\gl_and_es_API.xml $(REMAP_HELPER)
- python $(REMAP_HELPER) -f $< > $@
+ python $(REMAP_HELPER) -f $(subst $/,/,$<) > $@
$(TARGETDIR)\Debug\swrast_dri.dll: $(DEPS)
$(DBGBUILDCMD)