From 7c210e205ececd08828dd4d5f33e8a775682e4b1 Mon Sep 17 00:00:00 2001 From: frostycoolslug Date: Sat, 9 Apr 2005 15:38:07 +0000 Subject: Modified Module Makefile autogeneration to depend on some .h files and its own cpp file. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1025 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index c86190a2d..74e65bfc7 100755 --- a/configure +++ b/configure @@ -107,7 +107,7 @@ if [ "$1" = "-update" -o "$2" = "-update" ] ; then flags=`grep '$CompileFlags: ' $module | sed 's/\/\* $CompileFlags://' | sed 's/\*\///'` mod=`echo $module | sed 's/.cpp/.so/' | sed 's/src\/modules\///'` mod2=`echo $module | sed 's/src\/modules\///'` - echo "$mod:" >> src/modules/Makefile + echo "$mod: $mod2 ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/servers.h ../../include/base.h" >> src/modules/Makefile echo " \$(CC) -I../../include \$(FLAGS) -shared$flags -o $mod $mod2" >> src/modules/Makefile echo " @cp $mod \$(MODPATH)/" >> src/modules/Makefile echo "" >> src/modules/Makefile @@ -552,7 +552,7 @@ for module in src/modules/*.cpp ; do flags=`grep '$CompileFlags: ' $module | sed 's/\/\* $CompileFlags://' | sed 's/\*\///'` mod=`echo $module | sed 's/.cpp/.so/' | sed 's/src\/modules\///'` mod2=`echo $module | sed 's/src\/modules\///'` - echo "$mod:" >> src/modules/Makefile + echo "$mod: $mod2 ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/servers.h ../../include/base.h" >> src/modules/Makefile echo " \$(CC) -I../../include \$(FLAGS) -shared$flags -o $mod $mod2" >> src/modules/Makefile echo " @cp $mod \$(MODPATH)/" >> src/modules/Makefile echo "" >> src/modules/Makefile -- cgit v1.2.3