335 |
|
CppCompiler = @CXX@ |
336 |
|
Linker = @CXX@ |
337 |
|
MakeDepend = makedepend |
338 |
+ |
LN_S = @LN_S@ |
339 |
|
INSTALL = @INSTALL@ |
340 |
|
InstallProgram = @INSTALL_PROGRAM@ |
341 |
|
InstallScript = @INSTALL_SCRIPT@ |
643 |
|
create_archive = $(shell $(StaticArchiver) $(StaticArchiverOptions) $(2) $(call find_objs, $(1))) |
644 |
|
remove_objs = $(shell $(Delete) $(call find_objs, $(1))) |
645 |
|
do_create = $(call extract_objs,$(1))$(call create_archive,$(1),$(2))$(call remove_objs,$(1)) |
646 |
+ |
do_link = $(shell $(LN_S) $(1) $(2)) |
647 |
|
|
648 |
|
$(CombinedStaticLib) : $(LibDir)/.stamp_UP |
649 |
|
$(Print) create $@ |
803 |
|
install : $(InstallListLoop) |
804 |
|
$(Print) Done Install |
805 |
|
|
806 |
< |
_installall : _buildall _installdata |
806 |
> |
_installall : _buildall _installdata _installlinks |
807 |
|
|
808 |
|
$(MyInstallDir) : |
809 |
|
$(MkDir) $@ |
814 |
|
$(InstallCommand) $(InstallFiles) $(MyInstallDir) |
815 |
|
endif |
816 |
|
|
817 |
+ |
_installlinks : $(MyInstallDir) |
818 |
+ |
$(Print) $(LinkTargets) |
819 |
+ |
ifneq "$(words $(LinkTargets))" "0" |
820 |
+ |
@cd $(MyInstallDir) |
821 |
+ |
$(foreach thisLink,$(LinkTargets),$(call do_link,$(Executable),$(thisLink))) |
822 |
+ |
endif |
823 |
+ |
|
824 |
|
# make statistics |
825 |
|
_statisticsall : |
826 |
|
@$(Print) $(patsubst %,$(CurrentDir)/%,$(SourceFiles)) >> $(DEV_ROOT)/files.tmp |