mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 11:28:06 +02:00
* force zipname to fpc-ver-target for zipinstall
git-svn-id: trunk@2559 -
This commit is contained in:
parent
0cef678a92
commit
8a732e2fae
44
Makefile
44
Makefile
@ -1,8 +1,8 @@
|
||||
#
|
||||
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/01/08]
|
||||
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/02/13]
|
||||
#
|
||||
default: help
|
||||
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-emx i386-watcom i386-netwlibc i386-wince m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-wince powerpc64-linux
|
||||
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-palmos arm-wince powerpc64-linux
|
||||
BSDs = freebsd netbsd openbsd darwin
|
||||
UNIXs = linux $(BSDs) solaris qnx
|
||||
LIMIT83fs = go32v2 os2 emx watcom
|
||||
@ -382,6 +382,9 @@ endif
|
||||
ifeq ($(FULL_TARGET),i386-wdosx)
|
||||
override TARGET_DIRS+=compiler rtl utils fcl fv packages ide installer
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-darwin)
|
||||
override TARGET_DIRS+=compiler rtl utils fcl fv packages ide installer
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-emx)
|
||||
override TARGET_DIRS+=compiler rtl utils fcl fv packages ide installer
|
||||
endif
|
||||
@ -451,6 +454,9 @@ endif
|
||||
ifeq ($(FULL_TARGET),arm-linux)
|
||||
override TARGET_DIRS+=compiler rtl utils fcl fv packages ide installer
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-palmos)
|
||||
override TARGET_DIRS+=compiler rtl utils fcl fv packages ide installer
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-wince)
|
||||
override TARGET_DIRS+=compiler rtl utils fcl fv packages ide installer
|
||||
endif
|
||||
@ -641,6 +647,9 @@ endif
|
||||
ifndef INSTALL_DATADIR
|
||||
INSTALL_DATADIR=$(INSTALL_BASEDIR)
|
||||
endif
|
||||
ifndef INSTALL_SHAREDDIR
|
||||
INSTALL_SHAREDDIR=$(INSTALL_PREFIX)/lib
|
||||
endif
|
||||
ifdef CROSSCOMPILE
|
||||
ifndef CROSSBINDIR
|
||||
CROSSBINDIR:=$(wildcard $(CROSSTARGETDIR)/bin/$(SOURCESUFFIX))
|
||||
@ -661,6 +670,7 @@ ASMEXT=.s
|
||||
SMARTEXT=.sl
|
||||
STATICLIBEXT=.a
|
||||
SHAREDLIBEXT=.so
|
||||
SHAREDLIBPREFIX=libfp
|
||||
STATICLIBPREFIX=libp
|
||||
RSTEXT=.rst
|
||||
ifeq ($(findstring 1.0.,$(FPC_VERSION)),)
|
||||
@ -1293,6 +1303,14 @@ ifeq ($(FPC_VERSION),1.0.6)
|
||||
override FPCOPTDEF+=HASUNIX
|
||||
endif
|
||||
endif
|
||||
ifdef CREATESHARED
|
||||
override FPCOPT+=-Cg
|
||||
ifeq ($(CPU_TARGET),i386)
|
||||
override FPCOPT+=-Aas
|
||||
endif
|
||||
endif
|
||||
ifdef LINKSHARED
|
||||
endif
|
||||
ifdef OPT
|
||||
override FPCOPT+=$(OPT)
|
||||
endif
|
||||
@ -1772,6 +1790,16 @@ TARGET_DIRS_PACKAGES=1
|
||||
TARGET_DIRS_IDE=1
|
||||
TARGET_DIRS_INSTALLER=1
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-darwin)
|
||||
TARGET_DIRS_COMPILER=1
|
||||
TARGET_DIRS_RTL=1
|
||||
TARGET_DIRS_UTILS=1
|
||||
TARGET_DIRS_FCL=1
|
||||
TARGET_DIRS_FV=1
|
||||
TARGET_DIRS_PACKAGES=1
|
||||
TARGET_DIRS_IDE=1
|
||||
TARGET_DIRS_INSTALLER=1
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-emx)
|
||||
TARGET_DIRS_COMPILER=1
|
||||
TARGET_DIRS_RTL=1
|
||||
@ -2002,6 +2030,16 @@ TARGET_DIRS_PACKAGES=1
|
||||
TARGET_DIRS_IDE=1
|
||||
TARGET_DIRS_INSTALLER=1
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-palmos)
|
||||
TARGET_DIRS_COMPILER=1
|
||||
TARGET_DIRS_RTL=1
|
||||
TARGET_DIRS_UTILS=1
|
||||
TARGET_DIRS_FCL=1
|
||||
TARGET_DIRS_FV=1
|
||||
TARGET_DIRS_PACKAGES=1
|
||||
TARGET_DIRS_IDE=1
|
||||
TARGET_DIRS_INSTALLER=1
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-wince)
|
||||
TARGET_DIRS_COMPILER=1
|
||||
TARGET_DIRS_RTL=1
|
||||
@ -2495,7 +2533,7 @@ install: $(BUILDSTAMP)
|
||||
$(MAKE) installother $(INSTALLOPTS)
|
||||
singlezipinstall: zipinstall
|
||||
zipinstall: $(BUILDSTAMP)
|
||||
$(MAKE) fpc_zipinstall ZIPTARGET=install ZIPNAME=fpc-$(PACKAGE_VERSION) $(INSTALLOPTS)
|
||||
$(MAKE) fpc_zipinstall ZIPTARGET=install FULLZIPNAME=fpc-$(PACKAGE_VERSION).$(TARGETSUFFIX) $(INSTALLOPTS)
|
||||
.PHONY: crossall crossinstall crosszipinstall crosssinglezipinstall
|
||||
crossall:
|
||||
$(MAKE) all CROSSINSTALL=1
|
||||
|
@ -317,7 +317,7 @@ install: $(BUILDSTAMP)
|
||||
|
||||
singlezipinstall: zipinstall
|
||||
zipinstall: $(BUILDSTAMP)
|
||||
$(MAKE) fpc_zipinstall ZIPTARGET=install ZIPNAME=fpc-$(PACKAGE_VERSION) $(INSTALLOPTS)
|
||||
$(MAKE) fpc_zipinstall ZIPTARGET=install FULLZIPNAME=fpc-$(PACKAGE_VERSION).$(TARGETSUFFIX) $(INSTALLOPTS)
|
||||
|
||||
|
||||
##########################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user