Browse Source

* classes unit to unitobjects

peter 26 years ago
parent
commit
18109ff6ff
6 changed files with 166 additions and 16 deletions
  1. 5 2
      fcl/go32v2/Makefile
  2. 5 2
      fcl/linux/Makefile
  3. 5 8
      fcl/linux/thread.inc
  4. 5 2
      fcl/os2/Makefile
  5. 141 0
      fcl/template/Makefile
  6. 5 2
      fcl/win32/Makefile

+ 5 - 2
fcl/go32v2/Makefile

@@ -46,7 +46,7 @@ DEFAULTUNITS=1
 # They are default units for all platforms.
 # They are default units for all platforms.
 include $(INC)/Makefile.inc
 include $(INC)/Makefile.inc
 
 
-UNITOBJECTS=$(INCUNITS)
+UNITOBJECTS=classes $(INCUNITS)
 EXEOBJECTS=
 EXEOBJECTS=
 
 
 
 
@@ -132,7 +132,10 @@ inifiles$(PPUEXT): classes$(PPUEXT) inifiles$(PASEXT)
 
 
 #
 #
 # $Log$
 # $Log$
-# Revision 1.4  1999-04-22 10:50:44  peter
+# Revision 1.5  1999-05-31 12:47:58  peter
+#   * classes unit to unitobjects
+#
+# Revision 1.4  1999/04/22 10:50:44  peter
 #   * set target always
 #   * set target always
 #
 #
 # Revision 1.3	1999/04/08 10:18:48  peter
 # Revision 1.3	1999/04/08 10:18:48  peter

+ 5 - 2
fcl/linux/Makefile

@@ -46,7 +46,7 @@ DEFAULTUNITS=1
 # They are default units for all platforms.
 # They are default units for all platforms.
 include $(INC)/Makefile.inc
 include $(INC)/Makefile.inc
 
 
-UNITOBJECTS=$(INCUNITS)
+UNITOBJECTS=classes $(INCUNITS)
 EXEOBJECTS=
 EXEOBJECTS=
 
 
 
 
@@ -133,7 +133,10 @@ ezcgi$(PPUEXT): ezcgi$(PASEXT) ezcgi.inc
 
 
 #
 #
 # $Log$
 # $Log$
-# Revision 1.10  1999-04-27 19:13:44  michael
+# Revision 1.11  1999-05-31 12:46:31  peter
+#   * classes unit to unitobjects
+#
+# Revision 1.10  1999/04/27 19:13:44  michael
 # + Added ezcgi from Michael Hess
 # + Added ezcgi from Michael Hess
 #
 #
 # Revision 1.9  1999/04/22 10:50:45  peter
 # Revision 1.9  1999/04/22 10:50:45  peter

+ 5 - 8
fcl/linux/thread.inc

@@ -21,18 +21,12 @@ var
   ThreadRoot : PThreadRec;
   ThreadRoot : PThreadRec;
   ThreadsInited : boolean;
   ThreadsInited : boolean;
 
 
-function StackPointer:longint;assembler;
-asm
-        movl    %esp,%eax
-end;
-
-
 function ThreadSelf:TThread;
 function ThreadSelf:TThread;
 var
 var
   hp : PThreadRec;
   hp : PThreadRec;
   sp : longint;
   sp : longint;
 begin
 begin
-  sp:=StackPointer;
+  sp:=SPtr;
   hp:=ThreadRoot;
   hp:=ThreadRoot;
   while assigned(hp) do
   while assigned(hp) do
    begin
    begin
@@ -264,7 +258,10 @@ end;
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.1  1999-05-30 10:46:42  peter
+  Revision 1.2  1999-05-31 12:47:59  peter
+    * classes unit to unitobjects
+
+  Revision 1.1  1999/05/30 10:46:42  peter
     * start of tthread for linux,win32
     * start of tthread for linux,win32
 
 
 }
 }

+ 5 - 2
fcl/os2/Makefile

@@ -42,7 +42,7 @@ DEFAULTUNITS=1
 # They are default units for all platforms.
 # They are default units for all platforms.
 include $(INC)/Makefile.inc
 include $(INC)/Makefile.inc
 
 
-UNITOBJECTS=$(INCUNITS)
+UNITOBJECTS=classes $(INCUNITS)
 EXEOBJECTS=
 EXEOBJECTS=
 
 
 
 
@@ -126,7 +126,10 @@ classes$(PPUEXT): $(INCFILES) classes$(PASEXT)
 
 
 #
 #
 # $Log$
 # $Log$
-# Revision 1.5  1999-04-08 15:59:54  michael
+# Revision 1.6  1999-05-31 12:48:00  peter
+#   * classes unit to unitobjects
+#
+# Revision 1.5  1999/04/08 15:59:54  michael
 # + INCUNITS added
 # + INCUNITS added
 #
 #
 # Revision 1.8  1999/04/08 15:58:44  michael
 # Revision 1.8  1999/04/08 15:58:44  michael

