mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:29:28 +02:00
Add fullinstallsymlink phony target, to be able to create all symlinks needed to all crosscompilers
git-svn-id: trunk@34272 -
This commit is contained in:
parent
10454d4fec
commit
dbf1100b33
@ -400,14 +400,18 @@ endif
|
||||
|
||||
PPC_TARGETS=i386 m68k powerpc sparc arm armeb x86_64 powerpc64 mips mipsel avr jvm i8086 aarch64
|
||||
INSTALL_TARGETS=$(addsuffix _exe_install,$(sort $(CYCLETARGETS) $(PPC_TARGETS)))
|
||||
SYMLINKINSTALL_TARGETS=$(addsuffix _symlink_install,$(sort $(CYCLETARGETS) $(PPC_TARGETS)))
|
||||
|
||||
.PHONY: $(PPC_TARGETS) $(INSTALL_TARGETS)
|
||||
.PHONY: $(PPC_TARGETS) $(INSTALL_TARGETS)$(SYMLINKINSTALL_TARGETS)
|
||||
|
||||
$(PPC_TARGETS):
|
||||
$(MAKE) PPC_TARGET=$@ CPU_UNITDIR=$@ all
|
||||
|
||||
$(INSTALL_TARGETS):
|
||||
$(MAKE) all exeinstall PPC_TARGET=$(subst _exe_install,,$@) CPU_UNITDIR=$(subst _exe_install,,$@)
|
||||
$(MAKE) all install PPC_TARGET=$(subst _exe_install,,$@) CPU_UNITDIR=$(subst _exe_install,,$@)
|
||||
|
||||
$(SYMLINKINSTALL_TARGETS):
|
||||
$(MAKE) all installsymlink PPC_TARGET=$(subst _symlink_install,,$@) CPU_UNITDIR=$(subst _symlink_install,,$@)
|
||||
|
||||
alltargets: $(ALLTARGETS)
|
||||
|
||||
@ -587,6 +591,8 @@ endif
|
||||
#
|
||||
#####################################################################
|
||||
|
||||
.PHONY: cycle fullcycle wpocycle
|
||||
|
||||
ifeq ($(CPU_SOURCE),$(PPC_TARGET))
|
||||
|
||||
ifeq ($(OS_SOURCE),$(OS_TARGET))
|
||||
@ -762,7 +768,7 @@ htmldocs:
|
||||
# Installation
|
||||
#####################################################################
|
||||
|
||||
.PHONY: quickinstall exeinstall install installsym
|
||||
.PHONY: quickinstall exeinstall install installsymlink fullinstall fullinstallsymlink
|
||||
|
||||
MSGINSTALLDIR=$(INSTALL_BASEDIR)/msg
|
||||
override PPEXEFILE:=$(wildcard $(EXENAME))
|
||||
@ -819,6 +825,13 @@ ifneq ($(PPCCPULOCATION),$(INSTALL_BINDIR))
|
||||
ln -sf $(INSTALL_BASEDIR)/$(EXENAME) $(INSTALL_BINDIR)/$(EXENAME)
|
||||
endif
|
||||
|
||||
fullinstallsymlink: fullinstall
|
||||
ifneq ($(OS_SOURCE),win64)
|
||||
$(MAKE) $(addsuffix _symlink_install,$(filter-out $(PPC_TARGET),$(CYCLETARGETS)))
|
||||
else
|
||||
$(MAKE) $(addsuffix _symlink_install,$(filter-out i8086,$(filter-out i386,$(filter-out $(PPC_TARGET),$(CYCLETARGETS)))))
|
||||
endif
|
||||
|
||||
|
||||
#####################################################################
|
||||
# RTL
|
||||
|
Loading…
Reference in New Issue
Block a user