mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 21:48:35 +02:00
* fixed to also work with 1.0.x fpcmake makefiles
This commit is contained in:
parent
73d31da1ef
commit
d3aa0f3f26
@ -785,11 +785,16 @@ ifneq ($(wildcard fpcmake.loc),)
|
||||
include fpcmake.loc
|
||||
endif
|
||||
.PHONY: rtl fcl clean
|
||||
ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
|
||||
INSTALLOPT=UNITINSTALLDIR=$(BASEDIR)
|
||||
else
|
||||
INSTALLOPT=INSTALL_UNITDIR=$(BASEDIR)
|
||||
endif
|
||||
rtl:
|
||||
$(MAKE) -C ../../rtl/$(OS_TARGET) all
|
||||
$(MAKE) -C ../../rtl/$(OS_TARGET) install INSTALL_UNITDIR=$(BASEDIR)
|
||||
$(MAKE) -C ../../rtl all
|
||||
$(MAKE) -C ../../rtl install $(INSTALLOPT)
|
||||
fcl:
|
||||
$(MAKE) -C ../../fcl/$(OS_TARGET) all
|
||||
$(MAKE) -C ../../fcl/$(OS_TARGET) install INSTALL_UNITDIR=$(BASEDIR)
|
||||
$(MAKE) -C ../../fcl all
|
||||
$(MAKE) -C ../../fcl install $(INSTALLOPT)
|
||||
clean : cleanall
|
||||
erroru$(PPUEXT): erroru.pp rtl fcl
|
||||
|
@ -13,13 +13,19 @@ fpcdir=../..
|
||||
[rules]
|
||||
.PHONY: rtl fcl clean
|
||||
|
||||
ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
|
||||
INSTALLOPT=UNITINSTALLDIR=$(BASEDIR)
|
||||
else
|
||||
INSTALLOPT=INSTALL_UNITDIR=$(BASEDIR)
|
||||
endif
|
||||
|
||||
rtl:
|
||||
$(MAKE) -C ../../rtl/$(OS_TARGET) all
|
||||
$(MAKE) -C ../../rtl/$(OS_TARGET) install INSTALL_UNITDIR=$(BASEDIR)
|
||||
$(MAKE) -C ../../rtl all
|
||||
$(MAKE) -C ../../rtl install $(INSTALLOPT)
|
||||
|
||||
fcl:
|
||||
$(MAKE) -C ../../fcl/$(OS_TARGET) all
|
||||
$(MAKE) -C ../../fcl/$(OS_TARGET) install INSTALL_UNITDIR=$(BASEDIR)
|
||||
$(MAKE) -C ../../fcl all
|
||||
$(MAKE) -C ../../fcl install $(INSTALLOPT)
|
||||
|
||||
clean : cleanall
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user