diff options
author | D G Turner | 2013-11-07 12:58:34 +0100 |
---|---|---|
committer | D G Turner | 2013-11-24 00:48:01 +0000 |
commit | 1ac01d2333af11d403ef84dd5192abb18814e5b3 (patch) | |
tree | 3cb2ba3a7a2c3aba1229ba4c99ec958ac63c1bbf /configure | |
parent | 00c27a28f91cc2bbf512461e69c86be998462728 (diff) | |
download | scummvm-rg350-1ac01d2333af11d403ef84dd5192abb18814e5b3.tar.gz scummvm-rg350-1ac01d2333af11d403ef84dd5192abb18814e5b3.tar.bz2 scummvm-rg350-1ac01d2333af11d403ef84dd5192abb18814e5b3.zip |
BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -4390,6 +4390,13 @@ cat > engines/plugins_table.h << EOF // This file is being included by "base/plugins.cpp" EOF -for i in $_srcdir/engines/*/engine-plugin.h; do - cat $i >> engines/plugins_table.h +for i in $_srcdir/engines/*; do + if [ -d $i ]; then + j=`echo ${i#$_srcdir/engines/} | tr '[:lower:]' '[:upper:]'` + cat >> engines/plugins_table.h << EOF +#if PLUGIN_ENABLED_STATIC($j) +LINK_PLUGIN($j) +#endif +EOF + fi done |