summary refs log tree commit diff stats
path: root/plugins/dns/makefile.mak
diff options
context:
space:
mode:
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