Commit Graph

1025 Commits

Author SHA1 Message Date
Paweł Kołodziejski
fb3ac5a5ec OSX: allow make bundle with static freetype2 library 2012-03-21 06:36:40 +01:00
Johannes Schickel
7be7ef5a71 IPHONE: Update default build settings. (Disable scalers, mt32, timidity).
I took the freedom of also removing the unused OBJCFLAGS flag with this.
2012-02-26 01:31:22 +01:00
Johannes Schickel
69ab2a5279 IPHONE: Enable 16bpp support in configure. 2012-02-26 01:29:56 +01:00
Johannes Schickel
843b9f9665 GRAPHICS: Add a TTF font class using FreeType2. 2012-01-29 16:26:20 +01:00
Thierry Crozat
c5b5f8844c CONFIGURE: Fix compilation on 32 bits MacOS X
The issue was that it cannot find a 64 bits type because 'long int' is
32 bits and compilation of the test program with 'long long' failed
due to the use of -pedantic flag (and 'long long' is not part of
ISO C++ 1998 standard). It nevertheless defined _UINT64
which subsequently told systems headers to not redefine uint64 and
caused many compilation error in system headers.
2012-01-27 22:09:53 +00:00
dhewg
3dca6fe2bb CONFIGURE: Add WebOS --sysroot to CXXFLAGS
Fixes compilation with PDK 3.0.5 (libc headers were now found).
2012-01-21 16:29:56 +01:00
dhewg
fd874216fe CONFIGURE: Don't use -pedantic for WebOS
This fixes Tremor autodetection.
tremor/config_types.h typedefs ogg_int64_t, which errors out with
"ISO C++ 1998 does not support ‘long long’" when using -pedantic.
2012-01-21 16:29:55 +01:00
dhewg
05c972d028 CONFIGURE: Whitespace fix
Buildbot update test :P
2012-01-21 00:12:26 +01:00
Johannes Schickel
c74fde632f CONFIGURE: Also check "long long" in find_type_with_size.
This is because on Win64 "long" is 4 bytes and only "long long" is 8 bytes.
Without this check we would not have a 64 bit integer type on Win64.
2012-01-10 16:13:29 +01:00
Johannes Schickel
a3e06d5074 CONFIGURE: Make 32bit pointer check a bit safer.
This adapts the check to be similar to the find_type_with_size check, i.e. it
assigns a value to test_array and also returns 0. Should not be required, at
least builtbot went fine, but better be safe and sorry.
2012-01-10 16:13:29 +01:00
Johannes Schickel
3606ebed6a CONFIGURE: Fix formatting.
Thanks to Max for pointing out.
2012-01-10 16:13:20 +01:00
Eugene Sandulenko
fed0ef350d CONFIGURE: Better test for 32-bitness courtsey of LordHoto 2012-01-08 22:41:52 +00:00
Eugene Sandulenko
0024228100 CONFIGURE: Add detection for 64-bitness and define int64 when applicable 2012-01-08 22:28:43 +00:00
athrxx
540d081a6f KYRA: (EOB) - initial code base commit 2011-12-26 16:18:10 +01:00
D G Turner
0c4755408a CONFIGURE: Update WinCE compiler host alias naming.
This is required to work with the newest tool chain.
2011-12-18 23:02:25 +00:00
Tarek Soliman
a4acaeb327 MAEMO: Don't explicitly link to libpthread 2011-12-15 10:41:21 -06:00
Tarek Soliman
6a08869838 CONFIGURE: Don't link against libpng by default
Except for the PSP port, nothing is actually using libpng symbols.
It is being linked against if it is available at compile time.
This needlessly creates a dependency.
2011-12-15 10:41:20 -06:00
Tarek Soliman
ba9eb8bffd MAEMO: Fix compile error when using Maemo 5 SDK
Thanks NerdKnight
2011-12-02 21:31:29 -06:00
Tarek Soliman
572b65df45 MAEMO: Enable keymapper in the daily builds 2011-11-28 09:01:26 -06:00
Strangerke
a8da884be5 CGE: Set supported 2011-11-28 00:13:36 +01:00
Johannes Schickel
b9d1718fe1 ALL: unrecognised -> unrecognized. 2011-11-26 17:40:00 +01:00
Willem Jan Palenstijn
9e1829173c BUILD: Report more specific errors for configure engine options 2011-11-26 15:40:49 +01:00
D G Turner
61a1b49a2d CONFIGURE: Accept plural as well as singular forms for engine build options.
i.e. --enable-engines=* will be accepted as well as --enable-engine=
2011-11-26 12:15:05 +00:00
D G Turner
dd6c6a36ea BUILD: Change engine configuration options
This changes the set of engine options to ./configure to:

--enable-all-engines
--disable-all-engines
--enable-engine=<engine name>[,<engine name>...]

And if plugins are enabled:
--enable-engine-static=<engine name>[,<engine name>...]
--enable-engine-dynamic=<engine name>[,<engine name>...]
2011-11-25 11:57:41 +01:00
Alex Bevilacqua
4c60382604 TOLTECS: integrate engine 2011-11-20 22:43:12 +01:00
Paul Gilbert
b0611f3189 M4: Removed the M4/MADS engine from trunk 2011-11-20 12:14:10 +11:00
Alyssa Milburn
981b1cdd76 ANDROID: Add minimal C++ headers to include path. 2011-11-17 08:34:32 +01:00
Strangerke
301048ec98 CONFIGURE: Use 'TsAGE' instead of the full title of Ringworld 2011-11-16 22:02:54 +01:00
Travis Howell
484e6a42af BUILD: Revert 3a461c2 since it breaks tests for various libraries under mingw (and maybe other systems). 2011-11-03 13:05:07 +11:00
Matt Lewandowsky
3a461c2525 CONFIGURE: Ensure that INCLUDES are included at configure-time. 2011-10-31 12:11:52 +01:00
Matt Lewandowsky
53160df757 CONFIGURE: Clean up two minor nits in configure. 2011-10-31 12:10:46 +01:00
Eugene Sandulenko
245281cc55 CONFIGURE: Fix MacPort detection 2011-10-22 19:08:28 +01:00
Willem Jan Palenstijn
84bc565127 Merge pull request #89 from TomFrost/master
HP TouchPad compatibility and full WebOS port update, Round 2

