Browse Source

* Fixed makefiles using patch from Giulio Bernardi

git-svn-id: trunk@10517 -
michael 17 years ago
parent
commit
2fc3ede869
6 changed files with 100 additions and 582 deletions
  1. 79 84
      utils/Makefile
  2. 8 5
      utils/Makefile.fpc
  3. 1 325
      utils/fpcres/Makefile
  4. 0 4
      utils/fpcres/Makefile.fpc
  5. 12 161
      utils/fpcreslipo/Makefile
  6. 0 3
      utils/fpcreslipo/Makefile.fpc

+ 79 - 84
utils/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/03/07]
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/03/20]
 #
 default: all
 MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded
@@ -243,28 +243,28 @@ PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages $(FPCDIR)/packages/base $(F
 override PACKAGE_NAME=utils
 override PACKAGE_VERSION=2.0.0
 ifeq ($(FULL_TARGET),i386-linux)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),i386-go32v2)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),i386-win32)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpmc fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpmc fpcres
 endif
 ifeq ($(FULL_TARGET),i386-os2)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),i386-freebsd)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),i386-beos)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),i386-netbsd)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),i386-solaris)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),i386-qnx)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
@@ -273,7 +273,7 @@ ifeq ($(FULL_TARGET),i386-netware)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),i386-openbsd)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),i386-wdosx)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
@@ -291,7 +291,7 @@ ifeq ($(FULL_TARGET),i386-netwlibc)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),i386-wince)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),i386-embedded)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
@@ -300,13 +300,13 @@ ifeq ($(FULL_TARGET),i386-symbian)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),m68k-linux)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),m68k-freebsd)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),m68k-netbsd)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),m68k-amiga)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
@@ -315,7 +315,7 @@ ifeq ($(FULL_TARGET),m68k-atari)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),m68k-openbsd)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
@@ -324,16 +324,16 @@ ifeq ($(FULL_TARGET),m68k-embedded)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),powerpc-linux)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),powerpc-netbsd)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),powerpc-amiga)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),powerpc-macos)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),powerpc-darwin)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
@@ -345,40 +345,40 @@ ifeq ($(FULL_TARGET),powerpc-embedded)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),sparc-linux)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),sparc-netbsd)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),sparc-solaris)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),sparc-embedded)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),x86_64-linux)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),x86_64-freebsd)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),x86_64-darwin)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
 endif
 ifeq ($(FULL_TARGET),x86_64-win64)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpmc fpcres
 endif
 ifeq ($(FULL_TARGET),x86_64-embedded)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),arm-linux)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),arm-palmos)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),arm-wince)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),arm-gba)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
@@ -393,7 +393,7 @@ ifeq ($(FULL_TARGET),arm-symbian)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 endif
 ifeq ($(FULL_TARGET),powerpc64-linux)
-override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
+override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres
 endif
 ifeq ($(FULL_TARGET),powerpc64-darwin)
 override TARGET_DIRS+=fppkg fpcm tply h2pas fprcp dxegen fpdoc  fpcres fpcreslipo
@@ -2709,7 +2709,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),i386-go32v2)
 TARGET_DIRS_FPPKG=1
@@ -2730,7 +2729,6 @@ TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPMC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),i386-os2)
 TARGET_DIRS_FPPKG=1
@@ -2750,7 +2748,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),i386-beos)
 TARGET_DIRS_FPPKG=1
@@ -2769,6 +2766,7 @@ TARGET_DIRS_H2PAS=1
 TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
+TARGET_DIRS_FPCRES=1
 endif
 ifeq ($(FULL_TARGET),i386-solaris)
 TARGET_DIRS_FPPKG=1
@@ -2779,7 +2777,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),i386-qnx)
 TARGET_DIRS_FPPKG=1
@@ -2807,6 +2804,7 @@ TARGET_DIRS_H2PAS=1
 TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
+TARGET_DIRS_FPCRES=1
 endif
 ifeq ($(FULL_TARGET),i386-wdosx)
 TARGET_DIRS_FPPKG=1
@@ -2863,6 +2861,7 @@ TARGET_DIRS_H2PAS=1
 TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
+TARGET_DIRS_FPCRES=1
 endif
 ifeq ($(FULL_TARGET),i386-embedded)
 TARGET_DIRS_FPPKG=1
