aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-08-30 09:06:27 +0000
committerDaniel Borca <[email protected]>2004-08-30 09:06:27 +0000
commit367850dbfed810a58a8351d74290798f1082079e (patch)
tree677eb35312d870f56ec14ab252ae19ec72dc1591
parent7a42f1562d74e631616e03aed20190a27c22859b (diff)
cleanup
-rw-r--r--src/mesa/Makefile.mgw12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mesa/Makefile.mgw b/src/mesa/Makefile.mgw
index fd1e45fd66a..9754ea279dc 100644
--- a/src/mesa/Makefile.mgw
+++ b/src/mesa/Makefile.mgw
@@ -157,10 +157,18 @@ x86/gen_matypes.exe: x86/gen_matypes.c
# [dBorca]
# glapi_x86.S needs some adjustments
# in order to generate correct entrypoints
+# Trick: change the following condition to
+# be always false if you need C entrypoints
+# with USE_X86_ASM (useful for trace/debug)
+ifeq (1,1)
x86/glapi_x86.o: x86/glapi_x86.S
$(CC) -o $@ $(CFLAGS) -U__WIN32__ -DSTDCALL_API -c $<
-#main/dispatch.o: main/dispatch.c
-# $(CC) -o $@ $(CFLAGS) -UUSE_X86_ASM -c $<
+else
+main/dispatch.o: main/dispatch.c
+ $(CC) -o $@ $(CFLAGS) -UUSE_X86_ASM -c $<
+glapi/glapi.o: glapi/glapi.c
+ $(CC) -o $@ $(CFLAGS) -UUSE_X86_ASM -c $<
+endif
# [dBorca]
# if we want codegen, we have to stdcall