add support for building a portable version

This commit is contained in:
[email protected] committed 2010-05-23 01:51:41 +02:00
1 parent e80acf8ad4
commit 45ea25ed57
3 files changed
+47 -5

No files matched your search

+5
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