Browse Source

* math.rst added

peter 25 years ago
parent
commit
e4472e186e

+ 11 - 0
rtl/go32v2/Makefile

@@ -204,6 +204,7 @@ endif
 
 override LOADEROBJECTS+=prt0 exceptn fpu
 override UNITOBJECTS+=$(SYSTEMUNIT) objpas strings go32 dpmiexcp initc ports profile dxeload emu387 dos crt objects printer graph sysutils math typinfo cpu mmx getopts heaptrc lineinfo msmouse
+override RSTOBJECTS+=math
 
 # Clean
 
@@ -834,6 +835,16 @@ override CLEANPPUFILES+=$(UNITPPUFILES)
 
 fpc_units: $(UNITPPUFILES)
 
+#####################################################################
+# Resource strings
+#####################################################################
+
+ifdef RSTOBJECTS
+override RSTFILES=$(addsuffix $(RSTEXT),$(RSTOBJECTS))
+
+override CLEANRSTFILES+=$(RSTFILES)
+endif
+
 #####################################################################
 # General compile rules
 #####################################################################

+ 1 - 0
rtl/go32v2/Makefile.fpc

@@ -10,6 +10,7 @@ units=$(SYSTEMUNIT) objpas strings \
       sysutils math typinfo \
       cpu mmx getopts heaptrc lineinfo \
       msmouse
+rst=math
 
 [require]
 rtl=0

+ 11 - 0
rtl/linux/Makefile

@@ -203,6 +203,7 @@ endif
 
 override LOADEROBJECTS+=prt0 cprt0 gprt0 cprt21 gprt21
 override UNITOBJECTS+=$(SYSTEMUNIT) objpas strings linux ports initc dos crt objects printer graph ggigraph sysutils typinfo math cpu mmx getopts heaptrc lineinfo errors sockets gpm ipc serial
+override RSTOBJECTS+=math
 
 # Clean
 
@@ -836,6 +837,16 @@ override CLEANPPUFILES+=$(UNITPPUFILES)
 
 fpc_units: $(UNITPPUFILES)
 
+#####################################################################
+# Resource strings
+#####################################################################
+
+ifdef RSTOBJECTS
+override RSTFILES=$(addsuffix $(RSTEXT),$(RSTOBJECTS))
+
+override CLEANRSTFILES+=$(RSTFILES)
+endif
+
 #####################################################################
 # General compile rules
 #####################################################################

+ 1 - 0
rtl/linux/Makefile.fpc

@@ -10,6 +10,7 @@ units=$(SYSTEMUNIT) objpas strings \
       sysutils typinfo math \
       cpu mmx getopts heaptrc lineinfo \
       errors sockets gpm ipc serial
+rst=math
 
 [require]
 rtl=0

+ 11 - 0
rtl/os2/Makefile

@@ -194,6 +194,7 @@ endif
 
 override LOADEROBJECTS+=prt0 prt1 code2 code3
 override UNITOBJECTS+=$(SYSTEMUNIT) objpas strings ports os2def doscalls moncalls kbdcalls moucalls viocalls pmbitmap pmwin pmgpi dive pmerr dos crt objects printer sysutils math typinfo ucomplex cpu mmx getopts heaptrc lineinfo
+override RSTOBJECTS+=math
 
 # Clean
 
@@ -824,6 +825,16 @@ override CLEANPPUFILES+=$(UNITPPUFILES)
 
 fpc_units: $(UNITPPUFILES)
 
+#####################################################################
+# Resource strings
+#####################################################################
+
+ifdef RSTOBJECTS
+override RSTFILES=$(addsuffix $(RSTEXT),$(RSTOBJECTS))
+
+override CLEANRSTFILES+=$(RSTFILES)
+endif
+
 #####################################################################
 # General compile rules
 #####################################################################

+ 1 - 0
rtl/os2/Makefile.fpc

@@ -10,6 +10,7 @@ units=$(SYSTEMUNIT) objpas strings \
       dos crt objects printer \
       sysutils math typinfo \
       ucomplex cpu mmx getopts heaptrc lineinfo
+rst=math
 
 [require]
 rtl=0

+ 11 - 0
rtl/win32/Makefile

@@ -199,6 +199,7 @@ endif
 
 override LOADEROBJECTS+=wprt0 wdllprt0
 override UNITOBJECTS+=$(SYSTEMUNIT) objpas strings windows ole2 opengl32 os_types winsock initc dos crt objects graph sysutils typinfo math cpu mmx getopts heaptrc lineinfo wincrt winmouse sockets printer
+override RSTOBJECTS+=math
 
 # Clean
 
@@ -829,6 +830,16 @@ override CLEANPPUFILES+=$(UNITPPUFILES)
 
 fpc_units: $(UNITPPUFILES)
 
+#####################################################################
+# Resource strings
+#####################################################################
+
+ifdef RSTOBJECTS
+override RSTFILES=$(addsuffix $(RSTEXT),$(RSTOBJECTS))
+
+override CLEANRSTFILES+=$(RSTFILES)
+endif
+
 #####################################################################
 # General compile rules
 #####################################################################

+ 1 - 0
rtl/win32/Makefile.fpc

@@ -10,6 +10,7 @@ units=$(SYSTEMUNIT) objpas strings \
       sysutils typinfo math \
       cpu mmx getopts heaptrc lineinfo \
       wincrt winmouse sockets printer
+rst=math
 
 [require]
 rtl=0