Commit Graph

21 Commits

Author SHA1 Message Date
aryanrawlani28
02730ee176 BUILD: MAKEFILES: Improve syntax of if checks 2020-10-03 14:56:36 +02:00
aryanrawlani28
2f05960913 BUILD: MAKEFILES: Rename USE_RULES -> LOAD_RULES_MK 2020-10-03 14:56:36 +02:00
aryanrawlani28
6735c46c41 MAKEFILES: Add a variable which helps in deciding if rules.mk should be used or not
- It is always enabled by default
- Only disabled when we would include all engine module files, so we don't include unnecessary stuff
2020-10-03 14:56:36 +02:00
Björn Esser
0974f168b2 BUILD: Use unmodified SAVED_LDFLAGS from env for linking plugins.
In commit dce6b012 we added the LDFLAGS, which were modified by the
configure script, to the linker stage of the plugins.  Doing so turns
out not to work well for all system architectures.

This approach uses the unmodified LDFLAGS, stored in the SAVED_LDFLAGS
variable by the configure script, from the system environment for
linking dynamic plugins, which is very likely not to cause any harm.
2020-02-23 00:57:39 +01:00
Eugene Sandulenko
e1561f0562 Revert "BUILD: Apply LDFLAGS on modules/plugins"
This reverts commit dce6b01258.
2020-02-22 11:50:26 +01:00
Björn Esser
dce6b01258 BUILD: Apply LDFLAGS on modules/plugins
Some distributions populate their build environment with special
linker flags, e.g. for hardening purposes such as immediate binding
and/or read-only relocations.

Those flags should be honored when linking dynamic libraries.
2020-02-22 09:44:22 +01:00
Dan Church
192a885af6 BUILD: Fix build failure
Only happens when --enable-plugins is turned on.
2018-08-23 23:01:09 +01:00
Torbjörn Andersson
4d5c4232ee BUILD: Remove .dwo files on clean 2018-08-20 23:03:31 +01:00
Colin Snover
ffff953685 BUILD: Use split-dwarf debug symbol files by default, when available
This should improve linker time as well as reduce the size of the
built binaries (though this does not affect runtime memory usage
since the debug segments are not loaded into memory except by a
debugger) whilst still giving debug information.
2018-08-18 13:33:03 +02:00
Eugene Sandulenko
f738e79e2a BUILD: Fix specifying tool-specific libraries and flags
This fixes create_titanic which is now dependent on USE_ZLIB
2017-08-13 13:22:20 +02:00
Eugene Sandulenko
933d634c32 CONFIGURE: An (unsuccessful) attempt to add library dependencies to the tools
For some reason I cannot figure out how to enforce proper variable creation
in a generic way. I'll keep reading the docs but maybe someone else could
figure it out earlier
2017-08-13 12:57:32 +02:00
Max Horn
70d5da3bc4 DEVTOOLS: Link create_kyradat against libcommon.a, for scumm_stricmp 2011-06-01 23:57:21 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
6cf1de87ac DEVTOOLS: Renamed 'tools' directory to 'devtools' 2011-04-09 23:47:35 +02:00
Johannes Schickel
c0c7bcf30e BUILD: Fix URL keyword in rules.mk.
svn-id: r54585
2010-11-29 18:52:42 +00:00
Eugene Sandulenko
ea87405ae4 Patch #2840212: "Quiet make process"
svn-id: r43635
2009-08-22 11:03:00 +00:00
Jordi Vilalta Prat
3f44977885 Added support to load plugins from different directories and the ability to specify the default directory from configure.
svn-id: r31816
2008-05-02 14:30:06 +00:00
Max Horn
85393b6fa4 Extended rules.mk with code for building extra (tool) executables, and changed some of the tools to make use of this
svn-id: r30962
2008-02-25 14:10:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Johannes Schickel
2d43de587a Commit of patch #1715310 ("WIN32: Dynamic Plugin support with MinGW").
svn-id: r26963
2007-05-27 10:46:47 +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