--- trunk/OOPSE-4/make/Makefile.in 2005/11/18 16:38:34 2455 +++ trunk/OOPSE-4/make/Makefile.in 2005/11/18 17:50:17 2456 @@ -335,6 +335,7 @@ INSTALL = @INSTALL@ CppCompiler = @CXX@ Linker = @CXX@ MakeDepend = makedepend +LN_S = @LN_S@ INSTALL = @INSTALL@ InstallProgram = @INSTALL_PROGRAM@ InstallScript = @INSTALL_SCRIPT@ @@ -642,6 +643,7 @@ do_create = $(call extract_objs,$(1))$(call create_arc create_archive = $(shell $(StaticArchiver) $(StaticArchiverOptions) $(2) $(call find_objs, $(1))) remove_objs = $(shell $(Delete) $(call find_objs, $(1))) do_create = $(call extract_objs,$(1))$(call create_archive,$(1),$(2))$(call remove_objs,$(1)) +do_link = $(shell $(LN_S) $(1) $(2)) $(CombinedStaticLib) : $(LibDir)/.stamp_UP $(Print) create $@ @@ -801,7 +803,7 @@ _installall : _buildall _installdata install : $(InstallListLoop) $(Print) Done Install -_installall : _buildall _installdata +_installall : _buildall _installdata _installlinks $(MyInstallDir) : $(MkDir) $@ @@ -812,6 +814,13 @@ endif $(InstallCommand) $(InstallFiles) $(MyInstallDir) endif +_installlinks : $(MyInstallDir) + $(Print) $(LinkTargets) +ifneq "$(words $(LinkTargets))" "0" + @cd $(MyInstallDir) + $(foreach thisLink,$(LinkTargets),$(call do_link,$(Executable),$(thisLink))) +endif + # make statistics _statisticsall : @$(Print) $(patsubst %,$(CurrentDir)/%,$(SourceFiles)) >> $(DEV_ROOT)/files.tmp