Commit Graph

899 Commits

Author SHA1 Message Date
D G Turner
ffce805fb2 BUILD: Add code to maintain ordering of engines in generated files.
This is mainly "cosmetic" to keep the SCUMM engine and subengines at
the top of the various files, but probably a good idea to prevent any
subtle regressions associated with changing the order.
2013-11-24 00:48:02 +00:00
D G Turner
19a20ad71f BUILD: Create engines/ dir if necessary, to fix out-of-tree builds 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
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
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
David Turner
d4d90b3f07 Merge pull request from zeldin/ouya
Basic OUYA support
2013-10-08 18:26:49 -07:00
D G Turner
7be1d48f86 BUILD: Fix libpng detection when compiled as shared library with zlib.
This was breaking AmigaOS4 builds for the porter as his libpng was built
as a shared library depending on zlib. This should be safe for static
builds as well.
2013-09-29 17:13:21 +01:00
Thierry Crozat
4132a3b9c1 CONFIGURE: Better default for static lib prefix on OSX
Instead of always assuming /sw (i.e. fink) it should now also pick up
the macports prefix or /usr/local depending on which one exists.
Of course this can still be overwritten with --with-staticlib-prefix
2013-09-17 21:54:58 +01:00
Johannes Schickel
ac66cc9219 GRAPHICS: Implement JPEGDecoder based on libjpeg. 2013-09-16 15:55:36 +02:00
Marcus Comstedt
237ce0b89b CONFIGURE: Add --host=ouya to the special targets 2013-08-07 16:54:40 +02:00
Alyssa Milburn
8e9aefbf6e CONFIGURE: Use -Wno-long-long when we use -pedantic. 2013-07-16 11:00:34 +02:00
Eugene Sandulenko
0c52bfa43e CONFIGURE: Added more 64bit integers to probing 2013-07-15 19:26:02 +03:00
D G Turner
1e646c5470 DC: Amend tests on serial disable/enable blocks.
These now restore the original release build logic to ensure that we
don't have issues with releases. Missing something here as _debug_build
doesn't seem to work as I expected...
2013-07-11 01:53:06 +01:00
D G Turner
e6259afc23 DC: Only enable serial debug output when --enable-debug is passed.
After this change, release builds will still have serial debug disabled,
but debug builds will now not provide this unless --enable-debug is
passed explicitly. This could have been another option or environment
variable, but other embedded ports do similar things with _debug_build
and this looks like the cleanest way to deal with this.
2013-07-10 05:00:25 +01:00
Kirben
cd8c702544 BUILD: Disable data path in mingw builds, since it was using a hard coded path. All external data files are stored in the Windows executable file anyway. 2013-07-09 11:00:55 +10:00
D G Turner
1ed1106cb2 CONFIGURE: Add missing help messages for newer feature options.. 2013-07-06 05:39:51 +01:00
clone2727
279c9f7841 Merge pull request from clone2727/mpeg2-avi
Add back support for sword1/2 MPEG-2 cutscenes
2013-07-05 15:28:06 -07:00
Filippos Karapetis
701e640184 CONFIGURE: Don't allow the keymapper and the event recorder to be enabled simultaneously 2013-07-05 13:09:43 +03:00
Johannes Schickel
be61cb669a Merge pull request from chrisws/tizen_port_1_6_0a
TIZEN: bada port updated to tizen

Conflicts:
	backends/platform/tizen/system.cpp
2013-07-04 23:33:02 +02:00
Eugene Sandulenko
49210a803a Merge pull request from sev-/gsoc2012-eventsrecorder
GSoC2012: Event Recorder (reworked)
2013-07-04 04:58:54 -07:00
Johannes Schickel
fa61a35acd CONFIGURE: Remove superflous (and broken) command for eventrec. 2013-07-04 14:47:25 +03:00
Johannes Schickel
83f7055836 CONFIGURE: Remove POSIXisms in configure.
This allows configure to work fine on Solaris 10 again. This fixes bug
  "A few posixisms have crept into configure (w/ patch)".

