From d6bb55476c9aa4771e2b7f24cee05325a1df4117 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Mon, 29 Dec 2008 20:07:38 +0000 Subject: Revived Autotools from the grave, although it'll need some tweaking to work alongside CMake now. (In other words, don't use this commit, I committed this so I don't have to re-add these files again if I screw something up.) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1876 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/Makefile.win32 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/protocol/Makefile.win32 (limited to 'src/protocol/Makefile.win32') diff --git a/src/protocol/Makefile.win32 b/src/protocol/Makefile.win32 new file mode 100644 index 000000000..aec850976 --- /dev/null +++ b/src/protocol/Makefile.win32 @@ -0,0 +1,29 @@ +include ../../Makefile.inc.win32 + +SRCS=bahamut.c inspircd11.c inspircd12.cpp \ + ratbox.c unreal32.c +OBJECTS=bahamut.dll inspircd11.dll inspircd12.dll ratbox.dll unreal32.dll + +CFLAGS=/LD /MD /D MODULE_COMPILE $(CFLAGS) /I"../../include" +LFLAGS=/link ../anope.lib wsock32.lib $(LIBS) $(LFLAGS) $(MYSQL_LIB_PATH) /export:init_module /export:destroy_module /VERSION:$(VERSION) + +all: $(OBJECTS) + +distclean: clean spotless + +.c.dll: + $(CC) $(CFLAGS) $< ..\mod_version.c $(LFLAGS) + +.cpp.dll: + $(CC) $(CFLAGS) $< ..\mod_version.c $(LFLAGS) + +clean: + -@del *.obj + +spotless: clean + -@del *.dll *.lib *.exp *.manifest + +install: + -@mkdir ..\..\$(DATDEST)\modules + -@mkdir ..\..\$(DATDEST)\modules\runtime + -@copy *.dll ..\..\$(DATDEST)\modules -- cgit