@@ -2891,7 +2890,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),m68k-freebsd)
 TARGET_DIRS_FPPKG=1
@@ -2902,7 +2900,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),m68k-netbsd)
 TARGET_DIRS_FPPKG=1
@@ -2912,6 +2909,7 @@ TARGET_DIRS_H2PAS=1
 TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
+TARGET_DIRS_FPCRES=1
 endif
 ifeq ($(FULL_TARGET),m68k-amiga)
 TARGET_DIRS_FPPKG=1
@@ -2939,6 +2937,7 @@ TARGET_DIRS_H2PAS=1
 TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
+TARGET_DIRS_FPCRES=1
 endif
 ifeq ($(FULL_TARGET),m68k-palmos)
 TARGET_DIRS_FPPKG=1
@@ -2967,7 +2966,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),powerpc-netbsd)
 TARGET_DIRS_FPPKG=1
@@ -2977,6 +2975,7 @@ TARGET_DIRS_H2PAS=1
 TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
+TARGET_DIRS_FPCRES=1
 endif
 ifeq ($(FULL_TARGET),powerpc-amiga)
 TARGET_DIRS_FPPKG=1
@@ -2995,8 +2994,6 @@ TARGET_DIRS_H2PAS=1
 TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
-TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),powerpc-darwin)
 TARGET_DIRS_FPPKG=1
@@ -3036,7 +3033,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),sparc-netbsd)
 TARGET_DIRS_FPPKG=1
@@ -3046,6 +3042,7 @@ TARGET_DIRS_H2PAS=1
 TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
+TARGET_DIRS_FPCRES=1
 endif
 ifeq ($(FULL_TARGET),sparc-solaris)
 TARGET_DIRS_FPPKG=1
@@ -3056,7 +3053,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),sparc-embedded)
 TARGET_DIRS_FPPKG=1
@@ -3076,7 +3072,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),x86_64-freebsd)
 TARGET_DIRS_FPPKG=1
@@ -3087,7 +3082,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),x86_64-darwin)
 TARGET_DIRS_FPPKG=1
@@ -3108,6 +3102,8 @@ TARGET_DIRS_H2PAS=1
 TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
+TARGET_DIRS_FPMC=1
+TARGET_DIRS_FPCRES=1
 endif
 ifeq ($(FULL_TARGET),x86_64-embedded)
 TARGET_DIRS_FPPKG=1
@@ -3127,7 +3123,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),arm-palmos)
 TARGET_DIRS_FPPKG=1
@@ -3146,6 +3141,7 @@ TARGET_DIRS_H2PAS=1
 TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
+TARGET_DIRS_FPCRES=1
 endif
 ifeq ($(FULL_TARGET),arm-gba)
 TARGET_DIRS_FPPKG=1
@@ -3192,7 +3188,6 @@ TARGET_DIRS_FPRCP=1
 TARGET_DIRS_DXEGEN=1
 TARGET_DIRS_FPDOC=1
 TARGET_DIRS_FPCRES=1
-TARGET_DIRS_FPCRESLIPO=1
 endif
 ifeq ($(FULL_TARGET),powerpc64-darwin)
 TARGET_DIRS_FPPKG=1
@@ -3583,51 +3578,6 @@ fpcres:
 	$(MAKE) -C fpcres all
 .PHONY: fpcres_all fpcres_debug fpcres_smart fpcres_release fpcres_units fpcres_examples fpcres_shared fpcres_install fpcres_sourceinstall fpcres_exampleinstall fpcres_distinstall fpcres_zipinstall fpcres_zipsourceinstall fpcres_zipexampleinstall fpcres_zipdistinstall fpcres_clean fpcres_distclean fpcres_cleanall fpcres_info fpcres_makefiles fpcres
 endif
