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 | 00c27a28f91cc2bbf512461e69c86be998462728 (patch) | |
tree | b60563b33a0f72865ea12485985e2c4fbd38af3b /configure | |
parent | d77cf95a185a6c8f201f417d08f246727784f728 (diff) | |
download | scummvm-rg350-00c27a28f91cc2bbf512461e69c86be998462728.tar.gz scummvm-rg350-00c27a28f91cc2bbf512461e69c86be998462728.tar.bz2 scummvm-rg350-00c27a28f91cc2bbf512461e69c86be998462728.zip |
BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.
Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -4382,3 +4382,14 @@ include \$(srcdir)/Makefile EOF fi + +echo "Creating engines/plugins_table.h" +cat > engines/plugins_table.h << EOF +/* This file is automatically generated by configure */ +/* DO NOT EDIT MANUALLY */ +// 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 +done |