Commit Graph

234 Commits

Author SHA1 Message Date
Johannes Schickel
2fe303ce3f Merge pull request #409 from lordhoto/rtti
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
2014-01-23 15:23:12 -08:00
D G Turner
9c02552358 BUILD: Partial solution for parallel make issue.
This is due to the multiple outputs produced by the configure rule,
which cause multiple invocations of configure when make is run in
parallel. Various solutions are detailed in the Multiple-Outputs
section of the GNU automake manual which apply generally to makefiles.

This solution is a simpler one, but should solve the problem, though it
can fail on "mutilated" trees ie. where some of the configure outputs
are present, but not all... but this situation is not common, tends to
be due to an error in configure and should be recoverable by a
"make clean && ./configure" call.
2013-11-24 00:48:01 +00:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 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.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
Johannes Schickel
2df57c17e5 BUILD: Enable RTTI again. 2013-10-23 23:45:29 +02:00
Chris Warren-Smith
be399188c4 TIZEN: bada port updated to tizen 2013-07-03 07:04:11 +10:00
Johannes Schickel
ff0fcf5204 BUILD: Pass -Wno-nested-anon-types to clang. 2013-07-01 16:28:19 +02:00
Max Horn
c638730fbc BUILD: Move list of engines out of configure
The new file engines/configure.engines is currently manually created
and maintained, but could be regenerated by a script in the future.
2012-04-18 15:44:11 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
dhewg
dc4c60851f BUILD: Get rid of -Wimplicit
It's already implied by -Wall, and GCC 4.6 complains about it for C++
2011-03-29 21:56:40 +02:00
dhewg
0831813461 BUILD: Remove -Wglobal-constructors from Makefile
It's already handled by configure
2011-03-29 21:56:39 +02:00
dhewg
ae25d185d5 BUILD: Add HOSTEXEPRE as prefix for EXECUTABLE
the android port needs to link a shared object for scummvm
2011-02-14 18:58:54 +01:00
Johannes Schickel
9f6dc040ff CONFIGURE: Add basic support for ICC.
svn-id: r55862
2011-02-10 01:05:48 +00:00
Johannes Schickel
f51c3ad62e BUILD: Don't pass -fcheck-new to clang.
svn-id: r52582
2010-09-05 23:17:52 +00:00
Max Horn
8795b926e0 Disable -Wglobal-constructors by default
svn-id: r51979
2010-08-11 13:29:49 +00:00
Max Horn
aa265f1541 BUILD: Add -Wglobal-constructors to default warnings
svn-id: r51975
2010-08-11 12:49:28 +00:00
Max Horn
4fabca98a5 Remove -Wcast-align -- it cause many spurious warnings on several ports
svn-id: r50583
2010-07-01 23:12:45 +00:00
Andre Heider
7bb2c9b5f4 Remove the disabled -Wuninitialized here, it's covered by --enable-release
svn-id: r48973
2010-05-08 21:34:10 +00:00
Ori Avtalion
f2f0e1aa67 Simplify GCC version tests, add support for the clang compiler
svn-id: r48594
2010-04-09 12:23:43 +00:00
Max Horn
958f197b42 typo
svn-id: r46475
2009-12-22 00:15:54 +00:00
Andre Heider
ac4c2701e9 New configure var "_port_mk", set to "ports.mk" per default. Ports can overwrite this, and this change finally allows make targets in that file to access all the common mk variables (e.g. EXECUTABLE).
svn-id: r44401
2009-09-27 14:59:40 +00:00
Max Horn
d374d7d5f4 Only include Makedepend when really using SGI MipsPRO
svn-id: r44354
2009-09-25 12:25:27 +00:00
Max Horn
26f2597fd1 Modified version of patch #2838507: Add support for non-gcc compilers to configure, Makefile etc
svn-id: r44348
2009-09-25 12:11:27 +00:00
Andre Heider
9f7c0a24e2 Added support for WINDRESFLAGS, required for e.g. multilib enabled MinGW toolchains
svn-id: r44035
2009-09-11 18:13:27 +00:00
Andre Heider
5238907845 configure support for AS and ASFLAGS, and .s files in Makefile. If a port has set _host_alias, default to the default GNU tools ranlib, strip, ar, as and windres
svn-id: r43657
2009-08-22 16:30:20 +00:00
Johannes Schickel
c48f71edf4 After discussing with Max, disable -Wmissing-format-attribute again. Also added a comment explaining why it is disabled.
svn-id: r42107
2009-07-04 19:04:39 +00:00
Max Horn
650248dbd1 Added -Wmissing-format-attribute to build system
svn-id: r42041
2009-07-02 22:21:33 +00:00
Max Horn
630501fe43 oops
svn-id: r42012
2009-07-01 20:53:47 +00:00
Max Horn
a6b57dc3a9 - Added GCC_PRINTF attribute to several funcs where it makes sense
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings

