mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 22:39:36 +02:00
* x86 dependancy fixed, reported by Claviola
This commit is contained in:
parent
7ef820a990
commit
6fcd7583c1
@ -21,7 +21,27 @@
|
||||
# so a make html and make install goes quickly
|
||||
#INSTALLDEBUG=1
|
||||
|
||||
HOSTOS=$(shell ppc386 -iSO)
|
||||
ifndef FPC
|
||||
ifdef PP
|
||||
FPC=$(PP)
|
||||
endif
|
||||
endif
|
||||
ifndef FPC
|
||||
FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
|
||||
ifneq ($(FPCPROG),)
|
||||
FPCPROG:=$(firstword $(FPCPROG))
|
||||
FPC:=$(shell $(FPCPROG) -PB)
|
||||
ifneq ($(findstring Error,$(FPC)),)
|
||||
override FPC=ppc386
|
||||
endif
|
||||
else
|
||||
override FPC=ppc386
|
||||
endif
|
||||
endif
|
||||
override FPC:=$(subst $(SRCEXEEXT),,$(FPC))
|
||||
override FPC:=$(subst \,/,$(FPC))$(SRCEXEEXT)
|
||||
|
||||
HOSTOS=$(shell $(FPC) -iSO)
|
||||
# Which docs are made when 'html' is specified
|
||||
HTML = user units ref prog fpdoc fcl chart
|
||||
|
||||
@ -42,7 +62,7 @@ PREFIXINSTALLDIR=/usr
|
||||
endif
|
||||
|
||||
ifndef DOCINSTALLDIR
|
||||
DOCINSTALLDIR:=$(PREFIXINSTALLDIR)/doc/fpc-$(shell ppc386 -iV)
|
||||
DOCINSTALLDIR:=$(PREFIXINSTALLDIR)/doc/fpc-$(shell $(FPC) -iV)
|
||||
endif
|
||||
|
||||
ifndef FPDOC
|
||||
@ -558,7 +578,10 @@ execute:
|
||||
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.26 2004-05-18 22:10:56 michael
|
||||
# Revision 1.27 2004-07-17 21:02:28 marco
|
||||
# * x86 dependancy fixed, reported by Claviola
|
||||
#
|
||||
# Revision 1.26 2004/05/18 22:10:56 michael
|
||||
# + Updates for 1.9.4. Mostly MACPas related
|
||||
#
|
||||
# Revision 1.25 2004/03/19 17:39:03 peter
|
||||
|
@ -2,12 +2,32 @@
|
||||
# Man page installation for linux
|
||||
#
|
||||
|
||||
ifndef FPC
|
||||
ifdef PP
|
||||
FPC=$(PP)
|
||||
endif
|
||||
endif
|
||||
ifndef FPC
|
||||
FPCPROG:=$(strip $(wildcard $(addsuffix /fpc$(SRCEXEEXT),$(SEARCHPATH))))
|
||||
ifneq ($(FPCPROG),)
|
||||
FPCPROG:=$(firstword $(FPCPROG))
|
||||
FPC:=$(shell $(FPCPROG) -PB)
|
||||
ifneq ($(findstring Error,$(FPC)),)
|
||||
override FPC=ppc386
|
||||
endif
|
||||
else
|
||||
override FPC=ppc386
|
||||
endif
|
||||
endif
|
||||
override FPC:=$(subst $(SRCEXEEXT),,$(FPC))
|
||||
override FPC:=$(subst \,/,$(FPC))$(SRCEXEEXT)
|
||||
|
||||
ifndef INSTALL_PREFIX
|
||||
INSTALL_PREFIX=/usr/local
|
||||
endif
|
||||
|
||||
ifndef INSTALL_DOCDIR
|
||||
INSTALL_DOCDIR:=$(INSTALL_PREFIX)/doc/fpc-$(shell ppc386 -iV)
|
||||
INSTALL_DOCDIR:=$(INSTALL_PREFIX)/doc/fpc-$(shell $(FPC) -iV)
|
||||
endif
|
||||
|
||||
installdoc:
|
||||
|
Loading…
Reference in New Issue
Block a user