update wdk distribution to use relative paths where possible
This commit is contained in:
@@ -9,7 +9,7 @@ checksum.def:
|
||||
echo xchat_plugin_deinit >> checksum.def
|
||||
|
||||
checksum.obj: checksum.c makefile.mak
|
||||
cl $(CFLAGS) checksum.c
|
||||
cl $(CFLAGS) /I.. checksum.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
include "..\..\src\makeinc.mak"
|
||||
|
||||
all: lua.obj lua.def
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll /libpath:$(LUAPATH)\lib $(LUALIB).lib /def:lua.def lua.obj
|
||||
link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll $(LUALIB).lib /def:lua.def lua.obj
|
||||
|
||||
lua.def:
|
||||
echo EXPORTS > lua.def
|
||||
@@ -9,7 +9,7 @@ lua.def:
|
||||
echo xchat_plugin_deinit >> lua.def
|
||||
|
||||
lua.obj: lua.c makefile.mak
|
||||
cl $(CFLAGS) /Dsnprintf=g_snprintf /I$(LUAPATH)\include lua.c
|
||||
cl $(CFLAGS) /I.. /Dsnprintf=g_snprintf lua.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
all:
|
||||
# @cd ewc
|
||||
# @-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd checksum
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
@cd ..\lua
|
||||
@@ -19,11 +17,6 @@ all:
|
||||
@-$(MAKE) /nologo /s /f makefile.mak $@
|
||||
|
||||
clean:
|
||||
# @del ewc\*.def
|
||||
# @del ewc\*.dll
|
||||
# @del ewc\*.exp
|
||||
# @del ewc\*.lib
|
||||
# @del ewc\*.obj
|
||||
@del checksum\*.def
|
||||
@del checksum\*.dll
|
||||
@del checksum\*.exp
|
||||
|
||||
@@ -18,7 +18,7 @@ perl.def:
|
||||
echo xchat_plugin_get_info >> perl.def
|
||||
|
||||
perl.obj: perl.c
|
||||
$(CC) $(CFLAGS) perl.c $(GLIB) -I$(PERLPATH) -DPERL_DLL=\"$(PERLLIB).dll\"
|
||||
$(CC) $(CFLAGS) perl.c $(GLIB) /I$(PERLPATH) /I.. /DPERL_DLL=\"$(PERLLIB).dll\"
|
||||
|
||||
perl.c: xchat.pm.h
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ perl.def:
|
||||
echo xchat_plugin_get_info >> perl.def
|
||||
|
||||
perl.obj: perl.c
|
||||
$(CC) $(CFLAGS) perl.c $(GLIB) -I$(PERLPATH) -DPERL_DLL=\"$(PERLLIB).dll\"
|
||||
$(CC) $(CFLAGS) perl.c $(GLIB) /I$(PERLPATH) /I.. /DPERL_DLL=\"$(PERLLIB).dll\"
|
||||
|
||||
perl.c: xchat.pm.h
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ python.def:
|
||||
echo xchat_plugin_get_info >> python.def
|
||||
|
||||
python.obj: python.c
|
||||
$(CC) $(CFLAGS) /Dusleep=_sleep /DPATH_MAX=255 python.c $(GLIB) /I$(PYTHONPATH)\include /DPYTHON_DLL=\"$(PYTHONLIB).dll\"
|
||||
$(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 $(LIBS) /def:python.def
|
||||
|
||||
@@ -11,7 +11,7 @@ tcl.def:
|
||||
echo xchat_plugin_get_info >> tcl.def
|
||||
|
||||
tclplugin.obj: tclplugin.c
|
||||
$(CC) $(CFLAGS) tclplugin.c /I$(TCLPATH)\include /DTCL_DLL=\"$(TCLLIB).dll\"
|
||||
$(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
|
||||
|
||||
@@ -9,7 +9,7 @@ upd.def:
|
||||
echo xchat_plugin_deinit >> upd.def
|
||||
|
||||
upd.obj: upd.c makefile.mak
|
||||
cl $(CFLAGS) $(GLIB) upd.c
|
||||
cl $(CFLAGS) $(GLIB) /I.. upd.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
|
||||
@@ -9,7 +9,7 @@ winamp.def:
|
||||
echo xchat_plugin_deinit >> winamp.def
|
||||
|
||||
winamp.obj: winamp.c makefile.mak
|
||||
cl $(CFLAGS) winamp.c
|
||||
cl $(CFLAGS) /I.. winamp.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
|
||||
@@ -9,7 +9,7 @@ xdcc.def:
|
||||
echo xchat_plugin_deinit >> xdcc.def
|
||||
|
||||
xdcc.obj: xdcc.c makefile.mak
|
||||
cl $(CFLAGS) $(GLIB) xdcc.c
|
||||
cl $(CFLAGS) $(GLIB) /I.. xdcc.c
|
||||
|
||||
clean:
|
||||
del *.obj
|
||||
|
||||
Reference in New Issue
Block a user