* 0.99.12b release updates

This commit is contained in:
peter 1999-07-22 16:18:07 +00:00
parent 054eecc556
commit 315bb3b1a6

View File

@ -1,254 +1,257 @@
# #
# $Id$ # $Id$
# This file is part of the Free Pascal run time library. # This file is part of the Free Pascal run time library.
# Copyright (c) 1996-98 by Michael van Canneyt # Copyright (c) 1996-98 by Michael van Canneyt
# #
# Makefile for the Free Pascal Installation Helpers # Makefile for the Free Pascal Installation Helpers
# #
# See the file COPYING.FPC, included in this distribution, # See the file COPYING.FPC, included in this distribution,
# for details about the copyright. # for details about the copyright.
# #
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# #
##################################################################### #####################################################################
# Defaults # Defaults
##################################################################### #####################################################################
# Default place of the makefile.fpc # Default place of the makefile.fpc
DEFAULTFPCDIR=.. DEFAULTFPCDIR=..
# Test dir if none specified # Test dir if none specified
ifndef BASEINSTALLDIR ifndef BASEINSTALLDIR
BASEINSTALLDIR=/pptest BASEINSTALLDIR=/pptest
endif endif
##################################################################### #####################################################################
# Real targets # Real targets
##################################################################### #####################################################################
UNITOBJECTS= UNITOBJECTS=
EXEOBJECTS= EXEOBJECTS=
##################################################################### #####################################################################
# Common targets # Common targets
##################################################################### #####################################################################
all: all:
@echo @echo
@echo Possible targets are: @echo Possible targets are:
@echo @echo
@echo basego32, basego32.zip @echo basego32, basego32.zip
@echo basew32, basew32.zip @echo basew32, basew32.zip
@echo @echo
@exit @exit
##################################################################### #####################################################################
# Include default makefile # Include default makefile
##################################################################### #####################################################################
# test if FPCMAKE is still valid # test if FPCMAKE is still valid
ifdef FPCMAKE ifdef FPCMAKE
ifeq ($(strip $(wildcard $(FPCMAKE))),) ifeq ($(strip $(wildcard $(FPCMAKE))),)
FPCDIR= FPCDIR=
FPCMAKE= FPCMAKE=
endif endif
endif endif
ifndef FPCDIR ifndef FPCDIR
ifdef DEFAULTFPCDIR ifdef DEFAULTFPCDIR
FPCDIR=$(DEFAULTFPCDIR) FPCDIR=$(DEFAULTFPCDIR)
endif endif
endif endif
ifndef FPCMAKE ifndef FPCMAKE
ifdef FPCDIR ifdef FPCDIR
FPCMAKE=$(FPCDIR)/makefile.fpc FPCMAKE=$(FPCDIR)/makefile.fpc
else else
FPCMAKE=makefile.fpc FPCMAKE=makefile.fpc
endif endif
endif endif
override FPCMAKE:=$(strip $(wildcard $(FPCMAKE))) override FPCMAKE:=$(strip $(wildcard $(FPCMAKE)))
ifeq ($(FPCMAKE),) ifeq ($(FPCMAKE),)
testfpcmake: testfpcmake:
@echo makefile.fpc not found! @echo makefile.fpc not found!
@echo Check the FPCMAKE and FPCDIR environment variables. @echo Check the FPCMAKE and FPCDIR environment variables.
@exit @exit
else else
include $(FPCMAKE) include $(FPCMAKE)
testfpcmake: testfpcmake:
endif endif
##################################################################### #####################################################################
# Dependencies # Dependencies
##################################################################### #####################################################################
# Directory to the base of the CVS tree # Directory to the base of the CVS tree
CVSBASE=.. CVSBASE=..
CFG=$(CVSBASE)/rtl/cfg CFG=$(CVSBASE)/rtl/cfg
# Temporary path to pack a file # Temporary path to pack a file
PACKDIR=$(subst \,/,$(TMP))/pp_tmp PACKDIR=$(subst \,/,$(TMP))/pp_tmp
# Use new ppc386 # Use new ppc386
PPNEW=$(BASEDIR)/$(CVSBASE)/compiler/ppc386.exe PPNEW=$(BASEDIR)/$(CVSBASE)/compiler/ppc386.exe
# Test dir if none specified # Test dir if none specified
ifndef PACKAGEDIR ifndef PACKAGEDIR
PACKAGEDIR=$(BASEDIR) PACKAGEDIR=$(BASEDIR)
endif endif
########################################################################## ##########################################################################
# Default target # Default target
########################################################################## ##########################################################################
.PHONY: all clean basego32 basew32 .PHONY: all clean basego32 basew32
clean: clean:
-$(DEL) *.tpu install.exe install.dat -$(DEL) *.tpu install.exe install.dat
########################################################################## ##########################################################################
# Install # Install
########################################################################## ##########################################################################
installer: installer:
$(MAKE) -C $(CVSBASE)/rtl/go32v2 all RELEASE=1 $(MAKE) -C $(CVSBASE)/rtl/go32v2 all RELEASE=1
$(MAKE) -C $(CVSBASE)/api all RELEASE=1 $(MAKE) -C $(CVSBASE)/api all RELEASE=1
$(MAKE) -C $(CVSBASE)/fv all RELEASE=1 $(MAKE) -C $(CVSBASE)/fv all RELEASE=1
$(MAKE) -C fpinst all RELEASE=1 $(MAKE) -C fpinst all RELEASE=1
########################################################################## ##########################################################################
# Basego32.zip # Basego32.zip
########################################################################## ##########################################################################
basego32: basego32:
# create dirs # create dirs
$(MKDIR) $(BASEINSTALLDIR) $(MKDIR) $(BASEINSTALLDIR)
$(MKDIR) $(DOCINSTALLDIR) $(MKDIR) $(DOCINSTALLDIR)
$(MKDIR) $(BININSTALLDIR) $(MKDIR) $(BININSTALLDIR)
$(MKDIR) $(SOURCEINSTALLDIR) $(MKDIR) $(SOURCEINSTALLDIR)
# readme & whatsnew and docs # readme & whatsnew and docs
$(COPY) doc/*.txt doc/COPYING* $(DOCINSTALLDIR) $(COPY) doc/*.txt doc/copying* $(DOCINSTALLDIR)
# bingo32 (cwsdpmi,wmemu387.dxe) # bingo32 (cwsdpmi,wmemu387.dxe)
$(COPY) bingo32/* $(BININSTALLDIR) $(COPY) bingo32/* $(BININSTALLDIR)
# source (base) # source (base)
$(COPY) $(CVSBASE)/base/Makefile $(CVSBASE)/base/makefile.fpc $(SOURCEINSTALLDIR) $(COPY) $(CVSBASE)/base/Makefile $(CVSBASE)/base/makefile.fpc $(SOURCEINSTALLDIR)
# compiler # compiler
make -C $(CVSBASE)/compiler cycle OS_TARGET=go32v2 RELEASE=1 make -C $(CVSBASE)/compiler cycle OS_TARGET=go32v2 RELEASE=1
make -C $(CVSBASE)/compiler install OS_TARGET=go32v2 make -C $(CVSBASE)/compiler install OS_TARGET=go32v2
# rtl go32v2 # rtl go32v2
make -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=go32v2 make -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=go32v2
make -C $(CVSBASE)/rtl/go32v2 install OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW) make -C $(CVSBASE)/rtl/go32v2 install OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW)
# rtl go32v2 libs # rtl go32v2 libs
make -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=go32v2 # make -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=go32v2
make -C $(CVSBASE)/rtl/go32v2 libinstall OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW) # make -C $(CVSBASE)/rtl/go32v2 libinstall OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW)
# utils # utils
make -C $(CVSBASE)/utils clean OS_TARGET=go32v2 make -C $(CVSBASE)/utils clean OS_TARGET=go32v2
make -C $(CVSBASE)/utils install OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW) make -C $(CVSBASE)/utils all OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW)
make -C $(CVSBASE)/utils install OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW)
basego32.zip:
make basego32 BASEINSTALLDIR=$(PACKDIR) basego32.zip:
cd $(PACKDIR) ; $(ZIPPROG) $(PACKAGEDIR)/basego32.zip * ; cd $(BASEDIR) make basego32 BASEINSTALLDIR=$(PACKDIR)
$(DELTREE) $(PACKDIR) cd $(PACKDIR) ; $(ZIPPROG) $(PACKAGEDIR)/basego32.zip * ; cd $(BASEDIR)
$(DELTREE) $(PACKDIR)
##########################################################################
# basew32.zip ##########################################################################
########################################################################## # basew32.zip
##########################################################################
basew32:
# create dirs basew32:
$(MKDIR) $(BASEINSTALLDIR) # create dirs
$(MKDIR) $(DOCINSTALLDIR) $(MKDIR) $(BASEINSTALLDIR)
$(MKDIR) $(BININSTALLDIR) $(MKDIR) $(DOCINSTALLDIR)
$(MKDIR) $(SOURCEINSTALLDIR) $(MKDIR) $(BININSTALLDIR)
# readme & whatsnew and docs $(MKDIR) $(SOURCEINSTALLDIR)
$(COPY) doc/*.txt doc/COPYING* $(DOCINSTALLDIR) # readme & whatsnew and docs
# source (base) $(COPY) doc/*.txt doc/copying* $(DOCINSTALLDIR)
$(COPY) $(CVSBASE)/base/Makefile $(CVSBASE)/base/makefile.fpc $(SOURCEINSTALLDIR) # source (base)
# readme.txt & whatsnew.txt $(COPY) $(CVSBASE)/base/Makefile $(CVSBASE)/base/makefile.fpc $(SOURCEINSTALLDIR)
$(MKDIR) $(BASEINSTALLDIR) # readme.txt & whatsnew.txt
$(COPY) readme.txt whatsnew.txt $(BASEINSTALLDIR) $(MKDIR) $(BASEINSTALLDIR)
# compiler, the - is necessary because the files sometimes differ $(COPY) readme.txt whatsnew.txt $(BASEINSTALLDIR)
-make -C $(CVSBASE)/compiler cycle OS_TARGET=win32 RELEASE=1 # compiler, the - is necessary because the files sometimes differ
make -C $(CVSBASE)/compiler install OS_TARGET=win32 -make -C $(CVSBASE)/compiler cycle OS_TARGET=win32 RELEASE=1
# rtl make -C $(CVSBASE)/compiler install OS_TARGET=win32
make -C $(CVSBASE)/rtl/win32 clean OS_TARGET=win32 # rtl
make -C $(CVSBASE)/rtl/win32 install OS_TARGET=win32 RELEASE=1 PP=$(PPNEW) make -C $(CVSBASE)/rtl/win32 clean OS_TARGET=win32
# rtl libs make -C $(CVSBASE)/rtl/win32 install OS_TARGET=win32 RELEASE=1 PP=$(PPNEW)
make -C $(CVSBASE)/rtl/win32 clean OS_TARGET=win32 # rtl libs
make -C $(CVSBASE)/rtl/win32 libinstall OS_TARGET=win32 RELEASE=1 PP=$(PPNEW) # make -C $(CVSBASE)/rtl/win32 clean OS_TARGET=win32
# utils # make -C $(CVSBASE)/rtl/win32 libinstall OS_TARGET=win32 RELEASE=1 PP=$(PPNEW)
make -C $(CVSBASE)/utils clean OS_TARGET=win32 # utils
make -C $(CVSBASE)/utils install OS_TARGET=win32 RELEASE=1 PP=$(PPNEW) make -C $(CVSBASE)/utils clean OS_TARGET=win32
make -C $(CVSBASE)/utils install OS_TARGET=win32 RELEASE=1 PP=$(PPNEW)
basew32.zip:
make basew32 BASEINSTALLDIR=$(PACKDIR) basew32.zip:
$(MKDIR) $(PACKAGEDIR) make basew32 BASEINSTALLDIR=$(PACKDIR)
# Maybe you need 4dos for it, becuase unix paths with / are used $(MKDIR) $(PACKAGEDIR)
cd $(PACKDIR) # Maybe you need 4dos for it, becuase unix paths with / are used
$(ZIPPROG) $(PACKAGEDIR)/basew32.zip * cd $(PACKDIR)
cd $(BASEDIR) $(ZIPPROG) $(PACKAGEDIR)/basew32.zip *
$(DELTREE) $(PACKDIR) cd $(BASEDIR)
$(DELTREE) $(PACKDIR)
##########################################################################
# Baseemx.zip ##########################################################################
########################################################################## # Baseemx.zip
##########################################################################
baseemx:
# create dirs baseemx:
$(MKDIR) $(BASEINSTALLDIR) # create dirs
$(MKDIR) $(DOCINSTALLDIR) $(MKDIR) $(BASEINSTALLDIR)
$(MKDIR) $(BININSTALLDIR) $(MKDIR) $(DOCINSTALLDIR)
$(MKDIR) $(SOURCEINSTALLDIR) $(MKDIR) $(BININSTALLDIR)
# readme & whatsnew and docs $(MKDIR) $(SOURCEINSTALLDIR)
$(COPY) doc/*.txt doc/COPYING* $(DOCINSTALLDIR) # readme & whatsnew and docs
# source (base) $(COPY) doc/*.txt doc/copying* $(DOCINSTALLDIR)
$(COPY) $(CVSBASE)/base/Makefile $(CVSBASE)/base/makefile.fpc $(SOURCEINSTALLDIR) # source (base)
# compiler $(COPY) $(CVSBASE)/base/Makefile $(CVSBASE)/base/makefile.fpc $(SOURCEINSTALLDIR)
make -C $(CVSBASE)/compiler cycle OS_TARGET=os2 RELEASE=1 # compiler
make -C $(CVSBASE)/compiler install OS_TARGET=os2 make -C $(CVSBASE)/compiler cycle OS_TARGET=os2 RELEASE=1
# rtl os2 make -C $(CVSBASE)/compiler install OS_TARGET=os2
make -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=os2 # rtl os2
make -C $(CVSBASE)/rtl/go32v2 install OS_TARGET=os2 RELEASE=1 PP=$(PPNEW) make -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=os2
# rtl go32v2 libs make -C $(CVSBASE)/rtl/go32v2 install OS_TARGET=os2 RELEASE=1 PP=$(PPNEW)
# make -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=go32v2 # rtl go32v2 libs
# make -C $(CVSBASE)/rtl/go32v2 libinstall OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW) # make -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=go32v2
# utils # make -C $(CVSBASE)/rtl/go32v2 libinstall OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW)
make -C $(CVSBASE)/utils clean OS_TARGET=os2 # utils
make -C $(CVSBASE)/utils install OS_TARGET=os2 RELEASE=1 PP=$(PPNEW) make -C $(CVSBASE)/utils clean OS_TARGET=os2
make -C $(CVSBASE)/utils install OS_TARGET=os2 RELEASE=1 PP=$(PPNEW)
baseemx.zip:
make baseemx BASEINSTALLDIR=$(PACKDIR) baseemx.zip:
cd $(PACKDIR) ; $(ZIPPROG) $(PACKAGEDIR)/baseemx.zip * ; cd $(BASEDIR) make baseemx BASEINSTALLDIR=$(PACKDIR)
$(DELTREE) $(PACKDIR) cd $(PACKDIR) ; $(ZIPPROG) $(PACKAGEDIR)/baseemx.zip * ; cd $(BASEDIR)
$(DELTREE) $(PACKDIR)
#
#
# $Log$ # $Log$
# Revision 1.5 1999-06-11 13:58:35 peter # Revision 1.6 1999-07-22 16:18:07 peter
# * moved .txt to doc/ # * 0.99.12b release updates
# #
# Revision 1.4 1999/06/11 13:03:51 peter # Revision 1.5 1999/06/11 13:58:35 peter
# * os2 update, readme,whatsnew in doc/ dir # * moved .txt to doc/
# C #
# # Revision 1.4 1999/06/11 13:03:51 peter
# Revision 1.3 1999/05/30 11:34:33 peter # * os2 update, readme,whatsnew in doc/ dir
# * updates to generate the installer #
# # Revision 1.3 1999/05/30 11:34:33 peter
# Revision 1.2 1999/05/03 18:04:37 peter # * updates to generate the installer
# * updates #
# # Revision 1.2 1999/05/03 18:04:37 peter
# Revision 1.1 1998/09/16 16:46:36 peter # * updates
# + updates #
# # Revision 1.1 1998/09/16 16:46:36 peter
# # + updates
#
#