-ifdef TARGET_DIRS_FPCRESLIPO
-fpcreslipo_all:
-	$(MAKE) -C fpcreslipo all
-fpcreslipo_debug:
-	$(MAKE) -C fpcreslipo debug
-fpcreslipo_smart:
-	$(MAKE) -C fpcreslipo smart
-fpcreslipo_release:
-	$(MAKE) -C fpcreslipo release
-fpcreslipo_units:
-	$(MAKE) -C fpcreslipo units
-fpcreslipo_examples:
-	$(MAKE) -C fpcreslipo examples
-fpcreslipo_shared:
-	$(MAKE) -C fpcreslipo shared
-fpcreslipo_install:
-	$(MAKE) -C fpcreslipo install
-fpcreslipo_sourceinstall:
-	$(MAKE) -C fpcreslipo sourceinstall
-fpcreslipo_exampleinstall:
-	$(MAKE) -C fpcreslipo exampleinstall
-fpcreslipo_distinstall:
-	$(MAKE) -C fpcreslipo distinstall
-fpcreslipo_zipinstall:
-	$(MAKE) -C fpcreslipo zipinstall
-fpcreslipo_zipsourceinstall:
-	$(MAKE) -C fpcreslipo zipsourceinstall
-fpcreslipo_zipexampleinstall:
-	$(MAKE) -C fpcreslipo zipexampleinstall
-fpcreslipo_zipdistinstall:
-	$(MAKE) -C fpcreslipo zipdistinstall
-fpcreslipo_clean:
-	$(MAKE) -C fpcreslipo clean
-fpcreslipo_distclean:
-	$(MAKE) -C fpcreslipo distclean
-fpcreslipo_cleanall:
-	$(MAKE) -C fpcreslipo cleanall
-fpcreslipo_info:
-	$(MAKE) -C fpcreslipo info
-fpcreslipo_makefiles:
-	$(MAKE) -C fpcreslipo makefiles
-fpcreslipo:
-	$(MAKE) -C fpcreslipo all
-.PHONY: fpcreslipo_all fpcreslipo_debug fpcreslipo_smart fpcreslipo_release fpcreslipo_units fpcreslipo_examples fpcreslipo_shared fpcreslipo_install fpcreslipo_sourceinstall fpcreslipo_exampleinstall fpcreslipo_distinstall fpcreslipo_zipinstall fpcreslipo_zipsourceinstall fpcreslipo_zipexampleinstall fpcreslipo_zipdistinstall fpcreslipo_clean fpcreslipo_distclean fpcreslipo_cleanall fpcreslipo_info fpcreslipo_makefiles fpcreslipo
-endif
 ifdef TARGET_DIRS_FPMC
 fpmc_all:
 	$(MAKE) -C fpmc all
@@ -3673,6 +3623,51 @@ fpmc:
 	$(MAKE) -C fpmc all
 .PHONY: fpmc_all fpmc_debug fpmc_smart fpmc_release fpmc_units fpmc_examples fpmc_shared fpmc_install fpmc_sourceinstall fpmc_exampleinstall fpmc_distinstall fpmc_zipinstall fpmc_zipsourceinstall fpmc_zipexampleinstall fpmc_zipdistinstall fpmc_clean fpmc_distclean fpmc_cleanall fpmc_info fpmc_makefiles fpmc
 endif
+ifdef TARGET_DIRS_FPCRESLIPO
+fpcreslipo_all:
+	$(MAKE) -C fpcreslipo all
+fpcreslipo_debug:
+	$(MAKE) -C fpcreslipo debug
+fpcreslipo_smart:
+	$(MAKE) -C fpcreslipo smart
+fpcreslipo_release:
+	$(MAKE) -C fpcreslipo release
+fpcreslipo_units:
+	$(MAKE) -C fpcreslipo units
+fpcreslipo_examples:
+	$(MAKE) -C fpcreslipo examples
+fpcreslipo_shared:
+	$(MAKE) -C fpcreslipo shared
+fpcreslipo_install:
+	$(MAKE) -C fpcreslipo install
+fpcreslipo_sourceinstall:
+	$(MAKE) -C fpcreslipo sourceinstall
+fpcreslipo_exampleinstall:
+	$(MAKE) -C fpcreslipo exampleinstall
+fpcreslipo_distinstall:
+	$(MAKE) -C fpcreslipo distinstall
+fpcreslipo_zipinstall:
+	$(MAKE) -C fpcreslipo zipinstall
+fpcreslipo_zipsourceinstall:
+	$(MAKE) -C fpcreslipo zipsourceinstall
+fpcreslipo_zipexampleinstall:
+	$(MAKE) -C fpcreslipo zipexampleinstall
+fpcreslipo_zipdistinstall:
+	$(MAKE) -C fpcreslipo zipdistinstall
+fpcreslipo_clean:
+	$(MAKE) -C fpcreslipo clean
+fpcreslipo_distclean:
+	$(MAKE) -C fpcreslipo distclean
+fpcreslipo_cleanall:
+	$(MAKE) -C fpcreslipo cleanall
+fpcreslipo_info:
+	$(MAKE) -C fpcreslipo info
+fpcreslipo_makefiles:
+	$(MAKE) -C fpcreslipo makefiles
+fpcreslipo:
+	$(MAKE) -C fpcreslipo all
+.PHONY: fpcreslipo_all fpcreslipo_debug fpcreslipo_smart fpcreslipo_release fpcreslipo_units fpcreslipo_examples fpcreslipo_shared fpcreslipo_install fpcreslipo_sourceinstall fpcreslipo_exampleinstall fpcreslipo_distinstall fpcreslipo_zipinstall fpcreslipo_zipsourceinstall fpcreslipo_zipexampleinstall fpcreslipo_zipdistinstall fpcreslipo_clean fpcreslipo_distclean fpcreslipo_cleanall fpcreslipo_info fpcreslipo_makefiles fpcreslipo
+endif
 all: fpc_all $(addsuffix _all,$(TARGET_DIRS))
 debug: fpc_debug
 smart: fpc_smart