This is a manual merge of the pull request, with some commit message changes.
2011-10-19 13:57:09 +02:00
CeRiAl
a97cd0077f WINCE: Add workaround for memory management problem on Windows CE < 6.0
This fixes the "32MB memory limit per process" problem in Windows CE < 6.0
2011-10-18 13:10:20 +02:00
Tarek Soliman
232e2e367e CONFIGURE: Rename "release optimization" to "optimizations" 2011-10-09 14:48:53 -05:00
Tarek Soliman
dc473ce955 CONFIGURE: Enable release optimizations by default when optimization...
... level is specified

This preserves the old behavior of ports that used to always pass in -Os or -O3

It also allows --disable-release-optimization for those ports to function
2011-10-09 14:48:53 -05:00
Tarek Soliman
01f03e2a3e CONFIGURE: Separate release mode from optimizations 2011-10-09 14:48:53 -05:00
Tarek Soliman
4a9b8ee7b9 CONFIGURE: Removed useless ENGINE_WIP_ defines from config.h
This is a holdover from when it was going to warn on a per-engine basis.
This warning is now handled on a per-game basis with ADGF_UNSTABLE and
ADGF_TESTING.

It resulted in a lot of spam in config.h: a define for every single
engine and subengine that looks like this:
define ENGINE_WIP_SCUMM_7_8 false

It was not being used in-tree and I don't see it being used in the near future.
2011-10-09 01:21:35 -05:00
TomFrost
dbd391bdfe WebOS: Add improvements suggested in pull req. 89.
The improvements in this commit are mostly code formatting, variable
abstraction, and in one case, a performance enhancement as calculations
were made a one-time fire rather than being run with every mouse move
event.
2011-10-01 23:03:15 -04:00
Johannes Schickel
ea2b8a2ae9 CONFIGURE: Fix comment. 2011-09-30 22:03:26 +02:00
Tarek Soliman
7c8891fed4 CONFIGURE: don't use savegame timestamp on N64
N64 does not have a RTC
2011-09-24 14:21:06 -05:00
TomFrost
c619c241de WebOS: Enable scalers and Darwin compatibility.
On Mac OS X (Darwin), there are minor differences in the 'sed'
and 'install' tools that require slightly different usage.  This
distinction has been made in webos.mk, made possible by an
additional flag in ./configure.
2011-09-24 15:12:27 -04:00
Tarek Soliman
4a9994e333 CONFIGURE: define USE_SAVEGAME_TIMESTAMP except on GP2X and Wiz/Caanoo
Those platforms don't have a reliable real time clock
2011-09-23 22:05:33 -05:00
Tarek Soliman
9aad73be5e MAEMO: enable virtual keyboard and add keymapping 2011-09-22 22:07:45 -05:00
Tarek Soliman
1439014a26 CONFIGURE: MAEMO changes
The giant configure line is now shortened to the following
configure --host=maemo
2011-09-22 22:07:44 -05:00
Joost Peters
cd1a18dfcd IRIX: support plugin builds 2011-09-12 14:49:12 +02:00
Willem Jan Palenstijn
f6f8b456e7 Merge branch 'cge'
This adds the CGE engine for the game Soltys.

