Orgad Shaneh
b813d1ca0d
CONFIGURE: Avoid needless overwrite of header and mk files
...
They trigger extensive rebuild of source files without a reason every time
the configure script changes, even if the result is exactly the same.
2021-03-28 21:42:31 +02:00
aryanrawlani28
2f05960913
BUILD: MAKEFILES: Rename USE_RULES -> LOAD_RULES_MK
2020-10-03 14:56:36 +02:00
aryanrawlani28
6735c46c41
MAKEFILES: Add a variable which helps in deciding if rules.mk should be used or not
...
- It is always enabled by default
- Only disabled when we would include all engine module files, so we don't include unnecessary stuff
2020-10-03 14:56:36 +02:00
aryanrawlani28
28dc54940f
BUILD: MAKEFILE: Introduce DETECT_OBJS variable. Executable depends on it.
...
Note: No detection objects added currently. It's just an empty variable uptill now.
- These DETECT_OBJS will be seen in action in the new commits
- They contain engine_name/detection.o
- They have MetaEngine code, which has detection features.
- This way, Executable will have linked against the detection.o files
- Detection.cpp files will be individually compilable and not dependent on engine
2020-10-03 14:56:36 +02:00
Eugene Sandulenko
432383a667
ALL: Remove Tizen port
2020-08-01 14:42:45 +02:00
Cameron Cawley
0334411d63
BUILD: Package networking and virtual keyboard files on all platforms
2019-07-08 12:42:21 +03:00
Bastien Bouclet
8efe46dcee
BUILD: Set PKG_CONFIG_LIBDIR only when needed when running configure
...
Remember if PKG_CONFIG_LIBDIR is set when running configure manually,
when automatically running configure, only set PKG_CONFIG_LIBDIR if it
was set during the manual run.
Fixes #10807 .
2018-11-16 18:34:59 +01:00
Cameron Cawley
6360c7eb31
PSP: Add README.PSP to the output of the print-dists rule
2018-11-16 05:19:19 +00:00
Cameron Cawley
6227cc8bd6
BUILD: Add a rule to print the current ScummVM version
2018-11-16 05:19:19 +00:00
Cameron Cawley
ae9cb8aa7b
BUILD: Simplify print-dists rule
...
filter DIST_FILES_% matches variables such as DIST_FILES_DOCS_language that shouldn't be included in the output as a result of commit c9f2091
.
2018-08-18 14:16:45 +02:00
Colin Snover
1dd41fa578
PSP: Add EBOOT.PBP to a dist files list for the Buildbot packager
2018-08-18 14:16:45 +02:00
Colin Snover
4cd928a567
BUILD: Add commands for retrieving calculated binaries & dist files
...
Instead of hard-coding these lists into the CI system's packaging
code, expose them from Make so that everything is sourced off the
same one list.
2018-08-18 14:16:45 +02:00
Bastien Bouclet
172cdab90f
BUILD: Save the PKG_CONFIG_LIBDIR environment variable across rebuilds
2018-08-04 07:55:23 +02:00
Colin Snover
72791aaa23
BUILD: Respect all build tool overrides from environment
...
Previously, only CXX could be overridden by the environment, which
made it impossible to correctly set tools for cross-compiler
toolchains which were not compatible with the default system tools.
2018-08-04 07:55:23 +02:00
Johannes Schickel
defe71792d
CONFIGURE: Allow to overwrite sdl-config to use with SDL_CONFIG.
2015-01-25 19:26:16 +01:00
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