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/modules/makefile.sub.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/modules/makefile.sub.win32')
| -rw-r--r-- | src/modules/makefile.sub.win32 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/modules/makefile.sub.win32 b/src/modules/makefile.sub.win32 new file mode 100644 index 000000000..4a811622e --- /dev/null +++ b/src/modules/makefile.sub.win32 @@ -0,0 +1,19 @@ +include ../../../Makefile.inc.win32 + +OBJECTS= $(SRCS:.c=.obj) +CFLAGS=/nologo /LD /MD /D MODULE_COMPILE $(CFLAGS) /I"../../../include" /I "../" +LFLAGS=/nologo ../../anope.lib wsock32.lib $(LIBS) $(LFLAGS) $(MYSQL_LIB_PATH) /export:AnopeInit /export:AnopeFini /OUT:$(TARGET) + +all: + $(CC) $(SRCS) $(CFLAGS) ..\..\mod_version.c /link $(LFLAGS) + +distclean: clean spotless + +clean: + -@del *.obj + +spotless: clean + -@del *.dll *.lib *.exp *.manifest + +install: + -@copy *.dll ..\..\..\$(DATDEST)\modules |