It is based on pull request https://github.com/scummvm/scummvm/pull/81 .
2011-09-11 21:31:55 +02:00
TomFrost
5c1f13251e Merge branch 'master' of git://github.com/nexapps/scummvm into nexapps 2011-09-03 14:23:14 -04:00
Eugene Sandulenko
79632ea958 CONFIGURE: Fixes to MacPort detection 2011-08-26 17:51:32 +01:00
Eugene Sandulenko
8d22979667 CONFIGURE: Add support for building under MacPorts 2011-08-26 17:41:09 +01:00
Eugene Sandulenko
7b9346d42b CONFIGURE: Fix indentation 2011-08-26 17:04:53 +01:00
Alyssa Milburn
84063dc972 Merge remote-tracking branch 'origin/master' into soltys_wip2 2011-08-22 20:03:05 +02:00
Chris Warren-Smith
a31b74f3e9 BADA: Code formatting and style changes following review 2011-08-21 16:39:08 +10:00
Chris Warren-Smith
59739a7a0e BADA: Initial BADA port implementation 2011-08-21 16:37:06 +10:00
Ori Avtalion
077a2f8fb0 JANITORIAL: Remove trailing whitespace 2011-08-08 22:09:48 +03:00
Eugene Sandulenko
53ea7bfe34 CONFIGURE: Add more verbosity for slow shell environments like mingw 2011-08-08 20:01:03 +01:00
Johannes Schickel
6a7c87b4a4 CONFIGURE: Add x86_64 to the CPU architecture list.
This prevents it from shown as "unknown (x86_64)", even though it is an
officially supported platform.
2011-08-08 20:37:42 +02:00
Max Horn
d6e0afc002 CONFIGURE: Unify cpu arch detection 2011-08-08 20:33:42 +02:00
Doron Rosenberg
0ceb7b4ccd WebOS: touchpad virtual keyboard 2011-08-04 10:44:06 -07:00
Paul Gilbert
de0fac3121 BUILD: Enable Ringworld: Revenge Of The Patriarch by default. 2011-08-04 21:00:45 +10:00
Oystein Eftevaag
7e7e606919 MACOSX: Turned update support off by default, simplified and cleaned the pull request 2011-08-02 21:00:57 -04:00
Oystein Eftevaag
9044e17499 Merge pull request #52 from CeRiAl/macosx-sparkle
MACOSX: Add Sparkle support
2011-08-02 16:09:58 -07:00
Eugene Sandulenko
e02276cab1 Merge pull request #58 from fuzzie/composer
COMPOSER: Merge engine
2011-07-27 03:10:19 -07:00
CeRiAl
f60d6f7a97 MACOSX/UPDATES: Streamline UpdateManager
Moved UpdateManager related code from backends/modular-backend.* to
common/system.*. Added switch --enable/disable-updates to be able
to disable updates support generally.
2011-07-19 21:35:37 +02:00
CeRiAl
828f1884b4 MACOSX: Add Sparkle support 2011-07-19 21:33:01 +02:00
clone2727
6370984b22 Merge pull request #50 from clone2727/bink
Add support for Bink video to SCUMM HE
2011-07-18 16:04:39 -07:00
Alyssa Milburn
40a6c232e9 COMPOSER: Add a first attempt at an engine. 2011-07-14 20:08:06 +02:00
Matthew Hoops
a50abde1b1 BUILD: Allow for disabling Bink support 2011-07-13 12:08:26 -04:00
D G Turner
52dce79299 Wii: Enable Virtual Keyboard for Wii and Gamecube in Configure.
This should avoid future bugs similar to #3358466 ("Wii: Virtual
Keyboard doesnt show up").
2011-07-09 15:30:23 +01:00
Alyssa Milburn
66e81d633f Merge remote-tracking branch 'origin/master' into soltys_wip2 2011-07-07 09:24:10 +02:00
Littleboy
02b03bc6c1 CONFIGURE: Rename $WIN32BUILD to $STAGING 2011-07-01 01:17:10 -04:00
Travis Howell
a5d001fdef BUILD: Use static build when compiling with later GCC versions under mingw, to avoid additional DLL requirements. 2011-07-01 15:11:52 +10:00
Travis Howell
0be5ba9b0e Merge branch 'master' of github.com:scummvm/scummvm 2011-06-30 02:15:23 +10:00
Travis Howell
50f28f2c23 BUILD: Use separate win32 target for each installer. 2011-06-30 02:14:36 +10:00
Littleboy
b0ee7bbb7e BACKENDS: Implement Win32TaskbarManager::setCount() 2011-06-29 11:07:23 -04:00
Strangerke
b0c9c9122f Merge branch 'master' of github.com:scummvm/scummvm into soltys_wip2 2011-06-29 16:15:41 +02:00
Bastien Bouclet
5a2bc12f26 PS3: Fix out of tree builds.
Allow GCC to use CELL BE PPU features.
2011-06-25 15:22:21 +02:00
Eugene Sandulenko
627372a67c Merge pull request #40 from bgK/ps3
PS3 Port
2011-06-23 01:34:05 -07:00
Littleboy
27934d061e CONFIGURE: Fix Unity checks
- Redirect pkgconfig errors to log file
 - Remove duplicated -lunity option
 - Fix output of selected taskbar integration when libunity is selected
2011-06-22 19:31:36 -04:00
Eugene Sandulenko
33ce6e60fd Merge pull request #26 from Littleboy/taskbar
Taskbar integration
2011-06-22 13:35:37 -07:00
Bastien Bouclet
d2454d7e5f CONFIGURE: When building the SDL backend, display the SDL version number.
From SDL 1.3.0 onwards, audio CD support has been removed.
2011-06-22 20:01:53 +02:00
Bastien Bouclet
c31ec23d5b PS3: Build with -mminimal-toc to allow loading larger elfs. Thanks to andoma for the tip. 2011-06-22 19:57:44 +02:00
Bastien Bouclet
6633a06519 PS3: Map joypad buttons to features. Enable the virtual keyboard. 2011-06-22 19:57:44 +02:00
Bastien Bouclet
11cfa0d357 PS3: Initial version of the PlayStation 3 backend 2011-06-22 19:51:02 +02:00
Bastien Bouclet
872d672c33 SDL: Allow building with current SDL 1.3hg 2011-06-22 19:44:46 +02:00
eriktorbjorn
36d720d06b CONFIGURE: Use = to test for string equality, not ==
I think this is correct. It's consistent with how it's done in other
places in the configure script, and it silences a bunch of "unexpected
operator" warnings for me.
2011-06-18 08:26:55 +02:00
Julien
96c1e97459 CONFIGURE: Add minimum version of Unity 2011-06-16 14:27:24 -04:00
Julien
179630b46b CONFIGURE: Only add linking to ole32 and uuid when taskbar support is compiled for Win32
We also show the type of taskbar integration being compiled.
2011-06-16 14:27:21 -04:00
Julien
8729af342f CONFIGURE: Disable check for unity when compiling with mingw (pkg-config is not available) 2011-06-16 14:27:19 -04:00
Littleboy
79fb0ff223 CONFIGURE: Update internal libunity handling and add support for disabling taskbar support entirely
- Rename internal _unity var to _libunity
 - Disable libunity support when taskbar integration support is disabled
2011-06-16 14:23:26 -04:00
Littleboy
0ae3e4f289 CONFIGURE: Update libunity detection by adding a call to one of unity functions in the cc_check test
Some older compilers might not error out on missing headers and will compile (with warnings) unless a symbol is missing
2011-06-16 14:23:24 -04:00
Littleboy
30c0966018 CONFIGURE: Disable Unity on non-unix systems and add taskbar support when compiling with mingw
- Mingw now links with 2 additional libraries: ole32 and uuid
2011-06-16 14:23:21 -04:00
Littleboy
1e3603b937 BACKENDS: Add define for Unity-specific taskbar code 2011-06-16 14:23:18 -04:00
Tarek Soliman
daf277f146 CONFIGURE: add warning for building WIP/unstable engines
Also, If any unstable/wip engine is enabled, #define TAINTED_BUILD
2011-06-16 10:17:19 -05:00
Littleboy
cd09b7e74f BACKENDS: Only update unity libs and cflags in auto mode 2011-06-16 10:38:43 -04:00
Littleboy
984e1968bc BACKENDS: Add WIP Unity support 2011-06-16 10:38:40 -04:00
Littleboy
c3d9c6afa5 BACKENDS: Add use flag for taskbar integration 2011-06-16 10:38:34 -04:00
dhewg
b97a5dcfb2 CONFIGURE: Fix cxx test linking for Android
Libraries are now properly detected by configure again.
2011-06-15 19:09:50 +02:00
Vladimir
52a89174ab DREAMWEB: added autogenerated source 2011-06-15 17:29:05 +02:00
CeRiAl
2ff4380c55 WINCE: Add support for language auto-detection in WinCE 2011-06-14 22:42:16 +02:00
Strangerke
c545ebd0d5 CGE: Add minimal engine and detection 2011-09-10 17:50:47 +02:00
Johannes Schickel
092142d880 BUILD: Enable Lands of Lore by default. 2011-06-02 03:03:50 +02:00
Max Horn
9db33ea544 ALL: Removed last traces of the MPEG2 code 2011-06-01 23:17:43 +02:00
Max Horn
b0a460e849 DC: Use 'noserial' for release builds 2011-06-01 18:17:01 +02:00
clone2727
49a8f7675f Merge pull request #20 from scott-t/t7g-ios
T7G iOS support
2011-06-01 07:04:05 -07:00
Max Horn
a4610df482 Merge branch 'branch-1-3-0' into master
I manually resolved all conflicts, and inspected every single change.
Many were due to the version string mismatch and thus easily resolved.
The MSVC project files add in the 1-3-0 branch were not merged,
neither where the changes to gui/themes/translations.dat.

