mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 19:29:24 +02:00
+ utils_X targets
* missing export of prefixinstalldir
This commit is contained in:
parent
3a56cae749
commit
23a0e8a992
@ -16,12 +16,20 @@
|
||||
# Config
|
||||
#####################################################################
|
||||
|
||||
MODULES=compiler rtl api fv gdb ide
|
||||
MODULES=rtl compiler utils api fv gdb ide
|
||||
|
||||
ifndef RTLDIR
|
||||
RTLDIR=rtl
|
||||
endif
|
||||
|
||||
ifndef COMPILERDIR
|
||||
COMPILERDIR=utils
|
||||
endif
|
||||
|
||||
ifndef UTILSDIR
|
||||
UTILSDIR=utils
|
||||
endif
|
||||
|
||||
ifndef FCLDIR
|
||||
FCLDIR=fcl
|
||||
endif
|
||||
@ -144,27 +152,6 @@ endif
|
||||
# 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
|
||||
#######################################
|
||||
@ -187,6 +174,48 @@ rtl_sharedinstall:
|
||||
$(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
|
||||
#######################################
|
||||
@ -385,12 +414,20 @@ gtkzip: rtl_clean gtk_clean
|
||||
|
||||
compilerzip: compiler_clean rtl_clean
|
||||
$(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)
|
||||
|
||||
utilszip: utils_clean rtl_clean
|
||||
$(MAKE) utils_all
|
||||
$(MAKE) -C $(UTILSDIR) fpc_zipinstall ZIPNAME=utils-$(PACKAGESUFFIX)
|
||||
|
||||
#
|
||||
# $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
|
||||
#
|
||||
# Revision 1.13 1999/04/19 12:53:02 peter
|
||||
|
@ -376,7 +376,7 @@ endif
|
||||
# set the directory where to install the binaries
|
||||
ifndef BININSTALLDIR
|
||||
ifdef inlinux
|
||||
BININSTALLDIR=$(BASEINSTALLDIR)/bin
|
||||
BININSTALLDIR=$(PREFIXINSTALLDIR)/bin
|
||||
else
|
||||
BININSTALLDIR=$(BASEINSTALLDIR)/bin/$(OS_TARGET)
|
||||
endif
|
||||
@ -662,10 +662,17 @@ endif
|
||||
# Export commandline values, so nesting use the same values
|
||||
#####################################################################
|
||||
|
||||
export FPCDIR FPCMAKE FPC_VERSION
|
||||
export RELEASEVER OS_SOURCE OS_TARGET OPT OPTDEF CPU PP RELEASE VERBOSE
|
||||
export SMARTLINK LIBTYPE LIBNAME
|
||||
export BASEINSTALLDIR PACKAGESUFFIX
|
||||
# Makefile
|
||||
export FPCDIR FPCMAKE
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
@ -827,7 +834,7 @@ ifndef ZIPNAME
|
||||
@$(ECHO) Please specify ZIPNAME!
|
||||
@exit
|
||||
else
|
||||
$(MAKE) $(ZIPTARGET) BASEINSTALLDIR=$(PACKDIR)
|
||||
$(MAKE) $(ZIPTARGET) PREFIXINSTALLDIR=$(PACKDIR)
|
||||
ifdef inlinux
|
||||
gzip -d $(PACKAGEDIR)/$(ZIPNAME).tar.gz
|
||||
cd $(PACKDIR) ; tar rv --file $(PACKAGEDIR)/$(ZIPNAME).tar * ; cd $(BASEDIR)
|
||||
@ -845,7 +852,7 @@ ifndef ZIPNAME
|
||||
@exit
|
||||
else
|
||||
$(DEL) $(PACKAGEDIR)/$(ZIPNAME)
|
||||
$(MAKE) $(ZIPTARGET) BASEINSTALLDIR=$(PACKDIR)
|
||||
$(MAKE) $(ZIPTARGET) PREFIXINSTALLDIR=$(PACKDIR)
|
||||
ifdef inlinux
|
||||
cd $(PACKDIR) ; tar cvz --file $(PACKAGEDIR)/$(ZIPNAME).tar.gz * ; cd $(BASEDIR)
|
||||
else
|
||||
@ -1012,7 +1019,11 @@ endif
|
||||
|
||||
#
|
||||
# $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
|
||||
#
|
||||
# Revision 1.23 1999/05/10 15:18:43 peter
|
||||
|
Loading…
Reference in New Issue
Block a user