[quake3-commits] r1782 - in trunk: . misc/nsis

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Mar 19 04:59:23 EDT 2010


Author: ludwig
Date: 2010-03-19 04:59:22 -0400 (Fri, 19 Mar 2010)
New Revision: 1782

Modified:
   trunk/Makefile
   trunk/misc/nsis/Makefile
Log:
rename x86_64 -> x64 for Windows

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2010-03-19 08:59:20 UTC (rev 1781)
+++ trunk/Makefile	2010-03-19 08:59:22 UTC (rev 1782)
@@ -484,7 +484,7 @@
     CLIENT_CFLAGS += -DUSE_CODEC_VORBIS
   endif
 
-  ifeq ($(ARCH),x86_64)
+  ifeq ($(ARCH),x64)
     OPTIMIZEVM = -O3 -fno-omit-frame-pointer \
       -falign-loops=2 -funroll-loops -falign-jumps=2 -falign-functions=2 \
       -fstrength-reduce
@@ -515,7 +515,7 @@
     ifneq ($(USE_CURL_DLOPEN),1)
       ifeq ($(USE_LOCAL_HEADERS),1)
         CLIENT_CFLAGS += -DCURL_STATICLIB
-        ifeq ($(ARCH),x86_64)
+        ifeq ($(ARCH),x64)
 	  CLIENT_LIBS += $(LIBSDIR)/win64/libcurl.a
 	else
           CLIENT_LIBS += $(LIBSDIR)/win32/libcurl.a
@@ -895,9 +895,7 @@
 
 ifeq ($(USE_INTERNAL_ZLIB),1)
   BASE_CFLAGS += -DNO_GZIP
-  ifneq ($(USE_LOCAL_HEADERS),1)
-    BASE_CFLAGS += -I$(ZDIR)
-  endif
+  BASE_CFLAGS += -I$(ZDIR)
 else
   LIBS += -lz
 endif
@@ -1550,6 +1548,9 @@
   ifeq ($(ARCH),amd64)
     Q3OBJ += $(B)/client/vm_x86_64.o $(B)/client/vm_x86_64_assembler.o
   endif
+  ifeq ($(ARCH),x64)
+    Q3OBJ += $(B)/client/vm_x86_64.o $(B)/client/vm_x86_64_assembler.o
+  endif
   ifeq ($(ARCH),ppc)
     Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o
   endif
@@ -1718,6 +1719,9 @@
   ifeq ($(ARCH),amd64)
     Q3DOBJ += $(B)/ded/vm_x86_64.o $(B)/ded/vm_x86_64_assembler.o
   endif
+  ifeq ($(ARCH),x64)
+    Q3DOBJ += $(B)/ded/vm_x86_64.o $(B)/ded/vm_x86_64_assembler.o
+  endif
   ifeq ($(ARCH),ppc)
     Q3DOBJ += $(B)/ded/vm_powerpc.o $(B)/ded/vm_powerpc_asm.o
   endif

Modified: trunk/misc/nsis/Makefile
===================================================================
--- trunk/misc/nsis/Makefile	2010-03-19 08:59:20 UTC (rev 1781)
+++ trunk/misc/nsis/Makefile	2010-03-19 08:59:22 UTC (rev 1782)
@@ -1,12 +1,13 @@
 VERSION=1.35_SVN
 RELEASE=0
+ARCH=x86
 
-all: ioquake3-$(VERSION)-$(RELEASE).x86.exe
+all: ioquake3-$(VERSION)-$(RELEASE).$(ARCH).exe
 
 ioquake3.nsi: ioquake3.nsi.in
-	sed 's/XXXVERSIONXXX/$(VERSION)/;s/XXXRELEASEXXX/$(RELEASE)/' < $< > $@
+	sed 's/XXXVERSIONXXX/$(VERSION)/;s/XXXRELEASEXXX/$(RELEASE)/;s/x86/$(ARCH)/g' < $< > $@
 
-ioquake3-$(VERSION)-$(RELEASE).x86.exe: ioquake3.nsi
+ioquake3-$(VERSION)-$(RELEASE).$(ARCH).exe: ioquake3.nsi
 	makensis ioquake3.nsi
 
 clean:



More information about the quake3-commits mailing list