Conflicts:
	NEWS
	backends/base-backend.cpp
	backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp
	backends/module.mk
	backends/platform/ds/arm9/makefile
	backends/platform/psp/README.PSP
	backends/platform/samsungtv/main.cpp
	backends/platform/samsungtv/samsungtv.cpp
	backends/saves/posix/posix-saves.cpp
	base/commandLine.cpp
	base/internal_version.h
	base/main.cpp
	common/array.h
	configure
	devtools/create_project/create_project.cpp
	dists/android/AndroidManifest.xml
	dists/android/plugin-manifest.xml
	dists/iphone/Info.plist
	dists/irix/scummvm.spec
	dists/macosx/Info.plist
	dists/redhat/scummvm-tools.spec
	dists/redhat/scummvm.spec
	dists/scummvm.rc
	dists/slackware/scummvm.SlackBuild
	dists/wii/meta.xml
	engines/sci/parser/vocabulary.cpp
	engines/tinsel/handle.cpp
	gui/themes/translations.dat
2011-06-01 15:15:31 +02:00
Matthew Hoops
aa49b38c5a Merge remote branch 'upstream/master' into t7g-ios
Conflicts:
	engines/groovie/script.cpp
2011-05-31 14:16:29 -04:00
Fabio Battaglia
42fa23ff16 CONFIGURE: move some libs required by n64 port
Some system libs weren't found during link stage, this should fix it
2011-05-31 15:16:25 +02:00
Max Horn
c30904b48a BUILD: Fix typo which broke WebOS builds 2011-05-31 12:22:26 +02:00
Max Horn
9c3a8cd3b5 BUILD: Compile more files only when necessary 2011-05-31 00:35:27 +02:00
Max Horn
127a6f920a BUILD: Add SDL_BACKEND=1 to config.mk for all SDL based backends 2011-05-31 00:25:40 +02:00
Max Horn
f7e94e90b6 WINCE: Remove unnecessary -I flags 2011-05-30 23:58:45 +02:00
Max Horn
22e02b0aa2 BUILD: Only add one option per line to INCLUDES/CXXFLAGS/LDFLAGS
This improves (IMHO) readability, and makes it easier to diff for
changes in compiler options.
2011-05-30 23:55:11 +02:00
Max Horn
09ba2ad438 DC: Don't set a lib search path for plugins
Plugins may not rely on external libs, so there is no point in
specifying a custom library search path for them.
2011-05-26 13:31:17 +02:00
Max Horn
a654115f1a BUILD: Make endianess check stricter 2011-05-26 11:06:33 +02:00
Max Horn
de8a44abfc BUILD: Reorder configure some more 2011-05-26 11:06:33 +02:00
Max Horn
7b51caedba ANDROID: Trying to fix the recent linker failures 2011-05-26 08:25:28 +02:00
Max Horn
bf490b4084 BUILD: Reorder plugin stuff in configure some more 2011-05-26 07:26:01 +02:00
Max Horn
7fcaac9408 BUILD: Unify plugin prefix/suffix handling, unify setting DYNAMIC_MODULES 2011-05-25 14:58:54 +02:00
Max Horn
4f34347485 BUILD: Minor configure cleanup 2011-05-25 14:40:04 +02:00
Max Horn
6e157fd2d4 BUILD: Do not define LUA_USE_POSIX
It doesn't really do anything useful anymore anyway (except
make linux builds use _setjmp instead of setjmp, but both
are equally bad for us and need to replaced anyway).
2011-05-25 13:40:45 +02:00
Max Horn
652bf358c2 BUILD: Update comments 2011-05-25 13:40:07 +02:00
Max Horn
c439e08590 BUILD: Declare RELEASE_BUILD in DEFINES, not CXXFLAGS 2011-05-25 13:24:38 +02:00
Max Horn
d2e778bf0b BUILD: Replace _need_memalign runtime test by hardcoded list
According to a discussion on -devel, this test cannot work reliably in
general: It cannot determine when unaligned access really works reliably
in all situations, nor on all implementations of the target CPU arch;
nor does it determine whether unaligned access is supported effectively
(as opposed to say supported via super-slow fault handler mechanism).
2011-05-25 13:24:38 +02:00
Max Horn
4b7f6dfa3c BUILD: Rename USE_TEXT_CONSOLE -> USE_TEXT_CONSOLE_FOR_DEBUGGER
This reduces the similarity in name to the otherwise mostly
unrelated DISABLE_TEXT_CONSOLE #define.
2011-05-25 13:24:37 +02:00
Max Horn
717a7accf5 BUILD: Always enable indeo3 codec 2011-05-25 13:24:37 +02:00
Max Horn
8387b68c57 BUILD: Add only one -D to DEFINES per line; add FIXMEs to -D in CXXFLAGS 2011-05-25 13:24:37 +02:00
Max Horn
38ff07589c BUILD: Unify how _posix is computed
However, the current approach of determining _posix based on _host_os is
flawed and should be replaced by feature detection; added a TODO about
this.
2011-05-25 13:23:04 +02:00
Max Horn
39076ef972 BUILD: Rename UNIX #define to POSIX 2011-05-25 13:23:03 +02:00
Max Horn
6639eacb3a BUILD: Move some Android 'hack' back to near end of configure 2011-05-25 13:21:53 +02:00
Max Horn
d935c53cdf BUILD: Rearrange some PSP stuff
Cursory testing shows no regressions caused by this, but proper
testing of this change is recommended.
2011-05-25 13:21:53 +02:00
Max Horn
9b14c50b77 BUILD: Unify how debug/release mode defaults are determined 2011-05-25 13:21:53 +02:00
Max Horn
63a69b4f1e BUILD: Overhaul how we determine the need for aligned mem access
Also add some comments explaining what is going on and why.
2011-05-25 13:21:52 +02:00
Max Horn
e013a51604 BUILD: Enable ARM asm only based on _host_cpu
Also moved x86 and ARM recognition code in configure to be
next to each other; and print whether ARM specific code is
going to be used or not.
2011-05-25 13:21:02 +02:00
Max Horn
ecb8618cb7 BUILD: Unify build & configure rules for SDL based backends 2011-05-25 13:21:01 +02:00
Max Horn
7585303c06 BUILD: Do not manually set endianess
If for some reason the endianess is not detected right, then this should
be reported as a bug; and any (hopefully temporary) specification of
the endianess should be accompanied by an explanatory comment.
2011-05-25 13:21:01 +02:00
Max Horn
1b248cd936 BUILD: Reorder parts of configure 2011-05-25 13:21:00 +02:00
CeRiAl
e27dd8ac4e WINCE: Change plugin extensions from .dll to .plugin - fixes erroneous loading of runtime-dlls 2011-05-20 06:31:23 +08:00
Willem Jan Palenstijn
a47d2aaa6f BUILD: Reset executable flag of configure 2011-05-18 00:07:46 +02:00
CeRiAl
6db6d69eed WINCE: Enable building of plugins with normal configure/make
Enables building of plugin .dlls without a custom Makefile.
Also removes generation of scummvm.exe.map from configure script.
2011-05-18 06:04:23 +08:00
David-John Willis
ea1ef4386a CONFIGURE: Add missing SDL_BACKEND define for the OpenPandora backend.
* Not really sure when/how it got lost but as it's lack  spectacularly
  breaks the backend it is a really good idea to put it back ;)

