From 110dbb673e83af7fc7c7248fcf5f0e4383c04303 Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Mon, 29 Dec 2008 20:08:13 +0000 Subject: 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 --- src/modules/makefile.inc.win32 | 2 -- src/modules/makefile.sub.win32 | 19 ------------------- src/modules/makefile.win32 | 41 ----------------------------------------- 3 files changed, 62 deletions(-) delete mode 100644 src/modules/makefile.inc.win32 delete mode 100644 src/modules/makefile.sub.win32 delete mode 100644 src/modules/makefile.win32 (limited to 'src/modules') 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 .. - -- cgit