+ 141 - 0
fcl/template/Makefile

@@ -0,0 +1,141 @@
+#
+#   $Id$
+#   Copyright (c) 1999 by the Free Pascal Development Team
+#
+#   Makefile for Free Component Library for Linux
+#
+#   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.
+#
+
+
+#####################################################################
+# Defaults
+#####################################################################
+
+# Default place of the makefile.fpc
+DEFAULTFPCDIR=../..
+
+# Include files
+INC=../inc
+PROCINC=../$(CPU)
+
+# Where to place the files
+TARGETDIR=.
+
+# We need always -S2
+NEEDOPT=-S2
+
+# As default make only the units
+DEFAULTUNITS=1
+
+
+#####################################################################
+# Real targets
+#####################################################################
+
+# INCUNITS is defined in makefile.inc
+# They are default units for all platforms.
+include $(INC)/Makefile.inc
+
+UNITOBJECTS=classes $(INCUNITS)
+EXEOBJECTS=
+
+
+#####################################################################
+# Common targets
+#####################################################################
+
+.PHONY: all clean install info \
+        staticlib sharedlib libsclean \
+        staticinstall sharedinstall libinstall \
+        
+all: testfpcmake fpc_all
+
+clean: testfpcmake fpc_clean
+
+install: testfpcmake fpc_install
+
+info: testfpcmake fpc_info
+
+staticlib: testfpcmake fpc_staticlib
+
+sharedlib: testfpcmake fpc_sharedlib
+
+libsclean: testfpcmake fpc_libsclean
+
+staticinstall: testfpcmake fpc_staticinstall
+
+sharedinstall: testfpcmake fpc_sharedinstall
+
+libinstall: testfpcmake fpc_libinstall
+
+
+#####################################################################
+# Include default makefile
+#####################################################################
+
+# test if FPCMAKE is still valid
+ifdef FPCMAKE
+ifeq ($(strip $(wildcard $(FPCMAKE))),)
+FPCDIR=
+FPCMAKE=
+endif
+endif
+
+ifndef FPCDIR
+ifdef DEFAULTFPCDIR
+FPCDIR=$(DEFAULTFPCDIR)
+endif
+endif
+
+ifndef FPCMAKE
+ifdef FPCDIR
+FPCMAKE=$(FPCDIR)/makefile.fpc
+else
+FPCMAKE=makefile.fpc
+endif
+endif
+
+override FPCMAKE:=$(strip $(wildcard $(FPCMAKE)))
+ifeq ($(FPCMAKE),)
+testfpcmake:
+	@echo makefile.fpc not found!
+	@echo Check the FPCMAKE and FPCDIR environment variables.
+	@exit
+else
+include $(FPCMAKE)
+testfpcmake:
+endif
+
+
+
+#####################################################################
+# Dependencies
+#####################################################################
+
+vpath %$(PASEXT) $(INC)
+
+INCFILES=$(addprefix $(INC)/,$(INCNAMES))
+
+classes$(PPUEXT): $(INCFILES) classes$(PASEXT)
+
+#
+# $Log$
+# Revision 1.1  1999-05-31 12:48:01  peter
+#   * classes unit to unitobjects
+#
+# Revision 1.5  1999/04/08 15:59:54  michael
+# + INCUNITS added
+#
+# Revision 1.8  1999/04/08 15:58:44  michael
+# + INCUNITS added
+#
+# Revision 1.7  1999/04/08 10:18:59  peter
+#   * makefile updates
+#
+#

+ 5 - 2
fcl/win32/Makefile

@@ -46,7 +46,7 @@ DEFAULTUNITS=1
 # They are default units for all platforms.
 # They are default units for all platforms.
 include $(INC)/Makefile.inc
 include $(INC)/Makefile.inc
 
 
-UNITOBJECTS=$(INCUNITS)
+UNITOBJECTS=classes $(INCUNITS)
 EXEOBJECTS=
 EXEOBJECTS=
 
 
 
 
@@ -134,7 +134,10 @@ ezcgi$(PPUEXT): ezcgi$(PASEXT) ezcgi.inc
 
 
 #
 #
 # $Log$
 # $Log$
-# Revision 1.8  1999-04-27 19:13:45  michael
+# Revision 1.9  1999-05-31 12:48:01  peter
+#   * classes unit to unitobjects
+#
+# Revision 1.8  1999/04/27 19:13:45  michael
 # + Added ezcgi from Michael Hess
 # + Added ezcgi from Michael Hess
 #
 #
 # Revision 1.7  1999/04/22 10:50:46  peter
 # Revision 1.7  1999/04/22 10:50:46  peter