diff options
| author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 20:07:38 +0000 |
|---|---|---|
| committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 20:07:38 +0000 |
| commit | d6bb55476c9aa4771e2b7f24cee05325a1df4117 (patch) | |
| tree | ed830d3c2c748f4c1ed6de25922461d701a805de /src/protocol/Makefile.win32 | |
| parent | 0bb13ddf57c968db37a997851650d768641b3528 (diff) | |
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
Diffstat (limited to 'src/protocol/Makefile.win32')
| -rw-r--r-- | src/protocol/Makefile.win32 | 29 |
1 files changed, 29 insertions, 0 deletions
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 |
