mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 00:59:08 +02:00
+ utils_X targets
* missing export of prefixinstalldir
This commit is contained in:
parent
3a56cae749
commit
23a0e8a992
@ -16,12 +16,20 @@
|
|||||||
# Config
|
# Config
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
MODULES=compiler rtl api fv gdb ide
|
MODULES=rtl compiler utils api fv gdb ide
|
||||||
|
|
||||||
ifndef RTLDIR
|
ifndef RTLDIR
|
||||||
RTLDIR=rtl
|
RTLDIR=rtl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef COMPILERDIR
|
||||||
|
COMPILERDIR=utils
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifndef UTILSDIR
|
||||||
|
UTILSDIR=utils
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef FCLDIR
|
ifndef FCLDIR
|
||||||
FCLDIR=fcl
|
FCLDIR=fcl
|
||||||
endif
|
endif
|
||||||
@ -144,27 +152,6 @@ endif
|
|||||||
# Dependencies
|
# Dependencies
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
#######################################
|
|
||||||
# Compiler
|
|
||||||
#######################################
|
|
||||||
|
|
||||||
compiler_all:
|
|
||||||
$(MAKE) -C compiler cycle
|
|
||||||
|
|
||||||
compiler_clean:
|
|
||||||
$(MAKE) -C compiler clean
|
|
||||||
|
|
||||||
compiler_install:
|
|
||||||
$(MAKE) -C compiler install
|
|
||||||
|
|
||||||
compiler_installlib:
|
|
||||||
$(MAKE) -C compiler installlib
|
|
||||||
|
|
||||||
compiler_staticinstall:
|
|
||||||
|
|
||||||
compiler_sharedinstall:
|
|
||||||
|
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
# RTL
|
# RTL
|
||||||
#######################################
|
#######################################
|
||||||
@ -187,6 +174,48 @@ rtl_sharedinstall:
|
|||||||
$(MAKE) -C $(RTLDIR) sharedlibinstall
|
$(MAKE) -C $(RTLDIR) sharedlibinstall
|
||||||
|
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Compiler
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
compiler_all: rtl_all
|
||||||
|
$(MAKE) -C $(COMPILERDIR) all
|
||||||
|
|
||||||
|
compiler_clean:
|
||||||
|
$(MAKE) -C $(COMPILERDIR) clean
|
||||||
|
|
||||||
|
compiler_install:
|
||||||
|
$(MAKE) -C $(COMPILERDIR) install
|
||||||
|
|
||||||
|
compiler_installlib:
|
||||||
|
$(MAKE) -C $(COMPILERDIR) installlib
|
||||||
|
|
||||||
|
compiler_staticinstall:
|
||||||
|
|
||||||
|
compiler_sharedinstall:
|
||||||
|
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Utils
|
||||||
|
#######################################
|
||||||
|
|
||||||
|
utils_all: rtl_all
|
||||||
|
$(MAKE) -C $(UTILSDIR) all
|
||||||
|
|
||||||
|
utils_clean:
|
||||||
|
$(MAKE) -C $(UTILSDIR) clean
|
||||||
|
|
||||||
|
utils_install:
|
||||||
|
$(MAKE) -C $(UTILSDIR) install
|
||||||
|
|
||||||
|
utils_installlib:
|
||||||
|
$(MAKE) -C $(UTILSDIR) installlib
|
||||||
|
|
||||||
|
utils_staticinstall:
|
||||||
|
|
||||||
|
utils_sharedinstall:
|
||||||
|
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
# FCL
|
# FCL
|
||||||
#######################################
|
#######################################
|
||||||
@ -385,12 +414,20 @@ gtkzip: rtl_clean gtk_clean
|
|||||||
|
|
||||||
compilerzip: compiler_clean rtl_clean
|
compilerzip: compiler_clean rtl_clean
|
||||||
$(MAKE) compiler_all
|
$(MAKE) compiler_all
|
||||||
$(MAKE) -C compiler fpc_zipinstall ZIPTARGET=quickinstall ZIPNAME=compiler-$(PACKAGESUFFIX)
|
$(MAKE) -C $(COMPILERDIR) fpc_zipinstall ZIPTARGET=quickinstall ZIPNAME=compiler-$(PACKAGESUFFIX)
|
||||||
$(MAKE) -C $(RTLDIR) fpc_zipinstalladd ZIPNAME=compiler-$(PACKAGESUFFIX)
|
$(MAKE) -C $(RTLDIR) fpc_zipinstalladd ZIPNAME=compiler-$(PACKAGESUFFIX)
|
||||||
|
|
||||||
|
utilszip: utils_clean rtl_clean
|
||||||
|
$(MAKE) utils_all
|
||||||
|
$(MAKE) -C $(UTILSDIR) fpc_zipinstall ZIPNAME=utils-$(PACKAGESUFFIX)
|
||||||
|
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
# Revision 1.14 1999-04-21 10:25:39 michael
|
# Revision 1.15 1999-05-12 16:17:06 peter
|
||||||
|
# + utils_X targets
|
||||||
|
# * missing export of prefixinstalldir
|
||||||
|
#
|
||||||
|
# Revision 1.14 1999/04/21 10:25:39 michael
|
||||||
# + Split idezips target
|
# + Split idezips target
|
||||||
#
|
#
|
||||||
# Revision 1.13 1999/04/19 12:53:02 peter
|
# Revision 1.13 1999/04/19 12:53:02 peter
|
||||||
|
@ -376,7 +376,7 @@ endif
|
|||||||
# set the directory where to install the binaries
|
# set the directory where to install the binaries
|
||||||
ifndef BININSTALLDIR
|
ifndef BININSTALLDIR
|
||||||
ifdef inlinux
|
ifdef inlinux
|
||||||
BININSTALLDIR=$(BASEINSTALLDIR)/bin
|
BININSTALLDIR=$(PREFIXINSTALLDIR)/bin
|
||||||
else
|
else
|
||||||
BININSTALLDIR=$(BASEINSTALLDIR)/bin/$(OS_TARGET)
|
BININSTALLDIR=$(BASEINSTALLDIR)/bin/$(OS_TARGET)
|
||||||
endif
|
endif
|
||||||
@ -662,10 +662,17 @@ endif
|
|||||||
# Export commandline values, so nesting use the same values
|
# Export commandline values, so nesting use the same values
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
export FPCDIR FPCMAKE FPC_VERSION
|
# Makefile
|
||||||
export RELEASEVER OS_SOURCE OS_TARGET OPT OPTDEF CPU PP RELEASE VERBOSE
|
export FPCDIR FPCMAKE
|
||||||
export SMARTLINK LIBTYPE LIBNAME
|
|
||||||
export BASEINSTALLDIR PACKAGESUFFIX
|
# Compiler info
|
||||||
|
export RELEASEVER FPC_VERSION OS_SOURCE OS_TARGET CPU
|
||||||
|
export OPT OPTDEF PP RELEASE VERBOSE SMARTLINK LIBTYPE LIBNAME
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
export PREFIXINSTALLDIR PACKAGESUFFIX
|
||||||
|
|
||||||
|
# Directories
|
||||||
export GCCLIBDIR OTHERLIBDIR
|
export GCCLIBDIR OTHERLIBDIR
|
||||||
|
|
||||||
|
|
||||||
@ -827,7 +834,7 @@ ifndef ZIPNAME
|
|||||||
@$(ECHO) Please specify ZIPNAME!
|
@$(ECHO) Please specify ZIPNAME!
|
||||||
@exit
|
@exit
|
||||||
else
|
else
|
||||||
$(MAKE) $(ZIPTARGET) BASEINSTALLDIR=$(PACKDIR)
|
$(MAKE) $(ZIPTARGET) PREFIXINSTALLDIR=$(PACKDIR)
|
||||||
ifdef inlinux
|
ifdef inlinux
|
||||||
gzip -d $(PACKAGEDIR)/$(ZIPNAME).tar.gz
|
gzip -d $(PACKAGEDIR)/$(ZIPNAME).tar.gz
|
||||||
cd $(PACKDIR) ; tar rv --file $(PACKAGEDIR)/$(ZIPNAME).tar * ; cd $(BASEDIR)
|
cd $(PACKDIR) ; tar rv --file $(PACKAGEDIR)/$(ZIPNAME).tar * ; cd $(BASEDIR)
|
||||||
@ -845,7 +852,7 @@ ifndef ZIPNAME
|
|||||||
@exit
|
@exit
|
||||||
else
|
else
|
||||||
$(DEL) $(PACKAGEDIR)/$(ZIPNAME)
|
$(DEL) $(PACKAGEDIR)/$(ZIPNAME)
|
||||||
$(MAKE) $(ZIPTARGET) BASEINSTALLDIR=$(PACKDIR)
|
$(MAKE) $(ZIPTARGET) PREFIXINSTALLDIR=$(PACKDIR)
|
||||||
ifdef inlinux
|
ifdef inlinux
|
||||||
cd $(PACKDIR) ; tar cvz --file $(PACKAGEDIR)/$(ZIPNAME).tar.gz * ; cd $(BASEDIR)
|
cd $(PACKDIR) ; tar cvz --file $(PACKAGEDIR)/$(ZIPNAME).tar.gz * ; cd $(BASEDIR)
|
||||||
else
|
else
|
||||||
@ -1012,7 +1019,11 @@ endif
|
|||||||
|
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
# Revision 1.24 1999-05-11 00:48:12 peter
|
# Revision 1.25 1999-05-12 16:17:07 peter
|
||||||
|
# + utils_X targets
|
||||||
|
# * missing export of prefixinstalldir
|
||||||
|
#
|
||||||
|
# Revision 1.24 1999/05/11 00:48:12 peter
|
||||||
# * fixed some typos
|
# * fixed some typos
|
||||||
#
|
#
|
||||||
# Revision 1.23 1999/05/10 15:18:43 peter
|
# Revision 1.23 1999/05/10 15:18:43 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user