From 45ea25ed57d9692355d4812c5813ab2a1433f390 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Sun, 23 May 2010 01:51:41 +0200 Subject: add support for building a portable version --- src/makeinc.mak | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/makeinc.mak') 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 -- cgit 1.4.1