+ 8 - 5
utils/Makefile.fpc

@@ -10,12 +10,15 @@ version=2.0.0
 dirs=fppkg fpcm tply h2pas fprcp dxegen fpdoc
 programs=ppdep ptop rstconv data2inc delp bin2obj postw32 rmcvsdir
 programs_linux=grab_vcsa
-dirs_win32=fpmc fpcres fpcreslipo
-dirs_linux=fpcres fpcreslipo
-dirs_freebsd=fpcres fpcreslipo
+dirs_win32=fpmc fpcres
+dirs_win64=fpmc fpcres
+dirs_wince=fpcres
+dirs_linux=fpcres
+dirs_freebsd=fpcres
+dirs_openbsd=fpcres
+dirs_netbsd=fpcres
 dirs_darwin=fpcres fpcreslipo
-dirs_macos=fpcres fpcreslipo
-dirs_solaris=fpcres fpcreslipo
+dirs_solaris=fpcres
 rsts=rstconv
 
 [require]

+ 1 - 325
utils/fpcres/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/03/08]
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/03/20]
 #
 default: all
 MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded
@@ -564,330 +564,6 @@ endif
 ifeq ($(FULL_TARGET),avr-embedded)
 override TARGET_UNITS+=msghandler paramparser sourcehandler  target
 endif
-ifeq ($(FULL_TARGET),i386-linux)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-go32v2)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-win32)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-os2)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-freebsd)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-beos)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-netbsd)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-solaris)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-qnx)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-netware)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-openbsd)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-wdosx)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-darwin)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-emx)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-watcom)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-netwlibc)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-wince)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-embedded)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-symbian)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),m68k-linux)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),m68k-freebsd)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),m68k-netbsd)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),m68k-amiga)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),m68k-atari)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),m68k-openbsd)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),m68k-palmos)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),m68k-embedded)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-linux)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-netbsd)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-amiga)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-macos)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-darwin)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-morphos)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-embedded)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),sparc-linux)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),sparc-netbsd)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),sparc-solaris)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),sparc-embedded)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-linux)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-freebsd)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-darwin)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-win64)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-embedded)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),arm-linux)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),arm-palmos)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),arm-wince)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),arm-gba)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),arm-nds)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),arm-embedded)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),arm-symbian)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),powerpc64-linux)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),powerpc64-darwin)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),powerpc64-embedded)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),avr-embedded)
-override TARGET_RSTS+=fpcres fpcresfix elfres
-endif
-ifeq ($(FULL_TARGET),i386-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-go32v2)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-win32)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-os2)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-freebsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-beos)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-netbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-solaris)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-qnx)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-netware)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-openbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-wdosx)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-darwin)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-emx)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-watcom)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-netwlibc)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-wince)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-symbian)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-freebsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-netbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-amiga)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-atari)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-openbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-palmos)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-netbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-amiga)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-macos)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-darwin)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-morphos)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),sparc-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),sparc-netbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),sparc-solaris)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),sparc-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-freebsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-darwin)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-win64)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-palmos)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-wince)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-gba)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-nds)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-symbian)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc64-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc64-darwin)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc64-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),avr-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
 override INSTALL_FPCPACKAGE=y
 ifdef REQUIRE_UNITSDIR
 override UNITSDIR+=$(REQUIRE_UNITSDIR)

