diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | makefile.win32 | 1 | ||||
-rw-r--r-- | src/modules/Makefile | 7 | ||||
-rw-r--r-- | src/modules/catserv/makefile.win32 | 4 | ||||
-rw-r--r-- | src/modules/makefile.inc.win32 | 4 | ||||
-rw-r--r-- | src/modules/makefile.sub.win32 | 19 | ||||
-rw-r--r-- | src/modules/makefile.win32 | 23 | ||||
-rw-r--r-- | version.log | 6 |
8 files changed, 58 insertions, 7 deletions
@@ -1,6 +1,7 @@ Anope Version S V N ------------------- Provided by Anope Dev. <dev@anope.org> - 2005 +02/27 A Added multi-file module support for win32 - thanks heinz. [ #00] 02/27 A Added multi-file module support for nix, win32 will follow. [ #00] 02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00] 02/05 A Support for Unreal 3.2 +I channel mode. [ #00] diff --git a/makefile.win32 b/makefile.win32 index 93a350e92..ee0e9fa19 100644 --- a/makefile.win32 +++ b/makefile.win32 @@ -25,6 +25,7 @@ install: cd lang && $(MAKE) install && cd .. cd src && $(MAKE) install && cd .. cd src\modules && $(MAKE) install && cd .. + cd src\modules && $(MAKE) subs-install && cd .. -@echo --- -@echo Anope has been insalled successfully! -@echo --- diff --git a/src/modules/Makefile b/src/modules/Makefile index 51306248c..e73fd7e7c 100644 --- a/src/modules/Makefile +++ b/src/modules/Makefile @@ -32,7 +32,12 @@ subs: echo "make all in $$i..."; \ (cd $$i; $(MAKE) $(MAKEARGS) all); done -clean: +subs_clean: + @for i in $(SUBS); do \ + echo "cleaning in $$i..."; \ + (cd $$i; $(MAKE) $(MAKEARGS) clean); done + +clean: subs_clean rm -f *.o *.so *.c~ core spotless: clean diff --git a/src/modules/catserv/makefile.win32 b/src/modules/catserv/makefile.win32 new file mode 100644 index 000000000..638704440 --- /dev/null +++ b/src/modules/catserv/makefile.win32 @@ -0,0 +1,4 @@ +SRCS=ircd_catserv.c purr.c catserv_messages.c meow.c +TARGET=ircd_catserv.dll + +include ..\Makefile.sub.win32 diff --git a/src/modules/makefile.inc.win32 b/src/modules/makefile.inc.win32 index f97acfd3d..f069be350 100644 --- a/src/modules/makefile.inc.win32 +++ b/src/modules/makefile.inc.win32 @@ -1,2 +1,2 @@ -SRCS=hs_moo.c ircd_catserv.c events.c - +SRCS=hs_moo.c events.c +SUBS=catserv diff --git a/src/modules/makefile.sub.win32 b/src/modules/makefile.sub.win32 new file mode 100644 index 000000000..0d0f41069 --- /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) /link $(LFLAGS) + +distclean: clean spotless + +clean: + -@del *.obj + +spotless: clean + -@del *.dll *.lib *.exp + +install: + -@copy *.dll ..\..\..\$(DATDEST)\modules diff --git a/src/modules/makefile.win32 b/src/modules/makefile.win32 index 13133e0b7..5a6d62ad9 100644 --- a/src/modules/makefile.win32 +++ b/src/modules/makefile.win32 @@ -5,20 +5,37 @@ 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:AnopeInit /export:AnopeFini -all: $(OBJECTS) +all: $(OBJECTS) subs distclean: clean spotless .c.dll: $(CC) $(CFLAGS) $(IRCTYPE) $< $(LFLAGS) -clean: + +subs: + @for %i in ( $(SUBS) ); do \ + @if exist %i; @cd %i && $(MAKE) $(MAKEARGS) && cd .. + +clean: subs-clean -@del *.obj -spotless: clean +subs-clean: + @for %i in ( $(SUBS) ); do \ + @if exist %i; @cd %i && $(MAKE) $(MAKEARGS) clean && cd .. + +spotless: clean subs-spotless -@del *.dll *.lib *.exp + +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 .. diff --git a/version.log b/version.log index f8c4ddcc3..95ebd5034 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="8" -VERSION_BUILD="585" +VERSION_BUILD="586" # $Log$ # +# BUILD : 1.7.8 (586) +# BUGS : N/A +# NOTES : Added multifile module support for win32 - thanks heinz :) +# # BUILD : 1.7.8 (585) # BUGS : N/A # NOTES : removed veriable that isnt used anymore :) |