Thanks to Max for the heads up.
(cherry picked from commit bd60a289c7)
2011-05-14 11:53:13 +02:00
md5
e3a487702a CONFIGURE: Don't enable the sword25 engine if Zlib is not enabled 2011-05-13 20:35:39 +03:00
md5
7543c3ba5f CONFIGURE: Don't disable the sword25 engine when libpng is not found 2011-05-13 18:52:51 +03:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Matthew Hoops
a1d41da096 Merge remote branch 'upstream/master' into t7g-ios
Conflicts:
	audio/decoders/qdm2.h
	common/util.cpp
	engines/groovie/music.cpp
	engines/groovie/resource.h
	video/qt_decoder.cpp
	video/qt_decoder.h
2011-05-11 00:30:28 -04:00
Klaus Reimer
a6dc171255 WEBOS: Added comment for Palm Pixi specific compiler options. 2011-05-08 17:39:26 +02:00
Klaus Reimer
8d7baf9ffa WEBOS: Removed unused libpdl linking. 2011-05-08 17:39:26 +02:00
Klaus Reimer
77817a8be8 WEBOS: Moved webos plugin build configuration into its own block so it can be configured separately from the generic linux configuration. 2011-05-08 17:39:26 +02:00
Klaus Reimer
c7b4818025 WEBOS: Added comments to explain some WebOS compile settings. 2011-05-08 17:39:25 +02:00
Klaus Reimer
31d86f9045 WEBOS: Added comment for Palm Pixi specific compiler options. 2011-05-08 17:37:31 +02:00
Klaus Reimer
6631cf60db WEBOS: Removed unused libpdl linking. 2011-05-08 17:37:31 +02:00
Klaus Reimer
73ee6ec702 WEBOS: Moved webos plugin build configuration into its own block so it can be configured separately from the generic linux configuration. 2011-05-08 17:37:31 +02:00
Klaus Reimer
869a6d42bd WEBOS: Added comments to explain some WebOS compile settings. 2011-05-08 17:37:31 +02:00
Johannes Schickel
066b3882c6 BUILD: Disable OpenGL backend code.
The (SDL) OpenGL backend is not ready for the release.
2011-05-06 20:13:22 +02:00
Johannes Schickel
cf43b51f67 Merge pull request #31 from lordhoto/win-res
Embed engine/theme dists files into Win Executable.
Check the following link for further discussion:
https://github.com/scummvm/scummvm/pull/31
2011-05-06 10:57:11 -07:00
Julien
371b9cace7 Merge pull request #29 from Littleboy/nsis
NSIS installer support
2011-05-05 11:26:33 -07:00
Johannes Schickel
297834017a WIN32: Embed engine data files and theme files into executable.
This embeds all the engine data files from dists/engine-data into the
executable in case the engines using them are included statically.

Furthermore it includes the theme dist files in the executable.
2011-05-05 20:22:37 +02:00
David-John Willis
bd60a289c7 CONFIGURE: Add missing SDL_BACKEND define for the OpenPandora backend.
* Not really sure when/how it got lost but as it's lack  spectacularly
  breaks the backend it is a really good idea to put it back ;)

Thanks to Max for the heads up.
2011-05-04 14:35:25 +01:00
Max Horn
971baf3585 BUILD: Remove incorrect mention of 'symbian' backend from configure 2011-05-03 23:58:33 +02:00
Littleboy
0e45aa8655 Merge remote-tracking branch 'upstream/master' into nsis
Conflicts:
	devtools/create_project/scripts/postbuild.cmd
	devtools/create_project/visualstudio.cpp
	ports.mk
