Commit Graph

48 Commits

Author SHA1 Message Date
rubidium
17aac5c493 (svn r16624) -Fix: depend was compiled with the same compiler as the OpenTTD binary, causing depend to silently fail during cross-compiles 2009-06-22 20:33:15 +00:00
rubidium
ca89673347 (svn r16623) -Change: remove CC_CFLAGS as we're not using a C compiler anywhere at all 2009-06-22 20:22:04 +00:00
smatz
d091c7d80f (svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed. 2009-06-01 11:49:46 +00:00
glx
1d61619adc (svn r16443) -Fix: running 'make depend' after 'configure' in a fresh checkout failed 2009-05-26 23:05:11 +00:00
rubidium
a25584b76f (svn r16419) -Fix [FS#2916]: MSYS has two distinct ways to write paths. When calling external binaries it resolves paths which causes comparisons between a resolved and unresolved path. So always use the resolved path instead of the unresolved one. 2009-05-24 17:34:39 +00:00
rubidium
5d2b6f8474 (svn r16318) -Change: use !! instead of @@ in src/*.in too.
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
2009-05-16 12:36:33 +00:00
glx
3cf9fc17f6 (svn r16307) -Fix: makedepend can't handle the amount of files we have and it also miss some dependencies. That's why we introduce our custom implementation of makedepend. 2009-05-14 21:59:24 +00:00
rubidium
85594561e0 (svn r15344) -Change [Makefile]: don't recompile everything when english.txt changes, but only whatever includes table/strings.h. 2009-02-04 23:40:01 +00:00
truebrain
c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
truebrain
ae0c25e530 (svn r14856) -Fix: allow 'makedepend' to find header files in the lang-obj-dir 2009-01-06 00:48:19 +00:00
rubidium
5dd4735da1 (svn r14636) -Add: DOS port of OpenTTD, without network support though. 2008-11-26 13:12:45 +00:00
smatz
ab00ea7393 (svn r14467) -Fix [FS#2350](r14443): use '~' instead of '#' as sed separator, it could be understood in a wrong way by shell 2008-10-14 19:47:28 +00:00
skidd13
91665fd7e4 (svn r14443) -Change: Unify the delimiters used in config* and make* 2008-10-06 17:05:44 +00:00
matthijs
1574bd18b1 (svn r14272) -Fix [Makefile]: Always pass an explicit delimiter to the "cut" command, in
case there are platforms where tab is not the default.
2008-09-08 06:27:08 +00:00
matthijs
8f69465314 (svn r14261) -Change [Makefile]: Move the revision detection code from Makefile.src.in to a
new bash script findversion.sh. This commit should have no functional changes.
2008-09-07 13:24:49 +00:00
truebrain
a42bef612e (svn r14255) -Fix [configure]: remove the requirement to have a recent enough 'grep' which understands -m. Instead, use 'head -n 1' which is more common available 2008-09-06 12:54:11 +00:00
truebrain
113fbb8cb3 (svn r14244) -Fix: add 'Auto-generated' text when autogenerated, not in template (complain by blathijs ;)) 2008-09-04 19:15:52 +00:00
glx
01ce633a93 (svn r14194) -Fix: don't use hardcoded character offsets to get hg revision. This make it similar to svn and git (ie without the ':'). 2008-08-30 13:15:36 +00:00
glx
9b2919852a (svn r14072) -Fix (r14053): branch detection failed with mawk (peter1138) 2008-08-14 15:37:52 +00:00
glx
86865d7f4c (svn r14053) -Fix: branch detection failed for svn+ssh repos 2008-08-12 18:03:32 +00:00
smatz
2dedd3803a (svn r13902) -Fix (r13375): rev.cpp wasn't recreated when --revision was used and the 'modified' status of sources changed 2008-07-31 20:09:54 +00:00
smatz
513efe0fbe (svn r13901) -Fix: make sure REV_NR isn't empty, rev.cpp would fail to compile 2008-07-31 19:19:29 +00:00
smatz
1f55797fe3 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 2008-06-03 18:35:58 +00:00
glx
25a636d6cd (svn r11469) -Fix (r11051): only consider changes in src when detecting modified (M) version 2007-11-18 22:37:44 +00:00
glx
e549379690 (svn r11468) -Fix (r11330): rev number detection didn't work for git with msys/mingw 2007-11-18 20:38:24 +00:00
truelight
d670578480 (svn r11336) -Fix r11330: '#' means comment in gmake, so don't use it in seds 2007-10-21 20:14:15 +00:00
glx
9bce98ef69 (svn r11335) -Fix (r11148): only consider changes in src when detecting modified (M) version 2007-10-21 17:19:18 +00:00
rubidium
fcce47172d (svn r11330) -Add: OTTD version checking for NewGRFs. This allows NewGRFs to do something different for different versions of OpenTTD, like disabling it for too low versions or loading different graphics. 2007-10-21 14:59:05 +00:00
rubidium
45357015a5 (svn r11148) -Codechange: add support for getting version numbers from Mercurial/HG instead of norev000 (when using a Mercurial/HG clone that is). 2007-09-23 10:26:20 +00:00
rubidium
e9924421bf (svn r11089) -Codechange: add revision detection to MSVC. 2007-09-12 07:11:48 +00:00
rubidium
0ee2bb60bd (svn r10563) -Fix: gcc 2.95 (which is still needed for MorphOS :() does have trouble with using the protected/private variables of the enclosing class (and super classes of that enclosing class). 2007-07-14 20:40:11 +00:00
rubidium
ed441c8003 (svn r10171) -Add: simple support for ccache (--with-ccache). 2007-06-16 21:57:30 +00:00
glx
f8ca8d20a2 (svn r10057) -Fix (r10051): git version detection didn't work for mingw/msys 2007-06-07 13:40:20 +00:00
rubidium
6f3c0dfb92 (svn r10051) -Add: git "version" detection so we've got at least some indication what version we're playing when using git ;) 2007-06-07 00:25:49 +00:00
truelight
a1ebdb4768 (svn r9710) -Add: added support for GCC 2.95. This makes MorphOS target alive again. With a big thanks to tokai and Rubidium!! 2007-04-21 13:19:43 +00:00
glx
fba80dccbe (svn r8839) -Fix: escape slashes in sed for mingw Makefile.dep stuff. It worked with sed 3.02 (provided by msys) but sed 4.1.4 (from gnuwin32.sf.net) failed. 2007-02-22 00:33:39 +00:00
truelight
c4a8336835 (svn r8819) [Config] -Documentation: added why we need CC_HOST for linking on PSP 2007-02-19 21:18:39 +00:00
truelight
788535debf (svn r8814) [Config] -Add: added --awk and detect_awk. We now try to find an awk on the user system which allows gsub(). If not found, you can define one yourself, or it tells you versions you might want to install 2007-02-19 19:59:19 +00:00
truelight
4b88663f31 (svn r8678) [PSP] -Add: added LIBS and CFLAGS needed to compile PSP
-Fix: PSP needs to link with gcc, not with g++ (don't ask)
-Fix: PSP doens't support threads
2007-02-11 16:28:00 +00:00
bjarni
c866f36371 (svn r8658) -Fix r8605: missed an error message renaming from m to mm (objC to objC++) 2007-02-10 00:22:32 +00:00
bjarni
5ebab4089a (svn r8605) -Codechange: [OSX] changed all objective C to objective C++
This will permanently solve the issue where compilation on OSX broke because C++ code was added to some header files

   -Note: (important if you develop mac specific code)
   taken from http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html           
    gdb lacks an integrated C++ with Objective-C parser. This means that gdb won't be able to evaluate expressions that contain both C++ and Objective-C constructs.
    gdb assumes that the language for ".mm" files is C++.
    you can change it to objective C by typing: (gdb) set language objc 
    Mixing C++ and objective C has some limitation (see link for all of them)
2007-02-05 21:16:56 +00:00
glx
a6c23ae1ed (svn r8109) -Fix r5693: ignore .hpp to avoid problems with deps 2007-01-13 18:44:38 +00:00
rubidium
28db7d2674 (svn r8067) -Fix (r7759): if bin/$(TTD) was removed, it did not get placed back on make unless $(TTD) got relinked. 2007-01-11 18:26:53 +00:00
rubidium
a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 2007-01-10 18:56:51 +00:00
rubidium
ae90eea8e4 (svn r7866) -Fix (r7759): ./configure --revision=[revision] did not work as intended. 2007-01-05 15:01:51 +00:00
truelight
813f99d03e (svn r7780) [Configure] -Fix: strip before copy, not copy before strip 2007-01-02 23:19:52 +00:00
truelight
87b9931e6f (svn r7762) [Configure] -Fix: .rc files were not ignored in old DEP system 2007-01-02 20:19:25 +00:00
rubidium
013df98f79 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
2007-01-02 19:19:48 +00:00