add support for building a portable version

This commit is contained in:
berkeviktor@aol.com
2010-05-23 01:51:41 +02:00
parent e80acf8ad4
commit 45ea25ed57
3 changed files with 47 additions and 5 deletions

View File

@@ -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