2011-05-02 17:21:10 -04:00
Klaus Reimer
1d1ee5c979 WEBOS: Added a default prefix and enforcing docdir, datadir and plugin directory. 2011-05-01 23:48:23 +02:00
Klaus Reimer
4c540a86fc WEBOS: Added a default prefix and enforcing docdir, datadir and plugin directory. 2011-05-01 23:45:09 +02:00
Marcus Comstedt
e467468900 DC: Disable serial for release 2011-05-01 14:48:50 +02:00
Klaus Reimer
831f974cb4 WEBOS: Added compiler options that should enable support for the Palm Pixi. Can't test it because I have no Pixi but at least it still works on the Pre. 2011-05-01 11:12:51 +02:00
Johannes Schickel
69dcca74da CONFIGURE: Remove incorrect "+" added with 54ddd000dc. 2011-05-01 03:23:39 +02:00
strangerke
54ddd000dc AmigaOS4: Adapt configure to latest SDK (Patch created by Raziel^) 2011-04-30 22:01:06 +02:00
Max Horn
2fd2247ab8 WEBOS: Tweak configure script to simplify support for WebOS on buildbot 2011-04-29 12:54:10 +02:00
Littleboy
7d22d7452f PORTS: Tweak win32setup target
- Rename README-SDL to be used by installer script
 - Use relative build path for WIN32PATH
 - Add default build folder to ignore file
2011-04-27 15:12:12 -04:00
dhewg
8f1a26ea3e BUILD: Move ARM_ASM flags to configure
So they're used again if a port overwrites _port_mk
2011-04-22 19:05:31 +02:00
strangerke
908dde34ba HUGO: Enable the engine by default 2011-04-17 15:39:05 +02:00
Alyssa Milburn
20e662e5a6 CONFIGURE: Explain more about --enable-all-engines. 2011-04-15 13:56:20 +02:00
Matthew Hoops
6d153f311c Merge remote branch 'upstream/master' into t7g-ios
Conflicts:
	video/qt_decoder.cpp
2011-04-13 16:04:29 -04:00
Johannes Schickel
a132bbb10c CONFIGURE: Fix tsage engine entry position.
The engine list is (apart for subengines and SCUMM) sorted alphabetically,
thus tsage should be between touche and tucker and not between toon and
touche.
2011-04-13 19:28:49 +02:00
Paul Gilbert
e6090415b6 Merge remote branch 'remotes/dreammaster/tsage' 2011-04-13 21:08:05 +10:00
David-John Willis
1986c1d82b CONFIGURE: Add _timidity=no to the GPH devices to stop Timidity
support being built.

* This is for the GP2X, GP2XWIZ and Caanoo devices that use the
  GPH backend.
2011-04-13 08:01:16 +01:00
Klaus Reimer
fbc58d21ff WEBOS: Disable opengl support; move --sysroot to LDFLAGS where it belongs 2011-04-12 11:11:20 +02:00
Klaus Reimer
a16e9c0920 WEBOS: Add PDK paths to LDFLAGS & INCLUDES; enable dynamic plugins support 2011-04-12 11:11:19 +02:00
Klaus Reimer
2160ecfe3a WEBOS: Disable vkeybd, fix more directory references with wrong package name
The vkeybd XML can't be read for some reason.
2011-04-12 11:11:16 +02:00
Klaus Reimer
aa79a2634d WEBOS: Enable keymapper, implement FORWARD key and right+middle button clicks 2011-04-12 11:05:53 +02:00
Klaus Reimer
a4e757834e WEBOS: Create webos backend with custom events
Currently only contains test code.
2011-04-12 11:05:35 +02:00
Klaus Reimer
7c5c6803ab WEBOS: Add webos backend
IPK can be built with "make webosrelease".
2011-04-12 11:05:17 +02:00
Klaus Reimer
72d206dc73 WEBOS: Add WEBOS define
Using SDL_INIT_VIDEO flag for WebOS because without it the application
won't start.
2011-04-12 11:05:07 +02:00
Klaus Reimer
f8a73665d3 WEBOS: Add build support for webos 2011-04-12 11:05:01 +02:00
David-John Willis
38ed8d2fcd CONFIGURE: Move GP2X to build with the GPH backend by default. 2011-04-11 18:24:36 +01:00
dhewg
b48e3a83bb Revert "CONFIGURE: Use FORCE_RTL for the Wii backend"
This reverts commit e2a0c09692.
2011-04-10 11:23:14 +02:00
dhewg
fc582bfc8f Revert "CONFIGURE: Use FORCE_RTL for the Android backend"
This reverts commit 44ab256101.
2011-04-10 11:23:02 +02:00
Matthew Hoops
13a6f40dbb ALL: Add optional dependency on libfaad 2011-04-09 15:27:23 -04:00
dhewg
44ab256101 CONFIGURE: Use FORCE_RTL for the Android backend 2011-04-09 12:49:41 +02:00
dhewg
e2a0c09692 CONFIGURE: Use FORCE_RTL for the Wii backend 2011-04-09 12:48:41 +02:00
Johannes Schickel
bd253a62ac BUILD: Support newer MinGW compilers.
It seems the recent MinGW gcc versions use the "TMP" env variable to determine
the temporary file path. Since we use that variable to hold temporary values it
will make g++ crash since it cannot access the path.

I "fixed" that problem by renaming the TMP variable we use to TMPR.

