diff options
author | Lauri Leukkunen <lle@rahina.org> | 2006-09-03 16:24:30 +0300 |
---|---|---|
committer | Lauri Leukkunen <lleukkun@leka.rahina.org> | 2006-09-03 16:24:30 +0300 |
commit | a24836d0eb613849205cd82deaa3288cb60e3536 (patch) | |
tree | d2f492504d1fe470b4caea0d813340f12d9cd4dd /llbuild | |
parent | bc717b2a0796c985312fecaba318ba951259989b (diff) |
* minor llbuild shlib building cleanup
Diffstat (limited to 'llbuild')
-rw-r--r-- | llbuild/Makefile.include | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llbuild/Makefile.include b/llbuild/Makefile.include index 4f42af7..349a88a 100644 --- a/llbuild/Makefile.include +++ b/llbuild/Makefile.include @@ -69,6 +69,13 @@ cxxbin-%: _build_objects run_alias="CXXBIN"; \ $(ll_pretty_run) +shlib-%: _build_objects + @run_sources="$($@)"; \ + run_target="$(patsubst shlib-%,%,$@)"; \ + run_cmd="$(CC) $(LDFLAGS) -shared -o $(patsubst shlib-%,%,$@) $(shell for f in $($@) ; do if [ -d $$f ]; then echo $$f/built-in.o; else echo $$f; fi; done) $(LIBS)"; \ + run_alias="SHLIB"; \ + $(ll_pretty_run) + ll_mainlevel: @find $(TOPDIR) -name "*.subdir.d.lock" -o -name "*.subdir.d" | xargs rm -f @$(MAKE) --no-print-directory -f $(LLBUILD)/Makefile.build $(subdir_deps) |