Browse Source

Put unique rule for unicodedata into inc/Makefile.rtl

Pierre Muller 2 years ago
parent
commit
2b82581f92
4 changed files with 15 additions and 9 deletions
  1. 0 3
      rtl/go32v2/Makefile.fpc
  2. 15 0
      rtl/inc/Makefile.rtl
  3. 0 3
      rtl/msxdos/Makefile.fpc
  4. 0 3
      rtl/win16/Makefile.fpc

+ 0 - 3
rtl/go32v2/Makefile.fpc

@@ -238,9 +238,6 @@ fpwidestring$(PPUEXT): $(OBJPASDIR)/fpwidestring.pp charset$(PPUEXT) system$(PPU
 character$(PPUEXT): $(OBJPASDIR)/character.pas sysutils$(PPUEXT) objpas$(PPUEXT) rtlconst$(PPUEXT) unicodedata$(PPUEXT) system$(PPUEXT)
         $(COMPILER) $(OBJPASDIR)/character.pas
 
-unicodedata$(PPUEXT) : $(OBJPASDIR)/unicodedata.pas system$(PPUEXT)
-        $(COMPILER) -Fi$(OBJPASDIR) $(OBJPASDIR)/unicodedata.pas
-
 #
 # Other system-dependent RTL Units
 #

+ 15 - 0
rtl/inc/Makefile.rtl

@@ -1198,6 +1198,21 @@ charset$(PPUEXT) : $(CHARSET_DEPS)
 
 System.CharSet$(PPUEXT) : $(NSINC)/System.CharSet.pp $(CHARSET_DEPS)
 	$(COMPILER) $(CHARSET_OPT) $< 
+
+#
+# unicodedata
+#
+
+UNICODEDATA_DEPS = $(OBJPASDIR)/unicodedata.pas $(OBJPASDIR)/unicodedata.inc \
+		   $(OBJPASDIR)/unicodedata_le.inc $(OBJPASDIR)/unicodedata_be.inc \
+		   $(SYSTEMUNIT)$(PPUEXT)
+
+unicodedata$(PPUEXT) : $(UNICODEDATA_DEPS)
+        $(COMPILER) -Fi$(OBJPASDIR) $(UNICODEDATA_OPT) $<
+
+System.CodePages.unicodedata$(PPUEXT) : $(NSINC)/System.CodePages.unicodedata.pas $(UNICODEDATA_DEPS)
+        $(COMPILER) -Fi$(OBJPASDIR) $(UNICODEDATA_OPT) $<
+
 #
 # cpall (in fact a build unit for all CP_) 
 #

+ 0 - 3
rtl/msxdos/Makefile.fpc

@@ -202,9 +202,6 @@ fpwidestring$(PPUEXT): $(OBJPASDIR)/fpwidestring.pp unicodedata$(PPUEXT) charset
 character$(PPUEXT): $(OBJPASDIR)/character.pas sysutils$(PPUEXT) objpas$(PPUEXT) rtlconsts$(PPUEXT) unicodedata$(PPUEXT) system$(PPUEXT)
         $(COMPILER) $(OBJPASDIR)/character.pas
 
-unicodedata$(PPUEXT) : $(OBJPASDIR)/unicodedata.pas objpas$(PPUEXT) system$(PPUEXT)
-        $(COMPILER) -Fi$(OBJPASDIR) $(OBJPASDIR)/unicodedata.pas
-
 #
 # Other system-dependent RTL Units
 #

+ 0 - 3
rtl/win16/Makefile.fpc

@@ -209,9 +209,6 @@ cpall$(PPUEXT): $(RTL)/charmaps/cpall.pas system$(PPUEXT) charset$(PPUEXT)
 character$(PPUEXT): $(OBJPASDIR)/character.pas sysutils$(PPUEXT) objpas$(PPUEXT) rtlconsts$(PPUEXT) unicodedata$(PPUEXT) system$(PPUEXT)
         $(COMPILER) $(OBJPASDIR)/character.pas
 
-unicodedata$(PPUEXT) : $(OBJPASDIR)/unicodedata.pas objpas$(PPUEXT) system$(PPUEXT)
-        $(COMPILER) -Fi$(OBJPASDIR) $(OBJPASDIR)/unicodedata.pas
-
 #
 # Other system-dependent RTL Units
 #