Tested with mingw-g++ 4.5.2.
2011-04-08 16:16:59 +02:00
Matthew Hoops
b101fd6f03 MOHAWK: Allow disabling of Riven compilation 2011-03-28 22:26:23 -04:00
Matthew Hoops
4a7572d893 MOHAWK: Allow disabling compiling cstime 2011-03-28 22:26:23 -04:00
Matthew Hoops
e5811cd6c3 MOHAWK: Allow disabling compilation of Myst 2011-03-28 22:26:23 -04:00
Matthew Hoops
55d433203d CONFIGURE: Enable Mohawk by default 2011-03-28 10:05:40 -04:00
Jordi Vilalta Prat
55231f18cd CONFIGURE: Apply patch #3193021 (AMIGAOS4: Typo in configure) 2011-03-22 17:50:40 +01:00
dhewg
3e1bea3f17 CONFIGURE: Fix PS2 compilation
newlib system include files suppress M_* defines under __STRICT_ANSI__
2011-03-20 10:31:22 +01:00
dhewg
a5a8af86ee CONFIGURE: Change Android debug flags logic
Use --enable-debug instead of not --enable-release
2011-03-10 21:17:59 +01:00
dhewg
fb0b9dd7b3 CONFIGURE: Fix some whitespaces 2011-03-10 21:17:59 +01:00
dhewg
bf62098dd5 CONFIGURE: Add support for Android's armeabi-v7a
Extended ABI with Thumb-2 and VFP hardware FPU instructions
2011-03-10 21:17:59 +01:00
Johannes Schickel
689b87a3e8 CONFIGURE: Oops fix a typo. 2011-03-08 19:49:10 +01:00
Johannes Schickel
fe89ffe80a WINCE: Add -fno-inline-functions to compiler arguments.
WinCE is using -O3 by default, which includes -finline-functions, which in turn
breaks SCI. By disabling that opimization we get SCI working fine again.
2011-03-08 18:16:36 +01:00
dhewg
94db3403a3 ANDROID: Add initial 16bit gfx support
Supported pixel formats: 565, 5551, 4444
Missing: 555 (doesn't exist on GLES)
2011-03-05 18:47:05 +01:00
dhewg
89986edf4d HAIKU: Remove -fhuge-objects.
Not required anymore, patch by Begasus
2011-02-23 19:27:23 +01:00
dhewg
0032db14ab ANDROID: Sync toolchain flags with NDK r5b. 2011-02-23 19:27:14 +01:00
dhewg
2f312e9e1a DS: Disable symbol garbage collection
Only applies when using loadable modules.
This requires a second compile run or black voodoo linker tricks.
Not implemented at this time. Disable it, so we get DS build failure
reports from buildbot (which are useful with all the DISABLE_EVERYTHING
defines).
The resulting binary might be too big to be usable.
2011-02-20 13:09:36 +01:00
dhewg
a6593c294e ANDROID: Disable mt32emu and timidity
mt32emu is using floats everywhere, and we don't have hardware-assisted
floating point computations on this armeabi. most (if any) devices can't
handle this
timidity doesn't make sense, because there's no daemon to connect to
2011-02-18 22:15:04 +01:00
dhewg
8de5edde95 ANDROID: Protect port files with our define
get rid of -DANDROID and -DANDROID_BACKEND
2011-02-14 18:58:55 +01:00
dhewg
51a966e9e6 ANDROID: Use the official NDK toolchain
- use NDK r5b
- cleanup
2011-02-14 18:58:54 +01: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
Paul Gilbert
7042d95cfe TSAGE: Added the engine in a separate branch 2011-02-14 20:37:27 +11:00
Johannes Schickel
9f6dc040ff CONFIGURE: Add basic support for ICC.
svn-id: r55862
2011-02-10 01:05:48 +00:00
David Turner
9e761d6f29 TOON: Switched configure script to build Toon Engine by default.
Needed to allow Toonstruck playtesting with daily builds.

svn-id: r55747
2011-02-03 01:47:41 +00:00
Marcus Comstedt
176be9adad DC: Ensure creation of output sections .{c,d}tors
Add an object with an empty .ctors and .dtors section to the build
of each plugin.  This ensures that there will be an output section
.ctors and one .dtors in the output file (they could be empty though).
If these output sections were to be removed, the symbols defined inside
by the linker script could disappear as well, and we don't want that.

svn-id: r55149
2011-01-07 16:25:05 +00:00
David Turner
ccc3830b49 SWORD25: Update configure Script to set LUA platform configuration for linux*
This changes removes the tmpnam warning when building the Sword 2.5 engine.
This fix sets the top level define which is used by engines/sword25/util/lua/luaconf.h to configure the LUA interpreter build, but only for linux* targets. 
Other targets may need a similar fix.
Note : LUA_USE_POSIX is used in preference to LUA_USE_LINUX as this causes another warning associated with the dlopen usage.

svn-id: r55130
2011-01-06 00:43:36 +00:00
Yotam Barnoy
7558331550 PLUGINS: rename ONE_PLUGIN_AT_A_TIME define to UNCACHED_PLUGINS
ONE_PLUGIN_AT_A_TIME is too long.

svn-id: r55064
2010-12-30 08:01:58 +00:00
Yotam Barnoy
6817d4b300 PLUGINS: add ELF memory manager to solve fragmentation
Following lordhoto's suggestion, I implemented a simple allocator that grabs the size of the biggest available plugin in memory. This is an elegant solution to the fragmentation problem, with the caveat that memory is wasted. As such, it's not suited for the DS, so I added a #define to disable it there.

svn-id: r55009
2010-12-22 14:48:51 +00:00
Jordi Vilalta Prat
f1d8fc49f4 CONFIGURE: Add detection for OpenGL ES 1.1
svn-id: r54733
2010-12-02 12:44:36 +00:00
Johannes Schickel
4fe7e1b3e9 CONFIGURE: Fix OpenGL library detection on OS X in case MESA is installed.
svn-id: r54722
2010-12-01 20:50:12 +00:00
Jordi Vilalta Prat
75cf4a225d CONFIGURE: Remove the duplicated --disable-opengl description.
svn-id: r54721
2010-12-01 20:40:12 +00:00
Johannes Schickel
abe06f098c CONFIGURE: Improve OpenGL header + library detection.
svn-id: r54591
2010-11-29 20:07:09 +00:00
Max Horn
ce119b9540 OPENGL: Fix OpenGL on Mac OS X
svn-id: r54545
2010-11-28 18:57:36 +00:00
Max Horn
627db0d764 BUILD: Set 'UNIX=1' in config.mk on unix systems
svn-id: r54537
2010-11-28 17:42:25 +00:00
Max Horn
7870bed92f BUILD: Add OpenGL support to configure (from branch)
svn-id: r54536
2010-11-28 17:42:05 +00:00
Max Horn
aa33b22d63 BUILD: Compilation fixes for Win32 and Amiga
svn-id: r54535
2010-11-28 17:41:33 +00:00
Matthew Hoops
4a5b01e3bb CONFIGURE: Define SDL_BACKEND for GP2X/GPH/WINCE backends
This should fix compilation on those systems.

svn-id: r54149
2010-11-09 05:21:07 +00:00
Fabio Battaglia
f452fe82ad CONFIGURE: disable libmad for N64 Port
libmad uses more cpu than tremor, and audio stutters more,
also this will save some memory

svn-id: r54114
2010-11-07 12:09:53 +00:00
Yotam Barnoy
f5bfae598c PSP: cleaning up some stuff from plugin merge
svn-id: r54060
2010-11-04 06:28:34 +00:00
Yotam Barnoy
13b904d282 Merge from gsoc2010-plugins
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work.

svn-id: r54051
2010-11-03 22:01:01 +00:00
Yotam Barnoy
27182f266f PSP: removed CXA_AT_EXIT. It didn't work well because __dso_object already exists in the main executable, causing it not to be built in the plugins.
svn-id: r53996
2010-11-01 06:31:09 +00:00
Yotam Barnoy
94c8d0a14d Updated with latest from trunk
svn-id: r53976
2010-10-31 11:08:43 +00:00
John Willis
f835d49e2a CONFIGURE: Add -DGPH_DEVICE to all the GPH device targets.
Also add wrapper around the plugin dir. for the OpenPandora from 1.2.0 branch.

svn-id: r53640
2010-10-20 13:03:19 +00:00
Yotam Barnoy
9d12ee2125 PSP: building BS2.5 again. Reverting 53615.
svn-id: r53636
2010-10-20 09:50:39 +00:00
Yotam Barnoy
193a0c6ca1 PSP: disabling the ability to build Broken Sword 2.5. Revert once fixed.
Lua is very problematic for the PSP build because it wants a) libpng built with the plugins which is not great, but not that bad. b) It calls several PSP functions directly, and it turns out PSP functions can only be called from the main executable -- they're in flash and must be fixed up using custom PSP utils. Until this mechanism is changed so that for example lua calls functions in the main executable, the PSP cannot be built.

