mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-31 04:50:17 +02:00
+ Fixes from peter for fpc.exe merged
This commit is contained in:
parent
b9796f6a7f
commit
f2ba7392fc
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Makefile generated by fpcmake v1.00 [2000/10/27]
|
# Makefile generated by fpcmake v1.00 [2000/10/12]
|
||||||
#
|
#
|
||||||
|
|
||||||
defaultrule: all
|
defaultrule: all
|
||||||
@ -354,7 +354,7 @@ endif
|
|||||||
# To install files
|
# To install files
|
||||||
ifndef INSTALL
|
ifndef INSTALL
|
||||||
ifdef inUnix
|
ifdef inUnix
|
||||||
INSTALL:=install -c -m 644
|
INSTALL:=install -m 644
|
||||||
else
|
else
|
||||||
INSTALL:=$(COPY)
|
INSTALL:=$(COPY)
|
||||||
endif
|
endif
|
||||||
@ -363,7 +363,7 @@ endif
|
|||||||
# To install programs
|
# To install programs
|
||||||
ifndef INSTALLEXE
|
ifndef INSTALLEXE
|
||||||
ifdef inUnix
|
ifdef inUnix
|
||||||
INSTALLEXE:=install -c -m 755
|
INSTALLEXE:=install -m 755
|
||||||
else
|
else
|
||||||
INSTALLEXE:=$(COPY)
|
INSTALLEXE:=$(COPY)
|
||||||
endif
|
endif
|
||||||
@ -1212,7 +1212,7 @@ else
|
|||||||
$(MAKE) $(ZIPTARGET) PREFIXINSTALLDIR=$(PACKDIR)
|
$(MAKE) $(ZIPTARGET) PREFIXINSTALLDIR=$(PACKDIR)
|
||||||
ifdef USETAR
|
ifdef USETAR
|
||||||
$(DEL) $(DESTZIPDIR)/$(ZIPNAME)$(TAREXT)
|
$(DEL) $(DESTZIPDIR)/$(ZIPNAME)$(TAREXT)
|
||||||
cd $(PACKDIR) ; $(TARPROG) cf$(TAROPT) $(DESTZIPDIR)/$(ZIPNAME)$(TAREXT) * ; cd $(BASEDIR)
|
cd $(PACKDIR) ; $(TARPROG) c$(TAROPT) --file $(DESTZIPDIR)/$(ZIPNAME)$(TAREXT) * ; cd $(BASEDIR)
|
||||||
else
|
else
|
||||||
$(DEL) $(DESTZIPDIR)/$(ZIPNAME)$(ZIPEXT)
|
$(DEL) $(DESTZIPDIR)/$(ZIPNAME)$(ZIPEXT)
|
||||||
cd $(PACKDIR) ; $(ZIPPROG) -Dr $(ZIPOPT) $(DESTZIPDIR)/$(ZIPNAME)$(ZIPEXT) * ; cd $(BASEDIR)
|
cd $(PACKDIR) ; $(ZIPPROG) -Dr $(ZIPOPT) $(DESTZIPDIR)/$(ZIPNAME)$(ZIPEXT) * ; cd $(BASEDIR)
|
||||||
@ -1578,6 +1578,8 @@ cvstest:
|
|||||||
.PHONY: quickinstall install installsym
|
.PHONY: quickinstall install installsym
|
||||||
|
|
||||||
MSGINSTALLDIR=$(BASEINSTALLDIR)/msg
|
MSGINSTALLDIR=$(BASEINSTALLDIR)/msg
|
||||||
|
override FPCEXEFILE:=$(wildcard $(FPCEXE))
|
||||||
|
override PPEXEFILE:=$(wildcard $(EXENAME))
|
||||||
|
|
||||||
# This will only install the ppc386.exe, not the message files etc.
|
# This will only install the ppc386.exe, not the message files etc.
|
||||||
quickinstall:
|
quickinstall:
|
||||||
@ -1585,13 +1587,25 @@ quickinstall:
|
|||||||
ifdef UPXPROG
|
ifdef UPXPROG
|
||||||
-$(UPXPROG) $(EXENAME)
|
-$(UPXPROG) $(EXENAME)
|
||||||
endif
|
endif
|
||||||
$(INSTALLEXE) $(FPCEXE) $(BININSTALLDIR)
|
# Install fpc.exe
|
||||||
|
ifneq ($(FPCEXEFILE),)
|
||||||
|
ifdef UPXPROG
|
||||||
|
-$(UPXPROG) $(FPCEXEFILE)
|
||||||
|
endif
|
||||||
|
$(INSTALLEXE) $(FPCEXEFILE) $(BININSTALLDIR)
|
||||||
|
endif
|
||||||
|
# Install ppc386.exe
|
||||||
|
ifneq ($(PPEXEFILE),)
|
||||||
|
ifdef UPXPROG
|
||||||
|
-$(UPXPROG) $(EXENAME)
|
||||||
|
endif
|
||||||
ifdef UNIXINSTALLDIR
|
ifdef UNIXINSTALLDIR
|
||||||
$(MKDIR) $(BASEINSTALLDIR)
|
$(MKDIR) $(BASEINSTALLDIR)
|
||||||
$(INSTALLEXE) $(EXENAME) $(BASEINSTALLDIR)
|
$(INSTALLEXE) $(EXENAME) $(BASEINSTALLDIR)
|
||||||
else
|
else
|
||||||
$(INSTALLEXE) $(EXENAME) $(BININSTALLDIR)
|
$(INSTALLEXE) $(EXENAME) $(BININSTALLDIR)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
install: quickinstall
|
install: quickinstall
|
||||||
ifdef UNIXINSTALLDIR
|
ifdef UNIXINSTALLDIR
|
||||||
|
@ -329,20 +329,33 @@ cvstest:
|
|||||||
.PHONY: quickinstall install installsym
|
.PHONY: quickinstall install installsym
|
||||||
|
|
||||||
MSGINSTALLDIR=$(BASEINSTALLDIR)/msg
|
MSGINSTALLDIR=$(BASEINSTALLDIR)/msg
|
||||||
|
override FPCEXEFILE:=$(wildcard $(FPCEXE))
|
||||||
|
override PPEXEFILE:=$(wildcard $(EXENAME))
|
||||||
|
|
||||||
# This will only install the ppc386.exe, not the message files etc.
|
# This will only install the ppc386.exe, not the message files etc.
|
||||||
quickinstall:
|
quickinstall:
|
||||||
$(MKDIR) $(BININSTALLDIR)
|
$(MKDIR) $(BININSTALLDIR)
|
||||||
|
# Install fpc.exe
|
||||||
|
ifneq ($(FPCEXEFILE),)
|
||||||
|
ifdef UPXPROG
|
||||||
|
-$(UPXPROG) $(FPCEXEFILE)
|
||||||
|
endif
|
||||||
|
$(MKDIR) $(BININSTALLDIR)
|
||||||
|
$(INSTALLEXE) $(FPCEXEFILE) $(BININSTALLDIR)
|
||||||
|
endif
|
||||||
|
# Install ppc386.exe
|
||||||
|
ifneq ($(PPEXEFILE),)
|
||||||
ifdef UPXPROG
|
ifdef UPXPROG
|
||||||
-$(UPXPROG) $(EXENAME)
|
-$(UPXPROG) $(EXENAME)
|
||||||
endif
|
endif
|
||||||
$(INSTALLEXE) $(FPCEXE) $(BININSTALLDIR)
|
|
||||||
ifdef UNIXINSTALLDIR
|
ifdef UNIXINSTALLDIR
|
||||||
$(MKDIR) $(BASEINSTALLDIR)
|
$(MKDIR) $(BASEINSTALLDIR)
|
||||||
$(INSTALLEXE) $(EXENAME) $(BASEINSTALLDIR)
|
$(INSTALLEXE) $(EXENAME) $(BASEINSTALLDIR)
|
||||||
else
|
else
|
||||||
|
$(MKDIR) $(BININSTALLDIR)
|
||||||
$(INSTALLEXE) $(EXENAME) $(BININSTALLDIR)
|
$(INSTALLEXE) $(EXENAME) $(BININSTALLDIR)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
install: quickinstall
|
install: quickinstall
|
||||||
ifdef UNIXINSTALLDIR
|
ifdef UNIXINSTALLDIR
|
||||||
|
Loading…
Reference in New Issue
Block a user