exe.mk: Split defs and rules -> ldlibpath.mk, rules.mk

Push LD_LIBRARY_PATH defs from exe.mk into ldlibpath.mk, and rules
into rules.mk.
This commit is contained in:
Jan Lindemann 2005-06-28 13:52:44 +00:00 committed by Jan Lindemann
commit 9d141fe861
3 changed files with 11 additions and 5 deletions

7
make/ldlibpath.mk Normal file
View file

@ -0,0 +1,7 @@
# jan's utility modules
# (c) 2001-2005 jannet it services
# contact@jannet.de
# $Id$
LD_LIB_PATH_ORIG := $(LD_LIBRARY_PATH)
export LD_LIBRARY_PATH=$(shell echo $(strip $(LD_LIB_PATH):$(LD_LIB_PATH_ORIG)) | sed 's/ /:/g; s/::/:/g')