Commit Graph

216 Commits

Author SHA1 Message Date
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
Max Horn
e6383eb8c3 Added reference to COPYRIGHT file in various places
svn-id: r27325
2007-06-10 18:15:27 +00:00
Max Horn
c07b5f6147 Slightly modified version of patch #1728192: Fix for Debian packaging scripts
svn-id: r27015
2007-05-30 16:54:01 +00:00
Max Horn
9bf84a30ef Updated configure to generate flags in config.mk for MAD, FLAC, MPEG2 and Vorbis; updated scummvm-static Makefile target to only static link those libs which are actually used
svn-id: r26651
2007-04-28 13:43:51 +00:00
Max Horn
ad3a3fe1d1 Removed remaining references to the LaTeX docs; added a TODO for the Makefile 'bundle' target
svn-id: r26450
2007-04-10 15:10:18 +00:00
Johannes Schickel
1d395cccee Allows cross compiling for windows with mingw32.
svn-id: r26234
2007-03-18 22:56:56 +00:00
Max Horn
355a978572 Disabled '-O -Wuninitialized by default; this eases debugging a lot in some cases, at the cost of a nice-but-not-so-often-needed compiler warning (see also patch #1511980)
svn-id: r23675
2006-08-04 20:24:49 +00:00
Oystein Eftevaag
4ff6685de7 Force HFS+ filesystem when making OS X disk images (for backwards compatability), as the default has apparently changed
svn-id: r23486
2006-07-11 07:58:54 +00:00
Max Horn
9a955180a4 * Renamed config.mak to config.mk
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)

svn-id: r23275
2006-06-24 08:48:11 +00:00
Oystein Eftevaag
7d16e0b170 Adds the AUTHOR file to the MacOS X snapshots, and updates the bundle layout to correctly show the background image
svn-id: r23257
2006-06-22 08:09:48 +00:00
Max Horn
de250812e5 Removed my Altivec version of the hqx blitters, since it (a) didn't work with newer GCC versions, (b) speed was improved on some systems, but actually slower on others, and (c) even on my old 400 Mhz G4 hqx is fast enough w/o it
svn-id: r21961
2006-04-17 08:38:26 +00:00
Max Horn
e63763329c Changed default-theme -> modern
svn-id: r21922
2006-04-15 22:01:03 +00:00
Max Horn
0bad4c701e Disable RTTI and exceptions (we don't use 'em and over here it saves 700kb in the executable)
svn-id: r21895
2006-04-15 00:12:14 +00:00
Travis Howell
ce4927244c Update win32 dist
svn-id: r21891
2006-04-14 22:03:44 +00:00
Travis Howell
6d38683832 Fix mingw compile
svn-id: r21865
2006-04-14 01:26:51 +00:00
Eugene Sandulenko
ff1d11afe1 Rest of patch #1467193: "AmigaOS changes":
- an icon file (icons/scummvm.info) for AmigaOS
- aos4dist target which strips the binary and copies stuff (including the icon)
  to a hardcoded directory called Games:ScummVM_Snapshot.

svn-id: r21862
2006-04-14 01:11:10 +00:00
Eugene Sandulenko
ab799101c0 First batch of root directory cleanup. Now icons are stored in directory
icons/ and all other assorted stuff in dists/ directory. Still I may broke some
packaging/building procedures as no testing was performed.

svn-id: r21859
2006-04-14 00:55:37 +00:00
Max Horn
b1514bb833 Added a minimal README for our unit tests, and moved their build rule to a new test/module.mk file
svn-id: r21490
2006-03-29 10:35:45 +00:00
Oystein Eftevaag
58eed3830b * 'make bundle' now copies the default theme files into the bundle.
* Common::File will now look inside the application bundle on MacOS X for a file if
it can't find it anywhere else (so it'll find default-theme.ini and .zip)
* Cleaned up some #ifs.

svn-id: r21308
2006-03-15 07:43:44 +00:00