summary refs log tree commit diff stats
path: root/plugins/dns/makefile.mak
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/dns/makefile.mak
parent876a185af371a92d73725a25ccda3a41fdaebd37 (diff)
move additions to own repo, so that patch contains only modifications
Diffstat (limited to 'plugins/dns/makefile.mak')
-rw-r--r--plugins/dns/makefile.mak19
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/dns/makefile.mak b/plugins/dns/makefile.mak
new file mode 100644
index 00000000..f1dd4c73
--- /dev/null
+++ b/plugins/dns/makefile.mak
@@ -0,0 +1,19 @@
+include "..\..\src\makeinc.mak"

+

+xcdns.dll: plugin-dns.obj dns.def

+	link $(LDFLAGS) /dll /out:xcdns.dll /def:dns.def plugin-dns.obj ws2_32.lib

+	dir xcdns.dll

+

+dns.def:

+	echo EXPORTS > dns.def

+	echo xchat_plugin_init >> dns.def

+	echo xchat_plugin_deinit >> dns.def

+

+plugin-dns.obj: plugin-dns.c makefile.mak thread.c

+	cl $(CFLAGS) /I.. -Dsnprintf=_snprintf plugin-dns.c

+

+clean:

+	del *.obj

+	del *.dll

+	del *.exp

+	del *.lib