makeinc cleanup

This commit is contained in:
berkeviktor@aol.com 2010-08-19 00:44:40 +02:00
parent 112fcfe05f
commit 63b452acce
2 changed files with 2 additions and 15 deletions

View File

@ -10,8 +10,5 @@
#define XCHATLIBDIR "." #define XCHATLIBDIR "."
#define XCHATSHAREDIR "." #define XCHATSHAREDIR "."
#define OLD_PERL #define OLD_PERL
#ifndef USE_IPV6
#define socklen_t int
#endif
#define GETTEXT_PACKAGE "xchat" #define GETTEXT_PACKAGE "xchat"
#define PACKAGE_TARNAME "xchat-2.8.8" #define PACKAGE_TARNAME "xchat-2.8.8"

View File

@ -1,12 +1,9 @@
#X64 = YES
IPV6 = YES
CC = cl CC = cl
LINK = link LINK = link
CFLAGS = $(CFLAGS) /Ox /c /MD /nologo /DWIN32 /DG_DISABLE_CAST_CHECKS /Dstrcasecmp=stricmp /Dstrncasecmp=strnicmp /Dstrtoull=_strtoui64 /DHAVE_STRTOULL CFLAGS = $(CFLAGS) /Ox /c /MD /nologo /DWIN32 /DG_DISABLE_CAST_CHECKS /Dstrcasecmp=stricmp /Dstrncasecmp=strnicmp /Dstrtoull=_strtoui64 /DHAVE_STRTOULL -DUSE_IPV6
CPPFLAGS = /c /MD /nologo /DWIN32 CPPFLAGS = /c /MD /nologo /DWIN32
LDFLAGS = /subsystem:windows /nologo LDFLAGS = /subsystem:windows /nologo
LIBS = $(LIBS) gdi32.lib shell32.lib user32.lib advapi32.lib imm32.lib ole32.lib winmm.lib LIBS = $(LIBS) gdi32.lib shell32.lib user32.lib advapi32.lib imm32.lib ole32.lib winmm.lib ws2_32.lib
!ifdef X64 !ifdef X64
############################################################# #############################################################
@ -64,13 +61,6 @@ PYTHONOUTPUT = xcpython.dll
TCLLIB = tcl85 TCLLIB = tcl85
TCLOUTPUT = xctcl.dll TCLOUTPUT = xctcl.dll
!ifdef IPV6
CFLAGS = $(CFLAGS) -DUSE_IPV6
LIBS = $(LIBS) ws2_32.lib
!else
LIBS = $(LIBS) wsock32.lib
!endif
COMMON_OBJECTS = \ COMMON_OBJECTS = \
cfgfiles.obj \ cfgfiles.obj \
chanopt.obj \ chanopt.obj \