mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 19:29:18 +02:00
- obsolete
This commit is contained in:
parent
de4cf49059
commit
b849ea0630
@ -1,99 +0,0 @@
|
|||||||
#######################################################################
|
|
||||||
# Makefile for Free Pascal
|
|
||||||
# (C) 1998 Michael van Canneyt
|
|
||||||
#######################################################################
|
|
||||||
#
|
|
||||||
# Configurable section
|
|
||||||
#
|
|
||||||
|
|
||||||
# What Compiler should we use ?
|
|
||||||
PP=ppc386
|
|
||||||
|
|
||||||
# Where are the Free Pascal units ? (Optional)
|
|
||||||
#UNITDIR = c:/pp/units/dos/go32v2
|
|
||||||
|
|
||||||
# Processor you are using
|
|
||||||
CPU=i386
|
|
||||||
#CPU=m68k
|
|
||||||
|
|
||||||
# Any options you wish to pass to the compiler
|
|
||||||
OPT=
|
|
||||||
|
|
||||||
# Where to install the units ?
|
|
||||||
UNITINSTALLDIR=c:/pp/units/fcl
|
|
||||||
|
|
||||||
# Where to install the programs ?
|
|
||||||
BININSTALLDIR=/pp/bin
|
|
||||||
|
|
||||||
# Install program ?
|
|
||||||
INSTALL=cp
|
|
||||||
|
|
||||||
# Mkdir program ?
|
|
||||||
MKDIR=mkdir
|
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# End of configurable section. Do not edit below this line.
|
|
||||||
#######################################################################
|
|
||||||
|
|
||||||
.SUFFIXES: .pp .ppu .pas
|
|
||||||
.PHONY: all install clean units progs
|
|
||||||
|
|
||||||
INCDIR=../../inc
|
|
||||||
CPUDIR=../../$(CPU)
|
|
||||||
|
|
||||||
include $(INCDIR)/Makefile.inc
|
|
||||||
|
|
||||||
# Set inc
|
|
||||||
INCFILENAMES=$(addprefix $(INCDIR)/,$(INCNAMES))
|
|
||||||
|
|
||||||
# If nothing special needs doing, then just fill in the names here.
|
|
||||||
# The rest should be automatic.
|
|
||||||
UNITNAMES=classes
|
|
||||||
#PROGNAMES=
|
|
||||||
UNITOBJECTS=$(addsuffix .o, $(UNITNAMES))
|
|
||||||
UNITFILES=$(addsuffix .ppu, $(UNITNAMES))
|
|
||||||
PROGSOURCES=$(addsiffix .pp, $(PROGNAMES))
|
|
||||||
PROGOBJECTS=$(addsuffix .o, $(PROGNAMES))
|
|
||||||
|
|
||||||
# Adapt options. Add unit path if needed.
|
|
||||||
override OPT:=$(OPT) -S2 -I$(INCDIR) -I$(CPUDIR)
|
|
||||||
|
|
||||||
ifdef UNITDIR
|
|
||||||
override OPT:=$(OPT) -Up$(UNITDIR)
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
# Default rule for units
|
|
||||||
.pp.ppu:
|
|
||||||
$(PP) $(OPT) $<
|
|
||||||
|
|
||||||
# Default target.
|
|
||||||
all: $(UNITFILES) $(PROGNAMES)
|
|
||||||
|
|
||||||
units: $(UNITFILES)
|
|
||||||
|
|
||||||
progs: $(PROGNAMES)
|
|
||||||
|
|
||||||
# Default rule for programs
|
|
||||||
$(PROGNAMES): %:%.pp
|
|
||||||
$(PP) $(OPT) $<
|
|
||||||
|
|
||||||
classes.ppu: classes.pp $(INCFILENAMES) $(PROCFILENAMES)
|
|
||||||
|
|
||||||
#
|
|
||||||
# Generic install and clean targets
|
|
||||||
#
|
|
||||||
|
|
||||||
install: all
|
|
||||||
$(MKDIR) $(UNITINSTALLDIR)
|
|
||||||
ifdef UNITNAMES
|
|
||||||
$(INSTALL) $(UNITNAMES) $(UNITINSTALLDIR)
|
|
||||||
endif
|
|
||||||
ifdef PROGNAMES
|
|
||||||
$(INSTALL) $(PROGNAMES) $(BININSTALLDIR)
|
|
||||||
endif
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f $(UNITOBJECTS) $(UNITFILES) $(PROGNAMES) $(PROGOBJECTS)
|
|
||||||
|
|
||||||
# End of makefile.
|
|
@ -1,48 +0,0 @@
|
|||||||
{
|
|
||||||
$Id$
|
|
||||||
This file is part of the Free Component Library (FCL)
|
|
||||||
Copyright (c) 1998 by Michael Van Canneyt and Florian Klaempfl
|
|
||||||
|
|
||||||
See the file COPYING.FPC, included in this distribution,
|
|
||||||
for details about the copyright.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
|
|
||||||
**********************************************************************}
|
|
||||||
|
|
||||||
{ exceptions aren't implemented yet in the compiler }
|
|
||||||
{$define NoExceptions}
|
|
||||||
|
|
||||||
{ determine the type of the resource/form file }
|
|
||||||
{$define Win16Res}
|
|
||||||
unit Classes;
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
objpas,dos,strings;
|
|
||||||
|
|
||||||
{$i classesh.inc}
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
{$i classes.inc}
|
|
||||||
|
|
||||||
end.
|
|
||||||
|
|
||||||
{
|
|
||||||
$Log$
|
|
||||||
Revision 1.4 1998-09-30 13:41:02 florian
|
|
||||||
* fixes to make it compilable
|
|
||||||
|
|
||||||
Revision 1.3 1998/05/06 13:00:25 michael
|
|
||||||
+ Added strings to uses clause, for TStrings class.
|
|
||||||
|
|
||||||
Revision 1.2 1998/05/04 14:31:51 michael
|
|
||||||
+ Split classes file.
|
|
||||||
|
|
||||||
Revision 1.1 1998/05/04 12:16:01 florian
|
|
||||||
+ Initial revisions after making a new directory structure
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user