svn-id: r42009
2009-07-01 20:51:04 +00:00
Marcus Comstedt
f66789984a Removed garbage character from argument to sleep.
svn-id: r39575
2009-03-20 22:16:57 +00:00
Andre Heider
a0545c4133 Moved -pedantic from Makefile to the end of configure script
svn-id: r39530
2009-03-19 18:52:38 +00:00
Jordi Vilalta Prat
2292dc28b0 Try to use the working copy revision if it's available
svn-id: r39528
2009-03-19 18:39:47 +00:00
Andre Heider
6e1b154484 Added the SVN revision to SCUMMVM_VERSION. The variable has be be set externally, e.g. 'make SCUMMVM_SVN_REVISION=x'
svn-id: r39431
2009-03-15 21:17:37 +00:00
Max Horn
4ab211f673 Removed -Wundef from the default list of compiler flags, and changed PLUGIN_ENABLED_DYNAMIC to not use 'defined()', thus avoiding compiler problems on e.g. BeOS
svn-id: r33114
2008-07-19 21:42:31 +00:00
Johannes Schickel
73da6ab51e - Removed -Wconversion from compiler options for g++ 4.3, it's behavior has fundamently changed in g++ 4.3
- Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though)
- Fixed some warnings for g++ 4.3 (only for the engines I'm using)

svn-id: r32540
2008-06-04 17:20:25 +00:00
Max Horn
235d022186 Added -Wcast-align to the default warnings
svn-id: r30970
2008-02-26 16:55:02 +00:00
Max Horn
ff79a8cd39 added some SVN headers
svn-id: r30961
2008-02-25 14:09:04 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
a3f6278b43 Clarify comments on compiler warning flags
svn-id: r30474
2008-01-13 17:59:53 +00:00
Max Horn
696ea9d301 Various small patches to the build system by jvprat
svn-id: r30473
2008-01-13 17:05:43 +00:00
Max Horn
7599b2cb96 Patch #1847599: Several enhancements for the build system
svn-id: r29889
2007-12-16 21:41:10 +00:00
Max Horn
794b1a361e Moved port specific build rules from Makefile to ports.mk
svn-id: r29645
2007-11-26 15:59:22 +00:00
Max Horn
1beb50f03e When reconfiguring, quote env var values in case they contain whitespaces
svn-id: r29502
2007-11-14 19:23:20 +00:00
Max Horn
e8771aab0c When automatically (re)configuring, print the command we execute (it is often useful to know what the 'last specified parameters' actually *were* :)
svn-id: r29491
2007-11-13 09:47:04 +00:00
Oystein Eftevaag
05b5a493f8 Initial commit of the iPhone/iPod Touch backend
svn-id: r29488
2007-11-13 08:06:15 +00:00
Max Horn
b820b661c7 Patch #1826459: Make: reconfigure on configure change (saving environment)
svn-id: r29435
2007-11-06 17:23:33 +00:00
Oystein Eftevaag
40e7a533ee MacOS X bundle changes (copying in engine data files, pred.dic, and updated DS_Store
svn-id: r27652
2007-06-23 09:29:06 +00:00
Travis Howell
ae2c382fc9 Update win32dist.
svn-id: r27503
2007-06-17 01:35:28 +00:00