Thanks to lblume for his patch.
2013-07-04 01:20:13 +02:00
Chris Warren-Smith
be399188c4 TIZEN: bada port updated to tizen 2013-07-03 07:04:11 +10:00
Matthew Hoops
4ed1bc3a57 CONFIGURE: Make the libmpeg2 properly require 0.4.0 2013-07-01 21:33:10 -04:00
Matthew Hoops
e5e467f5a1 CONFIGURE: Add libmpeg2 as an optional dependency again 2013-06-19 23:58:03 -04:00
Dmitry Smirnov
1d0df53355 BUILD: GNU Hurd & kFreeBSD support
From: Petr Salinger <Petr.Salinger@seznam.cz>
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711320
Bug-ScummVM: https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3614268&group_id=37116
2013-06-06 18:51:26 +02:00
Eugene Sandulenko
f59512c47e RECORDER: Implement Events Recorder 2013-05-17 00:18:09 +03:00
Marcus Comstedt
38b6779136 CONFIGURE: Fix 16bit test for Dreamcast
The Dreamcast backend is called "dc", not "dreamcast".
2013-05-12 16:26:56 +02:00
Max Horn
ab50935afc CONFIGURE: Do not pass LDFLAGS to compiler when -c is specified
This fixes compatibility issues with clang when using -enable-Werror:
clang generates a warning when being passed both "-c" and linker-only
flags like "-L" or "-l". Combined with -Werror, this causes a spurious
configure failure.
2013-04-18 19:56:07 +02:00
digitall
06afc39590 CONFIGURE: Fix OpenGL test broken in previous commit. 2013-04-17 20:02:09 +01:00
digitall
002c6dec0e CONFIGURE: Add workaround for MinGW Win32 antivirus false positive on build.
This is triggered by the scummvm-conf.exe binary produced from the OpenGL test.

It is detected by a generic signature in AVG, Malware-bytes and several other
antivirus programs, so not easy to get this fixed.

This workaround avoids this by adding some redundant output code to the binary
which changes it enough to avoid the signature.
2013-04-17 19:51:23 +01:00
Johannes Schickel
9fa5ac35bf Merge pull request from lordhoto/configure-no-release-default
CONFIGURE: Never enable release_build by default.
2013-02-07 06:16:56 -08:00
hasufell
b65365e0d3 CONFIGURE: Fix build under et_EE locale
Freetype-config reports a broken include dir
when et_EE locale is used. We set LC_ALL
and LANGUAGE to "C" explicitly like autoconf
does to force consistent behavior.
2013-02-01 19:31:15 +01:00
Johannes Schickel
0c5bcc3be8 CONFIGURE: Use -O3 for OpenPandora when optimizations are requested.
Formerly -O3 was only used for release builds.
2013-01-31 01:26:00 +01:00
Johannes Schickel
3a7627812d CONFIGURE: Never enable release_build by default.
This changes the default for Caanoo, GP2x, GP2xWiz, OpenPandora and PS2.
For those now we only disable debug symbols and enable optimizations by
default.
2013-01-26 15:27:34 +01:00
Johannes Schickel
d198ccac26 CONFIGURE: Add option to build as C++11. 2013-01-09 07:53:41 +01:00
Johannes Schickel
ed53292194 CONFIGURE: Allow amd64 as alias for x86_64.
Patch from  "CONFIGURE: Equate amd64 with x86_64".
2013-01-09 05:10:42 +01:00
D G Turner
19eea946ec CONFIGURE: Use correct prefixed binaries for AmigaOS cross-compile. 2012-11-16 10:18:02 +00:00
D G Turner
e6a4bd8055 CONFIGURE: Force static build when crosscompiling for AmigaOS. 2012-11-14 20:43:27 +00:00
Johannes Schickel
b52274d011 CONFIGURE: Use -fPIC instead of -fpic on Linux and FreeBSD.
This allows compilation of plugins on PowerPC. This is done similar to what
was proposed in patch  "Fails to build on Linux PowerPC when using plugins".
I chose to use -fPIC unconditionally, since it will only make a difference on
platforms, which will require -fPIC, like PowerPC. On amd64 for example gcc
produces the same code.
2012-10-22 23:16:07 +02:00
David-John Willis
686775138d CONFIGURE: Clean up OpenPandora flags and add define for USE_ARM_NEON_ASPECT_CORRECTOR 2012-10-21 18:46:58 +01:00
Willem Jan Palenstijn
7cdda8efd2 CONFIGURE: Fix subengine status output
We were reporting subengine status before checking its dependencies.
2012-09-24 17:26:41 +02:00
Willem Jan Palenstijn
f16bb13f94 CONFIGURE: Update add_engine comment 2012-09-13 14:25:24 +02:00
Willem Jan Palenstijn
f8e93ea9f7 CONFIGURE: Clarify all-games status output checks 2012-09-11 21:12:52 +02:00
Willem Jan Palenstijn
1b20f731d1 CONFIGURE: Clean up subengine string generation 2012-09-11 21:12:52 +02:00
Willem Jan Palenstijn
8a796d0766 CONFIGURE: Move engine base support strings to configure.engines 2012-09-11 21:11:25 +02:00
Willem Jan Palenstijn
08d641a0be CONFIGURE: Add base engine descriptions to more engines
Only SCUMM and SAGA had such a description previously.
2012-09-11 19:16:51 +02:00
Willem Jan Palenstijn
f98a8bb98c CONFIGURE: Automatically enable parent engine if subengine is enabled 2012-09-11 18:39:03 +02:00
Willem Jan Palenstijn
8ac07bc349 CONFIGURE: Clean up all-games test 2012-09-11 18:38:40 +02:00