+ 0 - 4
utils/fpcres/Makefile.fpc

@@ -5,10 +5,6 @@
 [target]
 programs=fpcres
 units=msghandler paramparser sourcehandler  target
-rsts=fpcres fpcresfix elfres
-
-[clean]
-units=fpcresfix elfbfd elfres
 
 [require]
 packages=rtl fcl-res

+ 12 - 161
utils/fpcreslipo/Makefile

@@ -1,8 +1,8 @@
 #
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/11/14]
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2008/03/20]
 #
 default: all
-MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded
+MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded
 BSDs = freebsd netbsd openbsd darwin
 UNIXs = linux $(BSDs) solaris qnx
 LIMIT83fs = go32v2 os2 emx watcom
@@ -399,6 +399,9 @@ endif
 ifeq ($(FULL_TARGET),powerpc64-embedded)
 override TARGET_PROGRAMS+=fpcreslipo
 endif
+ifeq ($(FULL_TARGET),avr-embedded)
+override TARGET_PROGRAMS+=fpcreslipo
+endif
 ifeq ($(FULL_TARGET),i386-linux)
 override TARGET_UNITS+=msghandler paramparser sourcehandler
 endif
@@ -558,164 +561,8 @@ endif
 ifeq ($(FULL_TARGET),powerpc64-embedded)
 override TARGET_UNITS+=msghandler paramparser sourcehandler
 endif
-ifeq ($(FULL_TARGET),i386-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-go32v2)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-win32)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-os2)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-freebsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-beos)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-netbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-solaris)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-qnx)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-netware)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-openbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-wdosx)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-darwin)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-emx)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-watcom)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-netwlibc)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-wince)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),i386-symbian)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-freebsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-netbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-amiga)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-atari)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-openbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-palmos)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),m68k-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-netbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-amiga)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-macos)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-darwin)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-morphos)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),sparc-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),sparc-netbsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),sparc-solaris)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),sparc-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-freebsd)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-darwin)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-win64)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),x86_64-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-palmos)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-wince)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-gba)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-nds)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),arm-symbian)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc64-linux)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc64-darwin)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
-endif
-ifeq ($(FULL_TARGET),powerpc64-embedded)
-override CLEAN_UNITS+=fpcresfix elfbfd elfres
+ifeq ($(FULL_TARGET),avr-embedded)
+override TARGET_UNITS+=msghandler paramparser sourcehandler
 endif
 override INSTALL_FPCPACKAGE=y
 ifdef REQUIRE_UNITSDIR
@@ -1678,6 +1525,10 @@ ifeq ($(FULL_TARGET),powerpc64-embedded)
 REQUIRE_PACKAGES_RTL=1
 REQUIRE_PACKAGES_FCL-RES=1
 endif
+ifeq ($(FULL_TARGET),avr-embedded)
+REQUIRE_PACKAGES_RTL=1
+REQUIRE_PACKAGES_FCL-RES=1
+endif
 ifdef REQUIRE_PACKAGES_RTL
 PACKAGEDIR_RTL:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /rtl/Makefile.fpc,$(PACKAGESDIR))))))
 ifneq ($(PACKAGEDIR_RTL),)
@@ -1884,7 +1735,7 @@ endif
 endif
 endif
 .PHONY: fpc_units
-ifneq ($(TARGET_UNITS),)
+ifneq ($(TARGET_UNITS)$(TARGET_IMPLICITUNITS),)
 override ALLTARGET+=fpc_units
 override UNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_UNITS))
 override IMPLICITUNITPPUFILES=$(addsuffix $(PPUEXT),$(TARGET_IMPLICITUNITS))

+ 0 - 3
utils/fpcreslipo/Makefile.fpc

@@ -6,9 +6,6 @@
 programs=fpcreslipo
 units=msghandler paramparser sourcehandler
 
-[clean]
-units=fpcresfix elfbfd elfres
-
 [require]
 packages=rtl fcl-res