Rename files, delete old windows makefiles
This commit is contained in:
parent
52525478ab
commit
ea2c58c234
12
config.h.w32
12
config.h.w32
@ -1,12 +0,0 @@
|
||||
#define LOCALEDIR "./locale"
|
||||
#define ENABLE_NLS
|
||||
#define USE_GMODULE
|
||||
#define USE_PLUGIN
|
||||
#define PACKAGE_NAME "xchat"
|
||||
#define PACKAGE_VERSION "2.8.8-Unofficial"
|
||||
#define XCHATLIBDIR "."
|
||||
#define XCHATSHAREDIR "."
|
||||
#define OLD_PERL
|
||||
#ifndef USE_IPV6
|
||||
#define socklen_t int
|
||||
#endif
|
@ -1,18 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
all: checksum.obj checksum.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xcchecksum.dll /def:checksum.def checksum.obj
|
||||
|
||||
checksum.def:
|
||||
echo EXPORTS > checksum.def
|
||||
echo xchat_plugin_init >> checksum.def
|
||||
echo xchat_plugin_deinit >> checksum.def
|
||||
|
||||
checksum.obj: checksum.c makefile.mak
|
||||
cl $(CFLAGS) /I.. checksum.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,22 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
DNS_OBJECTS = \
|
||||
dns.obj \
|
||||
thread.obj
|
||||
|
||||
all: $(DNS_OBJECTS) dns.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xcdns.dll /def:dns.def $(DNS_OBJECTS)
|
||||
|
||||
dns.def:
|
||||
echo EXPORTS > dns.def
|
||||
echo xchat_plugin_init >> dns.def
|
||||
echo xchat_plugin_deinit >> dns.def
|
||||
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) $(GLIB) /I.. /c $<
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,18 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
all: doat.obj doat.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xcdoat.dll /def:doat.def doat.obj
|
||||
|
||||
doat.def:
|
||||
echo EXPORTS > doat.def
|
||||
echo xchat_plugin_init >> doat.def
|
||||
echo xchat_plugin_deinit >> doat.def
|
||||
|
||||
doat.obj: doat.c makefile.mak
|
||||
cl $(CFLAGS) $(GLIB) /I.. doat.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,18 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
all: exec.obj exec.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xcexec.dll /def:exec.def exec.obj
|
||||
|
||||
exec.def:
|
||||
echo EXPORTS > exec.def
|
||||
echo xchat_plugin_init >> exec.def
|
||||
echo xchat_plugin_deinit >> exec.def
|
||||
|
||||
exec.obj: exec.c makefile.mak
|
||||
cl $(CFLAGS) $(GLIB) /I.. exec.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,30 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
TARGET = xcfishlim.dll
|
||||
|
||||
CFLAGS = $(CFLAGS)
|
||||
|
||||
FISHLIM_OBJECTS = \
|
||||
fish.obj \
|
||||
irc.obj \
|
||||
keystore.obj \
|
||||
misc.obj \
|
||||
plugin_xchat.obj
|
||||
|
||||
all: $(FISHLIM_OBJECTS) fishlim.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xcfishlim.dll /def:fishlim.def $(FISHLIM_OBJECTS)
|
||||
|
||||
fishlim.def:
|
||||
echo EXPORTS > fishlim.def
|
||||
echo xchat_plugin_init >> fishlim.def
|
||||
echo xchat_plugin_deinit >> fishlim.def
|
||||
echo xchat_plugin_get_info >> fishlim.def
|
||||
|
||||
.c.obj:
|
||||
$(CC) $(CFLAGS) $(GLIB) /I.. /c $<
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,20 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
DIRENTLIB = ..\..\src\common\dirent-win32.lib
|
||||
|
||||
all: lua.obj lua.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll $(LUALIB).lib $(DIRENTLIB) /def:lua.def lua.obj
|
||||
|
||||
lua.def:
|
||||
echo EXPORTS > lua.def
|
||||
echo xchat_plugin_init >> lua.def
|
||||
echo xchat_plugin_deinit >> lua.def
|
||||
|
||||
lua.obj: lua.c makefile.mak
|
||||
cl $(CFLAGS) /I.. /Dsnprintf=g_snprintf lua.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,71 +0,0 @@
|
||||
all:
|
||||
@cd checksum
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\gtkpref
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\dns
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\doat
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\exec
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\fishlim
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\lua
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\mpcinfo
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
# @cd ..\nonbmp
|
||||
# @-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\python
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\tcl
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\upd
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\xsasl
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\xtray
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\winamp
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\winsys
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\wmpa
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
|
||||
clean:
|
||||
@cd checksum
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\gtkpref
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\dns
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\doat
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\exec
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\fishlim
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\lua
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\mpcinfo
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
# @cd ..\nonbmp
|
||||
# @-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\python
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\tcl
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\upd
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\xsasl
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\xtray
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\winamp
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\winsys
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\wmpa
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
@ -1,18 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
all: mpcinfo.obj mpcinfo.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xcmpcinfo.dll /def:mpcinfo.def mpcinfo.obj
|
||||
|
||||
mpcinfo.def:
|
||||
echo EXPORTS > mpcinfo.def
|
||||
echo xchat_plugin_init >> mpcinfo.def
|
||||
echo xchat_plugin_deinit >> mpcinfo.def
|
||||
|
||||
mpcinfo.obj: mpcinfo.c makefile.mak
|
||||
cl $(CFLAGS) $(GLIB) /I.. mpcinfo.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,40 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
DIRENTLIB = ..\..\src\common\dirent-win32.lib
|
||||
TARGET = $(PERL512OUTPUT)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
perl.def:
|
||||
echo EXPORTS > perl.def
|
||||
echo xchat_plugin_init >> perl.def
|
||||
echo xchat_plugin_deinit >> perl.def
|
||||
echo xchat_plugin_get_info >> perl.def
|
||||
|
||||
perl.obj: perl.c
|
||||
$(CC) $(CFLAGS) perl.c $(GLIB) /I$(PERL512PATH)\perl\lib\CORE /I.. /DPERL_DLL=\"$(PERL512LIB).dll\"
|
||||
|
||||
perl512.def:
|
||||
gendef $(PERL512PATH)\perl\bin\perl512.dll
|
||||
|
||||
$(PERL512LIB).lib: perl512.def
|
||||
!ifdef X64
|
||||
lib /nologo /machine:x64 /def:perl512.def
|
||||
!else
|
||||
lib /nologo /machine:x86 /def:perl512.def
|
||||
!endif
|
||||
|
||||
perl.c: xchat.pm.h
|
||||
|
||||
xchat.pm.h: lib/Xchat.pm lib/IRC.pm
|
||||
perl.exe generate_header
|
||||
|
||||
$(TARGET): perl.obj perl.def $(PERL512LIB).lib
|
||||
$(LINK) /DLL /out:$(TARGET) perl.obj $(LDFLAGS) $(PERL512LIB).lib /delayload:$(PERL512LIB).dll $(DIRENTLIB) delayimp.lib user32.lib shell32.lib advapi32.lib /def:perl.def
|
||||
|
||||
clean:
|
||||
@del $(TARGET)
|
||||
@del *.obj
|
||||
@del *.def
|
||||
@del *.lib
|
||||
@del *.exp
|
@ -1,42 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
DIRENTLIB = ..\..\src\common\dirent-win32.lib
|
||||
TARGET = $(PERL514OUTPUT)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
perl.def:
|
||||
echo EXPORTS > perl.def
|
||||
echo xchat_plugin_init >> perl.def
|
||||
echo xchat_plugin_deinit >> perl.def
|
||||
echo xchat_plugin_get_info >> perl.def
|
||||
|
||||
# MSVC only supports __inline, while GCC only supports __inline__. This is defined incorretly
|
||||
# in lib\CORE\config.h in Strawberry Perl, see #define PERL_STATIC_INLINE static __inline__
|
||||
perl.obj: perl.c
|
||||
$(CC) $(CFLAGS) perl.c $(GLIB) /I$(PERL514PATH)\perl\lib\CORE /I.. /DPERL_DLL=\"$(PERL514LIB).dll\" /D__inline__=__inline
|
||||
|
||||
perl514.def:
|
||||
gendef $(PERL514PATH)\perl\bin\perl514.dll
|
||||
|
||||
$(PERL514LIB).lib: perl514.def
|
||||
!ifdef X64
|
||||
lib /nologo /machine:x64 /def:perl514.def
|
||||
!else
|
||||
lib /nologo /machine:x86 /def:perl514.def
|
||||
!endif
|
||||
|
||||
perl.c: xchat.pm.h
|
||||
|
||||
xchat.pm.h: lib/Xchat.pm lib/IRC.pm
|
||||
perl.exe generate_header
|
||||
|
||||
$(TARGET): perl.obj perl.def $(PERL514LIB).lib
|
||||
$(LINK) /DLL /out:$(TARGET) perl.obj $(LDFLAGS) $(PERL514LIB).lib /delayload:$(PERL514LIB).dll $(DIRENTLIB) delayimp.lib user32.lib shell32.lib advapi32.lib /def:perl.def
|
||||
|
||||
clean:
|
||||
@del $(TARGET)
|
||||
@del *.obj
|
||||
@del *.def
|
||||
@del *.lib
|
||||
@del *.exp
|
@ -1,25 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
DIRENTLIB = ..\..\src\common\dirent-win32.lib
|
||||
TARGET = $(PYTHONOUTPUT)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
python.def:
|
||||
echo EXPORTS > python.def
|
||||
echo xchat_plugin_init >> python.def
|
||||
echo xchat_plugin_deinit >> python.def
|
||||
echo xchat_plugin_get_info >> python.def
|
||||
|
||||
python.obj: python.c
|
||||
$(CC) $(CFLAGS) /I.. /Dusleep=_sleep /DPATH_MAX=255 python.c $(GLIB) /I$(PYTHONPATH)\include /DPYTHON_DLL=\"$(PYTHONLIB).dll\"
|
||||
|
||||
$(TARGET): python.obj python.def
|
||||
$(LINK) /dll /out:$(TARGET) $(LDFLAGS) python.obj /libpath:$(PYTHONPATH)\libs $(PYTHONLIB).lib $(DIRENTLIB) $(LIBS) /def:python.def
|
||||
|
||||
clean:
|
||||
del $(TARGET)
|
||||
del *.obj
|
||||
del python.def
|
||||
del *.lib
|
||||
del *.exp
|
@ -1,22 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
TARGET = $(TCLOUTPUT)
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
tcl.def:
|
||||
echo EXPORTS > tcl.def
|
||||
echo xchat_plugin_init >> tcl.def
|
||||
echo xchat_plugin_deinit >> tcl.def
|
||||
echo xchat_plugin_get_info >> tcl.def
|
||||
|
||||
tclplugin.obj: tclplugin.c
|
||||
$(CC) $(CFLAGS) /I.. tclplugin.c /I$(TCLPATH)\include /DTCL_DLL=\"$(TCLLIB).dll\"
|
||||
|
||||
$(TARGET): tclplugin.obj tcl.def
|
||||
$(LINK) /dll /out:$(TARGET) $(LDFLAGS) tclplugin.obj /libpath:$(TCLPATH)\lib $(TCLLIB).lib /delayload:$(TCLLIB).dll delayimp.lib /def:tcl.def
|
||||
|
||||
clean:
|
||||
del $(TARGET)
|
||||
del *.obj
|
||||
del tcl.def
|
@ -1,18 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
all: upd.obj upd.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xcupd.dll /def:upd.def upd.obj
|
||||
|
||||
upd.def:
|
||||
echo EXPORTS > upd.def
|
||||
echo xchat_plugin_init >> upd.def
|
||||
echo xchat_plugin_deinit >> upd.def
|
||||
|
||||
upd.obj: upd.c makefile.mak
|
||||
cl $(CFLAGS) $(GLIB) /I.. upd.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,18 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
all: winamp.obj winamp.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xcwinamp.dll /def:winamp.def winamp.obj
|
||||
|
||||
winamp.def:
|
||||
echo EXPORTS > winamp.def
|
||||
echo xchat_plugin_init >> winamp.def
|
||||
echo xchat_plugin_deinit >> winamp.def
|
||||
|
||||
winamp.obj: winamp.c makefile.mak
|
||||
cl $(CFLAGS) /I.. winamp.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,18 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
all: winsys.obj winsys.def
|
||||
link $(LDFLAGS) $(LIBS) /NODEFAULTLIB:comsupp.lib wbemuuid.lib vccomsup.lib /dll /out:xcwinsys.dll /def:winsys.def winsys.obj
|
||||
|
||||
winsys.def:
|
||||
echo EXPORTS > winsys.def
|
||||
echo xchat_plugin_init >> winsys.def
|
||||
echo xchat_plugin_deinit >> winsys.def
|
||||
|
||||
winsys.obj: winsys.cpp makefile.mak
|
||||
cl $(CFLAGS) $(GLIB) /DUNICODE /D_UNICODE /Zc:wchar_t- /I.. winsys.cpp
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,53 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
TARGET = xcwmpa.dll
|
||||
|
||||
WMPA_OBJECTS = \
|
||||
wmpa.obj \
|
||||
wmpadialog.obj \
|
||||
wmpcdrom.obj \
|
||||
wmpcdromcollection.obj \
|
||||
wmpclosedcaption.obj \
|
||||
wmpcontrols.obj \
|
||||
wmpdvd.obj \
|
||||
wmperror.obj \
|
||||
wmperroritem.obj \
|
||||
wmpmedia.obj \
|
||||
wmpmediacollection.obj \
|
||||
wmpnetwork.obj \
|
||||
wmpplayer4.obj \
|
||||
wmpplayerapplication.obj \
|
||||
wmpplaylist.obj \
|
||||
wmpplaylistarray.obj \
|
||||
wmpplaylistcollection.obj \
|
||||
wmpsettings.obj \
|
||||
wmpstringcollection.obj \
|
||||
xchat-plugin.obj
|
||||
|
||||
CPPFLAGS = $(CPPFLAGS) /EHsc /D_AFXDLL /D_AFX_NO_DAO_SUPPORT /D_WINDLL /D_USRDLL
|
||||
|
||||
all: $(WMPA_OBJECTS) $(TARGET)
|
||||
|
||||
.cpp.obj:
|
||||
$(CC) $(CPPFLAGS) /Yc"StdAfx.h" /Fp"wmpa.pch" StdAfx.cpp
|
||||
$(CC) $(CPPFLAGS) /Yu"StdAfx.h" /Fp"wmpa.pch" /c $<
|
||||
|
||||
$(TARGET): $(WMPA_OBJECTS)
|
||||
rc /nologo /D_AFXDLL wmpa.rc
|
||||
!ifdef X64
|
||||
midl /nologo /mktyplib203 /char signed /env x64 /h wmpa_h.h /tlb wmpa.tlb wmpa.odl
|
||||
!else
|
||||
midl /nologo /mktyplib203 /char signed /env win32 /h wmpa_h.h /tlb wmpa.tlb wmpa.odl
|
||||
!endif
|
||||
$(LINK) /DLL /out:$(TARGET) $(LDFLAGS) $(WMPA_OBJECTS) $(LIBS) /def:wmpa.def wmpa.res
|
||||
|
||||
clean:
|
||||
del $(TARGET)
|
||||
del *.obj
|
||||
del wmpa.pch
|
||||
del wmpa.res
|
||||
del wmpa.tlb
|
||||
del wmpa_h.h
|
||||
del wmpa_i.c
|
||||
del *.exp
|
||||
del *.lib
|
@ -1,18 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
all: xsasl.obj xsasl.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xcxsasl.dll /def:xsasl.def xsasl.obj
|
||||
|
||||
xsasl.def:
|
||||
echo EXPORTS > xsasl.def
|
||||
echo xchat_plugin_init >> xsasl.def
|
||||
echo xchat_plugin_deinit >> xsasl.def
|
||||
|
||||
xsasl.obj: xsasl.c makefile.mak
|
||||
cl $(CFLAGS) $(GLIB) /I.. xsasl.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
del *.dll
|
||||
del *.exp
|
||||
del *.lib
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
@ -1,37 +0,0 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
TARGET = xtray.dll
|
||||
|
||||
TRAY_OBJECTS = \
|
||||
callbacks.obj \
|
||||
sdAlerts.obj \
|
||||
sdTray.obj \
|
||||
utility.obj \
|
||||
xchat.obj \
|
||||
xtray.obj
|
||||
|
||||
CPPFLAGS = $(CPPFLAGS) /D_STL70_ /D_STATIC_CPPLIB /EHsc /DUNICODE /D_UNICODE
|
||||
|
||||
all: $(TRAY_OBJECTS) $(TARGET)
|
||||
|
||||
xtray.def:
|
||||
echo EXPORTS > xtray.def
|
||||
echo xchat_plugin_init >> xtray.def
|
||||
echo xchat_plugin_deinit >> xtray.def
|
||||
|
||||
.cpp.obj:
|
||||
$(CC) $(CPPFLAGS) /I.. /c $<
|
||||
|
||||
res:
|
||||
rc /nologo resource.rc
|
||||
|
||||
$(TARGET): $(TRAY_OBJECTS) xtray.def res
|
||||
$(LINK) /DLL /out:$(TARGET) $(LDFLAGS) $(TRAY_OBJECTS) ntstc_msvcrt.lib $(LIBS) /def:xtray.def resource.res
|
||||
|
||||
clean:
|
||||
del $(TARGET)
|
||||
del *.obj
|
||||
del xtray.def
|
||||
del resource.res
|
||||
del *.lib
|
||||
del *.exp
|
@ -1,45 +0,0 @@
|
||||
include "..\makeinc.mak"
|
||||
|
||||
COMMON_OBJECTS = \
|
||||
cfgfiles.obj \
|
||||
chanopt.obj \
|
||||
ctcp.obj \
|
||||
dcc.obj \
|
||||
dirent-win32.obj \
|
||||
history.obj \
|
||||
identd.obj \
|
||||
ignore.obj \
|
||||
inbound.obj \
|
||||
modes.obj \
|
||||
network.obj \
|
||||
notify.obj \
|
||||
outbound.obj \
|
||||
plugin.obj \
|
||||
plugin-timer.obj \
|
||||
proto-irc.obj \
|
||||
server.obj \
|
||||
servlist.obj \
|
||||
ssl.obj \
|
||||
text.obj \
|
||||
thread.obj \
|
||||
tree.obj \
|
||||
url.obj \
|
||||
userlist.obj \
|
||||
util.obj \
|
||||
xchat.obj
|
||||
|
||||
all: $(COMMON_OBJECTS) xchatcommon.lib dirent-win32.lib
|
||||
|
||||
xchatcommon.lib: $(COMMON_OBJECTS)
|
||||
lib /nologo /out:xchatcommon.lib $(COMMON_OBJECTS)
|
||||
|
||||
dirent-win32.lib: dirent-win32.obj
|
||||
lib /nologo /out:dirent-win32.lib dirent-win32.obj
|
||||
|
||||
.c.obj::
|
||||
$(CC) $(CFLAGS) $(GLIB) $<
|
||||
|
||||
clean:
|
||||
@del *.obj
|
||||
@del xchatcommon.lib
|
||||
@del dirent-win32.lib
|
@ -1,62 +0,0 @@
|
||||
include "..\makeinc.mak"
|
||||
|
||||
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 \
|
||||
sexy-iso-codes.obj \
|
||||
sexy-marshal.obj \
|
||||
sexy-spell-entry.obj \
|
||||
textgui.obj \
|
||||
urlgrab.obj \
|
||||
userlistgui.obj \
|
||||
xtext.obj
|
||||
|
||||
!ifdef X64
|
||||
MACHINE_FLAG = /MACHINE:X64
|
||||
!else
|
||||
MACHINE_FLAG = /MACHINE:X86
|
||||
!endif
|
||||
|
||||
COMLIB = ..\common\xchatcommon.lib
|
||||
PROG = xchat.exe
|
||||
|
||||
all: $(PROG)
|
||||
|
||||
.c.obj::
|
||||
$(CC) $(CFLAGS) -I..\..\plugins $(GLIB) $(GTK) $<
|
||||
|
||||
$(PROG): $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
|
||||
$(LINK) /out:$(PROG) /entry:mainCRTStartup $(LDFLAGS) $(LIBS) $(FEGTK_OBJECTS) $(COMLIB) xchat-icon.obj
|
||||
|
||||
xchat.res: xchat.rc ../../xchat.ico
|
||||
rc /nologo /r xchat.rc
|
||||
|
||||
xchat-icon.obj: xchat.res
|
||||
cvtres /nologo $(MACHINE_FLAG) /OUT:xchat-icon.obj xchat.res
|
||||
|
||||
clean:
|
||||
@del *.obj
|
||||
@del $(PROG)
|
||||
@del xchat.res
|
@ -1,20 +0,0 @@
|
||||
include "..\makeinc.mak"
|
||||
|
||||
COMLIB = ..\common\xchatcommon.lib
|
||||
PROG = xchat-text.exe
|
||||
|
||||
!ifdef X64
|
||||
PLATOBJ = msvcrt_win2003.obj
|
||||
!else
|
||||
PLATOBJ = msvcrt_winxp.obj
|
||||
!endif
|
||||
|
||||
all: fe-text.obj
|
||||
link /out:$(PROG) /subsystem:console /nologo $(PLATOBJ) $(LIBS) $(COMLIB) fe-text.obj
|
||||
|
||||
fe-text.obj: fe-text.c makefile.mak
|
||||
cl $(CFLAGS) $(GLIB) fe-text.c
|
||||
|
||||
clean:
|
||||
@del *.obj
|
||||
@del $(PROG)
|
@ -1,23 +0,0 @@
|
||||
all:
|
||||
@cd pixmaps
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\common
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\fe-gtk
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\fe-text
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\gtk2-prefs
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
|
||||
clean:
|
||||
@cd pixmaps
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\common
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\fe-gtk
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\fe-text
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
||||
@cd ..\gtk2-prefs
|
||||
@-$(MAKE) /nologo /s /f makefile.mak clean $@
|
@ -1,45 +0,0 @@
|
||||
CC = cl
|
||||
LINK = link
|
||||
CFLAGS = $(CFLAGS) /Ox /c /MD /MP /W0 /nologo
|
||||
CFLAGS = $(CFLAGS) /DWIN32 /DG_DISABLE_CAST_CHECKS /DG_DISABLE_DEPRECATED /DGDK_PIXBUF_DISABLE_DEPRECATED /DGDK_DISABLE_DEPRECATED /DHAVE_STRTOULL /Dstrtoull=_strtoui64 /Dstrcasecmp=stricmp /Dstrncasecmp=strnicmp
|
||||
CFLAGS = $(CFLAGS) /I$(DEV)\include
|
||||
CPPFLAGS = /c /MD /W0 /nologo /DWIN32
|
||||
LDFLAGS = /subsystem:windows /nologo
|
||||
LIBS = $(LIBS) gdi32.lib shell32.lib user32.lib advapi32.lib imm32.lib ole32.lib winmm.lib ws2_32.lib wininet.lib comdlg32.lib libeay32.lib ssleay32.lib
|
||||
|
||||
GLIB = /I$(DEV)\include\glib-2.0 /I$(DEV)\lib\glib-2.0\include /I$(DEV)\include\libxml2
|
||||
GTK = /I$(DEV)\include\gtk-2.0 /I$(DEV)\lib\gtk-2.0\include /I$(DEV)\include\atk-1.0 /I$(DEV)\include\cairo /I$(DEV)\include\pango-1.0 /I$(DEV)\include\gdk-pixbuf-2.0
|
||||
LIBS = $(LIBS) /libpath:$(DEV)\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 libxml2.lib
|
||||
#obs LIBS = $(LIBS) /libpath:$(DEV)\lib libgtk-win32-2.0-0.lib libgdk-win32-2.0-0.lib libatk-1.0-0.lib libgio-2.0-0.lib libgdk_pixbuf-2.0-0.lib libpangowin32-1.0-0.lib libpangocairo-1.0-0.lib libpango-1.0-0.lib libcairo-2.lib libgobject-2.0-0.lib libgmodule-2.0-0.lib libglib-2.0-0.lib libintl-8.lib libxml2-2.lib
|
||||
|
||||
LUALIB = lua51
|
||||
LUAOUTPUT = xclua.dll
|
||||
|
||||
PERL512LIB = perl512
|
||||
PERL512OUTPUT = xcperl-512.dll
|
||||
PERL514LIB = perl514
|
||||
PERL514OUTPUT = xcperl-514.dll
|
||||
|
||||
PYTHONLIB = python27
|
||||
PYTHONOUTPUT = xcpython.dll
|
||||
|
||||
TCLLIB = tcl85
|
||||
TCLOUTPUT = xctcl.dll
|
||||
|
||||
!ifdef X64
|
||||
CFLAGS = $(CFLAGS) /favor:AMD64 /D_WIN64
|
||||
CPPFLAGS = $(CPPFLAGS) /favor:AMD64 /D_WIN64
|
||||
LDFLAGS = $(LDFLAGS) msvcrt_win2003.obj
|
||||
|
||||
PERL512PATH = c:\mozilla-build\perl-5.12-x64
|
||||
PERL514PATH = c:\mozilla-build\perl-5.14-x64
|
||||
PYTHONPATH = c:\mozilla-build\python-2.7-x64
|
||||
TCLPATH = c:\mozilla-build\tcl-8.5-x64
|
||||
!else
|
||||
LDFLAGS = $(LDFLAGS) msvcrt_winxp.obj
|
||||
|
||||
PERL512PATH = c:\mozilla-build\perl-5.12-x86
|
||||
PERL514PATH = c:\mozilla-build\perl-5.14-x86
|
||||
PYTHONPATH = c:\mozilla-build\python-2.7-x86
|
||||
TCLPATH = c:\mozilla-build\tcl-8.5-x86
|
||||
!endif
|
@ -1,18 +0,0 @@
|
||||
CONV = gdk-pixbuf-csource
|
||||
|
||||
LIST = bookpng book.png \
|
||||
hoppng hop.png \
|
||||
oppng op.png \
|
||||
purplepng purple.png \
|
||||
redpng red.png \
|
||||
trayfilepng fileoffer.png \
|
||||
trayhilightpng highlight.png \
|
||||
traymsgpng message.png \
|
||||
voicepng voice.png \
|
||||
xchatpng ..\..\xchat.png
|
||||
|
||||
all:
|
||||
@$(CONV) --build-list $(LIST) > inline_pngs.h
|
||||
|
||||
clean:
|
||||
@del *.h
|
Loading…
Reference in New Issue
Block a user