| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- #
- # Makefile.fpc for Free Component Library
- #
- [defaults]
- defaultrule=help
- [dirs]
- fpcdir=..
- [sections]
- info=0
- [tools]
- toolzip=1
- toolupx=1
- tooldate=1
- [presettings]
- # Test dir if none specified
- ifndef BASEINSTALLDIR
- BASEINSTALLDIR=/pptest
- endif
- # Directory to the base of the CVS tree
- CVSBASE=..
- CFG=$(CVSBASE)/rtl/cfg
- # Temporary path to pack a file
- PACKDIR=$(subst \,/,$(TMP))/pp_tmp
- # Use new ppc386
- PPNEW=$(BASEDIR)/$(CVSBASE)/compiler/ppc386.exe
- # Test dir if none specified
- ifndef PACKAGEDIR
- PACKAGEDIR=$(BASEDIR)
- endif
- [rules]
- help:
- @echo
- @echo Possible targets are:
- @echo
- @echo basego32, basego32.zip
- @echo basew32, basew32.zip
- @echo
- @exit
- ##########################################################################
- # Install
- ##########################################################################
- installer:
- $(MAKE) -C $(CVSBASE)/rtl/go32v2 all RELEASE=1
- $(MAKE) -C $(CVSBASE)/api all RELEASE=1
- $(MAKE) -C $(CVSBASE)/fv all RELEASE=1
- $(MAKE) -C fpinst all RELEASE=1
- ##########################################################################
- # Basego32.zip
- ##########################################################################
- basego32:
- # create dirs
- $(MKDIR) $(BASEINSTALLDIR)
- $(MKDIR) $(DOCINSTALLDIR)
- $(MKDIR) $(BININSTALLDIR)
- $(MKDIR) $(SOURCEINSTALLDIR)
- # readme & whatsnew and docs
- $(COPY) doc/*.txt doc/copying* $(DOCINSTALLDIR)
- # bingo32 (cwsdpmi,wmemu387.dxe)
- $(COPY) bingo32/* $(BININSTALLDIR)
- # source (base)
- $(COPY) $(CVSBASE)/base/Makefile $(CVSBASE)/base/makefile.fpc $(SOURCEINSTALLDIR)
- # compiler
- $(MAKE) -C $(CVSBASE)/compiler cycle OS_TARGET=go32v2 RELEASE=1
- $(MAKE) -C $(CVSBASE)/compiler install OS_TARGET=go32v2
- # rtl go32v2
- $(MAKE) -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=go32v2
- $(MAKE) -C $(CVSBASE)/rtl/go32v2 install OS_TARGET=go32v2 RELEASE=1 FPC=$(PPNEW)
- # rtl go32v2 libs
- # $(MAKE) -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=go32v2
- # $(MAKE) -C $(CVSBASE)/rtl/go32v2 libinstall OS_TARGET=go32v2 RELEASE=1 PP=$(PPNEW)
- # utils
- $(MAKE) -C $(CVSBASE)/utils clean OS_TARGET=go32v2
- $(MAKE) -C $(CVSBASE)/utils all OS_TARGET=go32v2 RELEASE=1 FPC=$(PPNEW)
- $(MAKE) -C $(CVSBASE)/utils install OS_TARGET=go32v2 RELEASE=1 FPC=$(PPNEW)
- basego32.zip:
- $(MAKE) basego32 BASEINSTALLDIR=$(PACKDIR)
- cd $(PACKDIR) ; $(ZIPPROG) $(PACKAGEDIR)/basego32.zip * ; cd $(BASEDIR)
- $(DELTREE) $(PACKDIR)
- ##########################################################################
- # basew32.zip
- ##########################################################################
- basew32:
- # create dirs
- $(MKDIR) $(BASEINSTALLDIR)
- $(MKDIR) $(DOCINSTALLDIR)
- $(MKDIR) $(BININSTALLDIR)
- $(MKDIR) $(SOURCEINSTALLDIR)
- # readme & whatsnew and docs
- $(COPY) doc/*.txt doc/copying* $(DOCINSTALLDIR)
- # source (base)
- $(COPY) $(CVSBASE)/base/Makefile $(CVSBASE)/base/makefile.fpc $(SOURCEINSTALLDIR)
- # readme.txt & whatsnew.txt
- $(MKDIR) $(BASEINSTALLDIR)
- $(COPY) readme.txt whatsnew.txt $(BASEINSTALLDIR)
- # compiler, the - is necessary because the files sometimes differ
- -$(MAKE) -C $(CVSBASE)/compiler cycle OS_TARGET=win32 RELEASE=1
- $(MAKE) -C $(CVSBASE)/compiler install OS_TARGET=win32
- # rtl
- $(MAKE) -C $(CVSBASE)/rtl/win32 clean OS_TARGET=win32
- $(MAKE) -C $(CVSBASE)/rtl/win32 install OS_TARGET=win32 RELEASE=1 FPC=$(PPNEW)
- # rtl libs
- # $(MAKE) -C $(CVSBASE)/rtl/win32 clean OS_TARGET=win32
- # $(MAKE) -C $(CVSBASE)/rtl/win32 libinstall OS_TARGET=win32 RELEASE=1 FPC=$(PPNEW)
- # utils
- $(MAKE) -C $(CVSBASE)/utils clean OS_TARGET=win32
- $(MAKE) -C $(CVSBASE)/utils install OS_TARGET=win32 RELEASE=1 FPC=$(PPNEW)
- basew32.zip:
- $(MAKE) basew32 BASEINSTALLDIR=$(PACKDIR)
- $(MKDIR) $(PACKAGEDIR)
- # Maybe you need 4dos for it, becuase unix paths with / are used
- cd $(PACKDIR)
- $(ZIPPROG) $(PACKAGEDIR)/basew32.zip *
- cd $(BASEDIR)
- $(DELTREE) $(PACKDIR)
- ##########################################################################
- # Baseemx.zip
- ##########################################################################
- baseemx:
- # create dirs
- $(MKDIR) $(BASEINSTALLDIR)
- $(MKDIR) $(DOCINSTALLDIR)
- $(MKDIR) $(BININSTALLDIR)
- $(MKDIR) $(SOURCEINSTALLDIR)
- # readme & whatsnew and docs
- $(COPY) doc/*.txt doc/copying* $(DOCINSTALLDIR)
- # source (base)
- $(COPY) $(CVSBASE)/base/Makefile $(CVSBASE)/base/makefile.fpc $(SOURCEINSTALLDIR)
- # compiler
- $(MAKE) -C $(CVSBASE)/compiler cycle OS_TARGET=os2 RELEASE=1
- $(MAKE) -C $(CVSBASE)/compiler install OS_TARGET=os2
- # rtl os2
- $(MAKE) -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=os2
- $(MAKE) -C $(CVSBASE)/rtl/go32v2 install OS_TARGET=os2 RELEASE=1 FPC=$(PPNEW)
- # rtl go32v2 libs
- # $(MAKE) -C $(CVSBASE)/rtl/go32v2 clean OS_TARGET=go32v2
- # $(MAKE) -C $(CVSBASE)/rtl/go32v2 libinstall OS_TARGET=go32v2 RELEASE=1 FPC=$(PPNEW)
- # utils
- $(MAKE) -C $(CVSBASE)/utils clean OS_TARGET=os2
- $(MAKE) -C $(CVSBASE)/utils install OS_TARGET=os2 RELEASE=1 FPC=$(PPNEW)
- baseemx.zip:
- $(MAKE) baseemx BASEINSTALLDIR=$(PACKDIR)
- cd $(PACKDIR) ; $(ZIPPROG) $(PACKAGEDIR)/baseemx.zip * ; cd $(BASEDIR)
- $(DELTREE) $(PACKDIR)
|