Commit Graph

634 Commits

Author SHA1 Message Date
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
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