summary refs log tree commit diff stats
path: root/plugins/checksum/makefile.mak
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-10-20 20:58:08 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-10-20 20:58:08 +0200
commit676718594338b84812e0c6cbf1b28bf7589f3167 (patch)
treefff705df192ed9973306fdbf418ca57309aa0788 /plugins/checksum/makefile.mak
parent48045bdf6aa3b2fe9f4da96fafe98b146933d932 (diff)
convert sha256sum to checksum plugin
Diffstat (limited to 'plugins/checksum/makefile.mak')
-rw-r--r--plugins/checksum/makefile.mak18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/checksum/makefile.mak b/plugins/checksum/makefile.mak
new file mode 100644
index 00000000..9e2aae88
--- /dev/null
+++ b/plugins/checksum/makefile.mak
@@ -0,0 +1,18 @@
+include "..\..\src\makeinc.mak"

+

+all: checksum.obj checksum.def

+	link $(LDFLAGS) $(LIBS) /dll /out:xcchecksum.dll /libpath:$(LUAPATH)\lib $(LUALIB).lib /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) /Dsnprintf=g_snprintf /I$(LUAPATH)\include checksum.c

+

+clean:

+	del *.obj

+	del *.dll

+	del *.exp

+	del *.lib