summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-29 20:08:13 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-29 20:08:13 +0000
commit110dbb673e83af7fc7c7248fcf5f0e4383c04303 (patch)
tree7918b11555602b7a84a9ffe72971bd1f8f077ae9 /src/modules
parentbd2cb095aa686c3bf0f662c0029687645142ea9e (diff)
Final modifications to Autotools build system to work alongside CMake build system. CMake build system will only allow out-of-source building now. Removed all old NMake Makefiles for Windows to focus on use of CMake on Windows (it's not as important to require the old system on Windows like it is on *nix).
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1878 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/makefile.inc.win322
-rw-r--r--src/modules/makefile.sub.win3219
-rw-r--r--src/modules/makefile.win3241
3 files changed, 0 insertions, 62 deletions
diff --git a/src/modules/makefile.inc.win32 b/src/modules/makefile.inc.win32
deleted file mode 100644
index f6a646329..000000000
--- a/src/modules/makefile.inc.win32
+++ /dev/null
@@ -1,2 +0,0 @@
-SRCS=cs_appendtopic.c cs_enforce.c cs_tban.c ns_maxemail.c hs_request.c os_info.c bs_fantasy_unban.c
-SUBS=test
diff --git a/src/modules/makefile.sub.win32 b/src/modules/makefile.sub.win32
deleted file mode 100644
index 4a811622e..000000000
--- a/src/modules/makefile.sub.win32
+++ /dev/null
@@ -1,19 +0,0 @@
-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
diff --git a/src/modules/makefile.win32 b/src/modules/makefile.win32
deleted file mode 100644
index fffa51d74..000000000
--- a/src/modules/makefile.win32
+++ /dev/null
@@ -1,41 +0,0 @@
-include ../../Makefile.inc.win32
-include ./Makefile.inc.win32
-
-OBJECTS= $(SRCS:.c=.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
-
-all: $(OBJECTS) subs
-
-distclean: clean spotless
-
-.c.dll:
- $(CC) $(CFLAGS) $(IRCTYPE) $< ..\mod_version.c $(LFLAGS)
-
-subs:
- @for %i in ( $(SUBS) ); do \
- @if exist %i; @cd %i && $(MAKE) $(MAKEARGS) && cd ..
-
-clean: subs-clean
- -@del *.obj
-
-subs-clean:
- @for %i in ( $(SUBS) ); do \
- @if exist %i; @cd %i && $(MAKE) $(MAKEARGS) clean && cd ..
-
-spotless: clean subs-spotless
- -@del *.dll *.lib *.exp *.manifest
-
-subs-spotless:
- @for %i in ( $(SUBS) ); do \
- @if exist %i; @cd %i && $(MAKE) $(MAKEARGS) spotless && cd ..
-
-install:
- -@mkdir ..\..\$(DATDEST)\modules
- -@mkdir ..\..\$(DATDEST)\modules\runtime
- -@copy *.dll ..\..\$(DATDEST)\modules
-
-subs-install: install
- @for %i in ( $(SUBS) ); do \
- @if exist %i; @cd %i && $(MAKE) $(MAKEARGS) install && cd ..
-