Browse Source

Makefile regenerated for go32v2 needs graph package

git-svn-id: trunk@6041 -
pierre 18 years ago
parent
commit
7934c6730f
1 changed files with 28 additions and 1 deletions
  1. 28 1
      ide/Makefile

+ 28 - 1
ide/Makefile

@@ -1,5 +1,5 @@
 #
 #
-# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/01/06]
+# Don't edit, this file is generated by FPCMake Version 2.0.0 [2007/01/18]
 #
 #
 default: all
 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 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-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded powerpc64-linux 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 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-win64 x86_64-embedded arm-linux arm-palmos arm-wince arm-gba arm-nds arm-embedded powerpc64-linux powerpc64-embedded
@@ -1483,6 +1483,7 @@ REQUIRE_PACKAGES_RTL=1
 REQUIRE_PACKAGES_FV=1
 REQUIRE_PACKAGES_FV=1
 REQUIRE_PACKAGES_GDBINT=1
 REQUIRE_PACKAGES_GDBINT=1
 REQUIRE_PACKAGES_REGEXPR=1
 REQUIRE_PACKAGES_REGEXPR=1
+REQUIRE_PACKAGES_GRAPH=1
 endif
 endif
 ifeq ($(FULL_TARGET),i386-win32)
 ifeq ($(FULL_TARGET),i386-win32)
 REQUIRE_PACKAGES_RTL=1
 REQUIRE_PACKAGES_RTL=1
@@ -1870,6 +1871,32 @@ ifdef UNITDIR_REGEXPR
 override COMPILER_UNITDIR+=$(UNITDIR_REGEXPR)
 override COMPILER_UNITDIR+=$(UNITDIR_REGEXPR)
 endif
 endif
 endif
 endif
+ifdef REQUIRE_PACKAGES_GRAPH
+PACKAGEDIR_GRAPH:=$(firstword $(subst /Makefile.fpc,,$(strip $(wildcard $(addsuffix /graph/Makefile.fpc,$(PACKAGESDIR))))))
+ifneq ($(PACKAGEDIR_GRAPH),)
+ifneq ($(wildcard $(PACKAGEDIR_GRAPH)/units/$(TARGETSUFFIX)),)
+UNITDIR_GRAPH=$(PACKAGEDIR_GRAPH)/units/$(TARGETSUFFIX)
+else
+UNITDIR_GRAPH=$(PACKAGEDIR_GRAPH)
+endif
+ifdef CHECKDEPEND
+$(PACKAGEDIR_GRAPH)/$(FPCMADE):
+	$(MAKE) -C $(PACKAGEDIR_GRAPH) $(FPCMADE)
+override ALLDEPENDENCIES+=$(PACKAGEDIR_GRAPH)/$(FPCMADE)
+endif
+else
+PACKAGEDIR_GRAPH=
+UNITDIR_GRAPH:=$(subst /Package.fpc,,$(strip $(wildcard $(addsuffix /graph/Package.fpc,$(UNITSDIR)))))
+ifneq ($(UNITDIR_GRAPH),)
+UNITDIR_GRAPH:=$(firstword $(UNITDIR_GRAPH))
+else
+UNITDIR_GRAPH=
+endif
+endif
+ifdef UNITDIR_GRAPH
+override COMPILER_UNITDIR+=$(UNITDIR_GRAPH)
+endif
+endif
 ifndef NOCPUDEF
 ifndef NOCPUDEF
 override FPCOPTDEF=$(CPU_TARGET)
 override FPCOPTDEF=$(CPU_TARGET)
 endif
 endif