diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-05-23 01:51:41 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-05-23 01:51:41 +0200 |
commit | 45ea25ed57d9692355d4812c5813ab2a1433f390 (patch) | |
tree | 34d649aa8fe50dfb4237a2a6a8419adfcdb98202 /src/makeinc.mak | |
parent | e80acf8ad4f2e36a500ef7f376e69fd753e65231 (diff) |
add support for building a portable version
Diffstat (limited to 'src/makeinc.mak')
-rw-r--r-- | src/makeinc.mak | 5 |
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 |