summary refs log tree commit diff stats
path: root/plugins/tcl
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-04-02 07:29:16 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-04-02 07:29:16 +0200
commitc7ec88c88adb4f15b154ad125977d9c2c4ae4956 (patch)
tree09b886a96255b141e59747b3d3b375b576b2cdc5 /plugins/tcl
parent876a185af371a92d73725a25ccda3a41fdaebd37 (diff)
move additions to own repo, so that patch contains only modifications
Diffstat (limited to 'plugins/tcl')
-rw-r--r--plugins/tcl/makefile.mak22
1 files changed, 22 insertions, 0 deletions
diff --git a/plugins/tcl/makefile.mak b/plugins/tcl/makefile.mak
new file mode 100644
index 00000000..5f43ebb7
--- /dev/null
+++ b/plugins/tcl/makefile.mak
@@ -0,0 +1,22 @@
+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) tclplugin.c /I$(TCLPATH)\INCLUDE /I../../include /I.. /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