The following functions need to be removed/moved to the main executable:
All socket functions (should be disabled anyway)
Clock()
Rename()
Additionally, png functions should ideally also be called only from the main executable.

svn-id: r53615
2010-10-19 16:17:45 +00:00
Eugene Sandulenko
56b1f8ddee Revert "CONFIGURE: Added va_copy detection for Last Express engine"
svn-id: r53584
2010-10-18 20:19:44 +00:00
Eugene Sandulenko
a33d473535 CONFIGURE: Added va_copy detection for Last Express engine
svn-id: r53583
2010-10-18 20:02:27 +00:00
Eugene Sandulenko
937cf6cd7a CONFIGURE: Plug in Last Express engine
svn-id: r53580
2010-10-18 19:18:06 +00:00
Eugene Sandulenko
5d08ad157d CONFIGURE: formatting fix (and kick the buildbot full rebuild)
svn-id: r53570
2010-10-18 17:42:24 +00:00
Matthew Hoops
dad3f32278 MACOSX: Fix make bundle when compiling with libpng
svn-id: r53463
2010-10-15 03:33:54 +00:00
Max Horn
fa8275f27b SWORD25: Don't even compile theora related code when that lib is not present
svn-id: r53428
2010-10-13 15:00:51 +00:00
Filippos Karapetis
3b49939eab CONFIGURE: Fixed typo
svn-id: r53420
2010-10-13 13:43:13 +00:00
Filippos Karapetis
69e3e55aca CONFIGURE: Fixed a bug with --disable-theoradec and made libtheoradec optional for
building sword25 

If libtheoradec is missing then the engine still builds if requested, but the
videos will be disabled (note that running the game with videos disabled is
still untested)

svn-id: r53419
2010-10-13 13:36:55 +00:00
Joost Peters
fddc2ab3b9 CONFIGURE: Use static libgcc on IRIX cross-compile builds (makes them work on vanilla IRIX systems).
svn-id: r53414
2010-10-13 12:45:14 +00:00
Willem Jan Palenstijn
b3c352d1fe CONFIGURE: Don't execute a binary just to check libpng version
This fixes detection of libpng when cross-compiling.

svn-id: r53404
2010-10-13 10:50:45 +00:00
Johannes Schickel
3b81a9489e SOUND: Allow TiMidity support to be disabled via configure.
svn-id: r53395
2010-10-13 00:48:40 +00:00
Eugene Sandulenko
dbde2e46e3 SWORD25: Added detection of libtheora, png an dplugged in the engine
svn-id: r53169
2010-10-12 21:12:50 +00:00
Jordi Vilalta Prat
8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Jordi Vilalta Prat
a524209edc CONFIGURE: Update backends and special host lists.
- Update the documentation of available backends and special hosts based on
  the available ones.
- Sort backend/host/case lists alphabetically.

svn-id: r53158
2010-10-11 23:26:26 +00:00
Jordi Vilalta Prat
8b144960f8 CONFIGURE: Fix for bug #3085292 (--docdir not accepted)
- Handle the --docdir option which was documented but not accepted.
- Reorder the directory variables and their handling to have the same order
  everywhere. This will hopefully make bugs like this harder to happen.

svn-id: r53149
2010-10-11 19:50:17 +00:00
Eugene Sandulenko
cf82bef02e TOON: Merged Toon engine to ScummVM trunk
svn-id: r53087
2010-10-08 22:30:39 +00:00
Fabio Battaglia
9ec1985a09 CONFIGURE: add REDUCE_MEMORY_USAGE to N64 and Dingux ports
svn-id: r53050
2010-10-07 15:45:38 +00:00