patch-icedtea6-1_10_Makefile_in 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. --- w-openjdk-6-1.orig/icedtea6-1.10/Makefile.in 2011-03-02 20:48:45.000000000 +0100
  2. +++ w-openjdk-6-1/icedtea6-1.10/Makefile.in 2011-04-02 23:33:17.000000000 +0200
  3. @@ -328,7 +328,7 @@
  4. am__untar = @am__untar@
  5. bindir = @bindir@
  6. build = @build@
  7. -build_alias = @build_alias@
  8. +build_alias = ${BUILD_ALIAS}
  9. build_cpu = @build_cpu@
  10. build_os = @build_os@
  11. build_vendor = @build_vendor@
  12. @@ -339,7 +339,7 @@
  13. dvidir = @dvidir@
  14. exec_prefix = @exec_prefix@
  15. host = @host@
  16. -host_alias = @host_alias@
  17. +host_alias = ${HOST_ALIAS}
  18. host_cpu = @host_cpu@
  19. host_os = @host_os@
  20. host_vendor = @host_vendor@
  21. @@ -362,7 +362,7 @@
  22. sharedstatedir = @sharedstatedir@
  23. srcdir = @srcdir@
  24. sysconfdir = @sysconfdir@
  25. -target_alias = @target_alias@
  26. +target_alias = ${TARGET_ALIAS}
  27. top_build_prefix = @top_build_prefix@
  28. top_builddir = @top_builddir@
  29. top_srcdir = @top_srcdir@
  30. @@ -1329,7 +1329,7 @@ stamps/extract-openjdk.stamp: stamps/dow
  31. @OPENJDK_SRC_DIR_FOUND_TRUE@ cp -pPR $(OPENJDK_SRC_DIR_LINK) $(OPENJDK_SRC_DIR) openjdk ; \
  32. @OPENJDK_SRC_DIR_FOUND_TRUE@ fi
  33. @OPENJDK_SRC_DIR_FOUND_FALSE@@USE_HG_TRUE@ if ! test -d openjdk ; then \
  34. -@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_HG_TRUE@ cp -pPRl openjdk.hg openjdk ; \
  35. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_HG_TRUE@ cp -pPR openjdk.hg openjdk ; \
  36. @OPENJDK_SRC_DIR_FOUND_FALSE@@USE_HG_TRUE@ fi
  37. @OPENJDK_SRC_DIR_FOUND_FALSE@@USE_HG_FALSE@ set -e ; \
  38. @OPENJDK_SRC_DIR_FOUND_FALSE@@USE_HG_FALSE@ if ! test -d openjdk ; \
  39. @@ -1576,7 +1576,7 @@ clean-overlay:
  40. # FIXME (missing): Rename to clone-ecj.
  41. stamps/extract-ecj.stamp: $(OPENJDK_TREE)
  42. if ! test -d openjdk-ecj ; then \
  43. - cp -pPRl openjdk openjdk-ecj ; \
  44. + cp -pPR openjdk openjdk-ecj ; \
  45. fi
  46. mkdir -p stamps
  47. touch stamps/extract-ecj.stamp
  48. @@ -1642,11 +1642,15 @@ clean-patch-ecj:
  49. # ===========================
  50. stamps/native-ecj.stamp:
  51. - mkdir -p stamps ; \
  52. - if test "x$(GCJ)" != "xno"; then \
  53. - $(GCJ) $(IT_CFLAGS) -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
  54. - --main=org.eclipse.jdt.internal.compiler.batch.Main ${ECJ_JAR} ; \
  55. - fi ; \
  56. + mkdir -p stamps ; \
  57. + if test -n "${ADK_ECJ}" && test -x "${ADK_ECJ}"; then \
  58. + ln -s "${ADK_ECJ}" native-ecj; \
  59. + else \
  60. + if test "x$(GCJ)" != "xno"; then \
  61. + $(GCJ) $(IT_CFLAGS) -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
  62. + --main=org.eclipse.jdt.internal.compiler.batch.Main ${ECJ_JAR} ; \
  63. + fi ; \
  64. + fi; \
  65. touch stamps/native-ecj.stamp
  66. clean-native-ecj:
  67. @@ -2167,6 +2167,9 @@
  68. stamps/jamvm.stamp: $(OPENJDK_TREE) stamps/rt.stamp
  69. @BUILD_JAMVM_TRUE@ cd jamvm/jamvm && \
  70. @BUILD_JAMVM_TRUE@ ./autogen.sh --with-java-runtime-library=openjdk \
  71. +@BUILD_JAMVM_TRUE@ --host=$(host_alias) \
  72. +@BUILD_JAMVM_TRUE@ --build=$(build_alias) \
  73. +@BUILD_JAMVM_TRUE@ --target=$(target_alias) \
  74. @BUILD_JAMVM_TRUE@ --prefix=$(abs_top_builddir)/jamvm/install ; \
  75. @BUILD_JAMVM_TRUE@ $(MAKE) ; \
  76. @BUILD_JAMVM_TRUE@ $(MAKE) install