2010-04-02 01:29:16 -04:00
|
|
|
CC = cl
|
|
|
|
LINK = link
|
2010-09-29 16:03:04 -04:00
|
|
|
CFLAGS = $(CFLAGS) /Ox /c /MD /MP2 /W0 /nologo
|
2010-09-29 16:15:48 -04:00
|
|
|
CFLAGS = $(CFLAGS) /DWIN32 /DG_DISABLE_CAST_CHECKS /DG_DISABLE_DEPRECATED /DGDK_PIXBUF_DISABLE_DEPRECATED /DGDK_DISABLE_DEPRECATED /DUSE_IPV6 /DHAVE_STRTOULL /Dstrtoull=_strtoui64 /Dstrcasecmp=stricmp /Dstrncasecmp=strnicmp
|
2010-08-24 14:03:18 -04:00
|
|
|
CFLAGS = $(CFLAGS) -Ic:\mozilla-build\build\xchat-wdk\plugins
|
2010-08-29 20:57:48 -04:00
|
|
|
CPPFLAGS = /c /MD /W0 /nologo /DWIN32
|
2010-04-02 01:29:16 -04:00
|
|
|
LDFLAGS = /subsystem:windows /nologo
|
2010-10-09 06:51:46 -04:00
|
|
|
LIBS = $(LIBS) gdi32.lib shell32.lib user32.lib advapi32.lib imm32.lib ole32.lib winmm.lib ws2_32.lib wininet.lib comdlg32.lib
|
2010-08-16 08:39:35 -04:00
|
|
|
|
2010-04-02 01:29:16 -04:00
|
|
|
!ifdef X64
|
|
|
|
#############################################################
|
|
|
|
#x64 config
|
2010-09-28 23:19:18 -04:00
|
|
|
DEV64 = c:\mozilla-build\build\xchat-dev64
|
|
|
|
|
|
|
|
GLIB = -I$(DEV64)\include -I$(DEV64)\include\glib-2.0 -I$(DEV64)\lib\glib-2.0\include
|
2010-09-29 16:03:04 -04:00
|
|
|
GTK = -I$(DEV64)\include\gtk-2.0 -I$(DEV64)\lib\gtk-2.0\include -I$(DEV64)\include\atk-1.0 -I$(DEV64)\include\cairo -I$(DEV64)\include\pango-1.0 -I$(DEV64)\include\gdk-pixbuf-2.0
|
2010-09-28 23:19:18 -04:00
|
|
|
LIBS = $(LIBS) /libpath:$(DEV64)\lib gtk-win32-2.0.lib gdk-win32-2.0.lib atk-1.0.lib gio-2.0.lib gdk_pixbuf-2.0.lib pangowin32-1.0.lib pangocairo-1.0.lib pango-1.0.lib cairo.lib gobject-2.0.lib gmodule-2.0.lib glib-2.0.lib intl.lib
|
2010-04-02 01:29:16 -04:00
|
|
|
|
2010-08-16 08:39:35 -04:00
|
|
|
OPENSSLPATH = c:\mozilla-build\build\openssl-wdk-1.0.0a-x64
|
|
|
|
CFLAGS = $(CFLAGS) /DUSE_OPENSSL /I$(OPENSSLPATH)\include
|
|
|
|
LIBS = $(LIBS) /libpath:$(OPENSSLPATH)\lib libeay32.lib ssleay32.lib
|
|
|
|
|
2010-05-02 14:45:47 -04:00
|
|
|
CFLAGS = $(CFLAGS) /favor:AMD64 /D_WIN64
|
2010-04-02 01:29:16 -04:00
|
|
|
CPPFLAGS = $(CPPFLAGS) /favor:AMD64 /D_WIN64
|
|
|
|
LDFLAGS = $(LDFLAGS) msvcrt_win2003.obj
|
|
|
|
|
2010-08-16 08:39:35 -04:00
|
|
|
LUAPATH = c:\mozilla-build\build\lua-wdk-5.1.4-2-x64
|
2010-08-10 23:49:33 -04:00
|
|
|
PYTHONPATH = c:\mozilla-build\python-2.6-x64
|
2010-07-30 15:55:49 -04:00
|
|
|
TCLPATH = c:\mozilla-build\tcl-8.5-x64
|
2010-04-02 01:29:16 -04:00
|
|
|
!else
|
|
|
|
#############################################################
|
|
|
|
#x86 config
|
2010-09-28 23:19:18 -04:00
|
|
|
DEV32 = c:\mozilla-build\build\xchat-dev32
|
|
|
|
|
|
|
|
GLIB = -I$(DEV32)\include -I$(DEV32)\include\glib-2.0 -I$(DEV32)\lib\glib-2.0\include
|
2010-09-29 16:03:04 -04:00
|
|
|
GTK = -I$(DEV32)\include\gtk-2.0 -I$(DEV32)\lib\gtk-2.0\include -I$(DEV32)\include\atk-1.0 -I$(DEV32)\include\cairo -I$(DEV32)\include\pango-1.0 -I$(DEV32)\include\gdk-pixbuf-2.0
|
2010-09-28 23:19:18 -04:00
|
|
|
LIBS = $(LIBS) /libpath:$(DEV32)\lib gtk-win32-2.0.lib gdk-win32-2.0.lib atk-1.0.lib gio-2.0.lib gdk_pixbuf-2.0.lib pangowin32-1.0.lib pangocairo-1.0.lib pango-1.0.lib cairo.lib gobject-2.0.lib gmodule-2.0.lib glib-2.0.lib intl.lib
|
2010-04-02 01:29:16 -04:00
|
|
|
|
2010-08-16 08:39:35 -04:00
|
|
|
OPENSSLPATH = c:\mozilla-build\build\openssl-wdk-1.0.0a-x86
|
|
|
|
CFLAGS = $(CFLAGS) /DUSE_OPENSSL /I$(OPENSSLPATH)\include
|
|
|
|
LIBS = $(LIBS) /libpath:$(OPENSSLPATH)\lib libeay32.lib ssleay32.lib
|
|
|
|
|
2010-04-02 01:29:16 -04:00
|
|
|
LDFLAGS = $(LDFLAGS) msvcrt_winxp.obj
|
|
|
|
|
2010-08-16 08:39:35 -04:00
|
|
|
LUAPATH = c:\mozilla-build\build\lua-wdk-5.1.4-2-x86
|
2010-08-10 23:49:33 -04:00
|
|
|
PYTHONPATH = c:\mozilla-build\python-2.6-x86
|
2010-07-30 15:55:49 -04:00
|
|
|
TCLPATH = c:\mozilla-build\tcl-8.5-x86
|
2010-04-02 01:29:16 -04:00
|
|
|
!endif
|
|
|
|
#############################################################
|
|
|
|
|
2010-08-11 22:23:51 -04:00
|
|
|
LUALIB = lua51
|
2010-08-11 20:56:10 -04:00
|
|
|
LUAOUTPUT = xclua.dll
|
|
|
|
|
2010-08-10 23:49:33 -04:00
|
|
|
PYTHONLIB = python26
|
2010-04-02 01:29:16 -04:00
|
|
|
PYTHONOUTPUT = xcpython.dll
|
|
|
|
|
2010-07-30 16:04:30 -04:00
|
|
|
TCLLIB = tcl85
|
2010-04-02 01:29:16 -04:00
|
|
|
TCLOUTPUT = xctcl.dll
|
|
|
|
|
|
|
|
COMMON_OBJECTS = \
|
|
|
|
cfgfiles.obj \
|
|
|
|
chanopt.obj \
|
|
|
|
ctcp.obj \
|
|
|
|
dcc.obj \
|
|
|
|
history.obj \
|
|
|
|
ignore.obj \
|
|
|
|
inbound.obj \
|
|
|
|
modes.obj \
|
|
|
|
network.obj \
|
|
|
|
notify.obj \
|
|
|
|
outbound.obj \
|
|
|
|
plugin.obj \
|
|
|
|
plugin-timer.obj \
|
2010-08-18 17:20:18 -04:00
|
|
|
portable.obj \
|
2010-04-02 01:29:16 -04:00
|
|
|
proto-irc.obj \
|
|
|
|
server.obj \
|
|
|
|
servlist.obj \
|
2010-08-16 08:39:35 -04:00
|
|
|
ssl.obj \
|
2010-04-02 01:29:16 -04:00
|
|
|
text.obj \
|
2010-10-09 06:51:46 -04:00
|
|
|
thread.obj \
|
2010-04-02 01:29:16 -04:00
|
|
|
tree.obj \
|
|
|
|
url.obj \
|
|
|
|
userlist.obj \
|
|
|
|
util.obj \
|
|
|
|
xchat.obj
|
|
|
|
|
|
|
|
FEGTK_OBJECTS = \
|
|
|
|
about.obj \
|
|
|
|
ascii.obj \
|
|
|
|
banlist.obj \
|
|
|
|
chanlist.obj \
|
|
|
|
chanview.obj \
|
|
|
|
custom-list.obj \
|
|
|
|
dccgui.obj \
|
|
|
|
editlist.obj \
|
|
|
|
fe-gtk.obj \
|
|
|
|
fkeys.obj \
|
|
|
|
gtkutil.obj \
|
|
|
|
ignoregui.obj \
|
|
|
|
joind.obj \
|
|
|
|
maingui.obj \
|
|
|
|
menu.obj \
|
|
|
|
notifygui.obj \
|
|
|
|
palette.obj \
|
|
|
|
pixmaps.obj \
|
|
|
|
plugingui.obj \
|
|
|
|
plugin-tray.obj \
|
|
|
|
rawlog.obj \
|
|
|
|
search.obj \
|
|
|
|
servlistgui.obj \
|
|
|
|
setup.obj \
|
2010-10-01 13:13:44 -04:00
|
|
|
sexy-spell-entry.obj \
|
2010-04-02 01:29:16 -04:00
|
|
|
textgui.obj \
|
|
|
|
urlgrab.obj \
|
|
|
|
userlistgui.obj \
|
|
|
|
xtext.obj
|