diff options
author | frostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-09 15:38:07 +0000 |
---|---|---|
committer | frostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-09 15:38:07 +0000 |
commit | 7c210e205ececd08828dd4d5f33e8a775682e4b1 (patch) | |
tree | fffe4799edfa47e117bddac9918d867d31541843 | |
parent | 3d7312f8af1becdbe458392e14ea64c904ee7b92 (diff) |
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
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |