Commit graph

26 commits

Author SHA1 Message Date
6395fa892c lo.mk: Make OTHER_CPP default assignment a ?=
Most notably, this allows to define OTHER_CPP to the empty string. Which
effectively speeds up the build by not creating a local.a, and disabling symbol
sharing in that directory by means of the library. With local.a, all other .so
files have to be relinked and installed to BUILD_LIB_DIR after a change in a
single source file.

Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-10 11:36:03 +00:00
383ecd6834 lo.mk: Add LOADABLE_OBJS_HEADER to lo.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
2014-11-16 19:18:46 +00:00
6d22479fc2 lo.mk: Add TOOLS_INCLUDE_DIR variable
Signed-off-by: Jan Lindemann <jan@janware.com>
2014-09-14 19:09:33 +00:00
678202b105 lo.mk, topdir.mk: Add target description
Signed-off-by: Jan Lindemann <jan@janware.com>
2014-08-02 14:09:00 +00:00
bd973fd84f lo.mk: LOADABLE_OBJS_CPP -> LOCAL_CPP
Re-use LOCAL_CPP in lo.mk, because that's the variable which decides
which header dependency files are built.

Signed-off-by: Jan Lindemann <jan@janware.com>
2014-07-23 18:09:28 +00:00
Jan Lindemann
634992f447 *.mk: Prefix non-env C/C++ flags with BUILD_
Prefix all CFLAGS / CPPFLAGS / LDFLAGS with BUILD_ to distinguish
them from flags read from the environment (and getting longer and
longer with +=).
2012-02-04 16:48:58 +00:00
Jan Lindemann
d1857e8d77 $(TOPDIR), make, scripts: Merged changes from V_1_1_31_6_POST_ACCEPTANCE 2011-05-15 18:28:19 +00:00
Jan Lindemann
6d812014a1 lo.mk: Only use OTHER_LIB when it's needed
Make the whole OTHER_LIB acrobatics optional, depending on
ifneq ($(OTHER_CPP),).
2009-06-29 23:32:43 +00:00
Jan Lindemann
b9f453a207 lo.mk: Use liblocal.a to reduce plugin size
Fix missing symbols from .cpp files via introducing liblocal.a.  This
is the only way I found to make ld ignore object-files unnecessary
for resolving symbols.
2009-06-29 18:43:47 +00:00
Jan Lindemann
66b5289897 lo.mk: Fix SO_PREFIX collision
Fix SO_PREFIX collision, see https://jannet.de/cvs/proj/ytools/make/rules.mk.diff?r1=1.120&r2=1.121
2009-06-29 15:07:19 +00:00
Jan Lindemann
0b0fe7167d lo.mk: Add support for LO_NAMESPACE 2009-06-19 15:43:30 +00:00
Jan Lindemann
2785226e36 lo.mk: Next effort into the same direction as the previous commits 2009-05-15 11:34:33 +00:00
Jan Lindemann
c73eaa3015 lo.mk: Link against $(TOOLS_DIR)/$(CPP_PREFIX)/$*.o
The last commit doesn\'t work with TOOLS_DIR != .

Fix this by always also linking against $(TOOLS_DIR)/$(CPP_PREFIX)/$*.o.
Symbols sometimes duplicates to those in the project lib in case
TOOLS_DIR != ., hence not very nice. But seems to work.
2009-05-15 10:47:44 +00:00
Jan Lindemann
4e1a05a90f lo.mk: Now not baking all objects from LOADABLE_OBJS_O into shared object anymore 2009-05-14 19:58:36 +00:00
Jan Lindemann
0c9d55e233 lo.mk: Add support for LOADABLE_OBJ_IGNORE 2009-04-29 15:38:23 +00:00
Jan Lindemann
58d117caf0 lo.mk: Compiael possibly present $(CPP_PREFIX)*.cpp into loadable object, too 2009-04-29 15:09:39 +00:00
Jan Lindemann
d56e9c204f lo.mk: Now not deleting YLo*.cpp anymore on clean target 2009-04-26 21:23:17 +00:00
Jan Lindemann
77c146286e make: Add profclean to clean target 2007-12-01 22:43:17 +00:00
Jan Lindemann
a53f2466cf lo.mk: Make SO_PREFIX externally definable (bugfix) 2007-08-21 19:56:22 +00:00
Jan Lindemann
1924377731 make: Renamed LIBDIR to BUILD_LIBDIR 2007-08-21 16:20:19 +00:00
Jan Lindemann
4c2a0c721b lo.mk: Don't generate SO_PREFIX anylonger
- Clean up indentation

  - Don't generate SO_PREFIX anylonger, since that's incompatible
    with not having a .cpp file to parse when linking against
    ytools.rpm
2007-08-18 20:32:41 +00:00
Jan Lindemann
e32da4e6fd lo.mk: Hard-coded SO_PREFIX 2007-08-17 10:41:30 +00:00
Jan Lindemann
df0c270d38 lo.mk: Add install target 2007-07-20 08:51:52 +00:00
Jan Lindemann
1c812446e6 make: MinGW port 2007-07-16 15:15:16 +00:00
Jan Lindemann
f71bd0281d lo.mk: Add rules for .dll plugins (TARGET = mingw) 2007-07-14 16:45:15 +00:00
Jan Lindemann
306cd22267 lo.mk: Add file 2007-07-02 13:28:06 +00:00