summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-05-23 01:51:41 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-05-23 01:51:41 +0200
commit45ea25ed57d9692355d4812c5813ab2a1433f390 (patch)
tree34d649aa8fe50dfb4237a2a6a8419adfcdb98202 /src
parente80acf8ad4f2e36a500ef7f376e69fd753e65231 (diff)
add support for building a portable version
Diffstat (limited to 'src')
-rw-r--r--src/makeinc.mak5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/makeinc.mak b/src/makeinc.mak
index 7a719967..75fd53e3 100644
--- a/src/makeinc.mak
+++ b/src/makeinc.mak
@@ -1,5 +1,6 @@
 #uncomment this to have an x64 build
 #X64 = YES
+#PORTABLE = YES
 #OPENSSL = YES
 IPV6 = YES
 
@@ -49,6 +50,10 @@ PYTHONOUTPUT = xcpython.dll
 TCLLIB = tcl86
 TCLOUTPUT = xctcl.dll
 
+!ifdef PORTABLE
+CFLAGS = $(CFLAGS) -DPORTABLE_BUILD
+!endif
+
 !ifdef IPV6
 CFLAGS = $(CFLAGS) -DUSE_IPV6
 LIBS = $(LIBS) ws2_32.lib