Thu, 01 Aug 2013 17:24:26 -0700
Merge
ohair@425 | 1 | # |
ohair@425 | 2 | # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
ohair@425 | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ohair@425 | 4 | # |
ohair@425 | 5 | # This code is free software; you can redistribute it and/or modify it |
ohair@425 | 6 | # under the terms of the GNU General Public License version 2 only, as |
ohair@425 | 7 | # published by the Free Software Foundation. |
ohair@425 | 8 | # |
ohair@425 | 9 | # This code is distributed in the hope that it will be useful, but WITHOUT |
ohair@425 | 10 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ohair@425 | 11 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ohair@425 | 12 | # version 2 for more details (a copy is included in the LICENSE file that |
ohair@425 | 13 | # accompanied this code). |
ohair@425 | 14 | # |
ohair@425 | 15 | # You should have received a copy of the GNU General Public License version |
ohair@425 | 16 | # 2 along with this work; if not, write to the Free Software Foundation, |
ohair@425 | 17 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ohair@425 | 18 | # |
ohair@425 | 19 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@425 | 20 | # or visit www.oracle.com if you need additional information or have any |
ohair@425 | 21 | # questions. |
ohair@425 | 22 | # |
ohair@425 | 23 | |
ohair@425 | 24 | # This is a configuration example using builddeps |
ohair@425 | 25 | # that are downloaded from an ftp server. |
ohair@425 | 26 | # This is how you use it: |
ohair@425 | 27 | |
ohair@425 | 28 | #configure --with-builddeps-server=ftp://builddeps.server/adir \ |
ohair@425 | 29 | # --with-builddeps-conf=..../builddeps.conf.example |
ohair@425 | 30 | # --with-builddeps-dir=/localdisk/mybuilddeps |
ohair@425 | 31 | |
ohair@425 | 32 | # Translate a configuration triplet/quadruplet into something |
ohair@425 | 33 | # known by this configuration file. |
ohair@478 | 34 | # If no rewrite was found, then rewritten_target=${OPENJDK_TARGET_AUTOCONF_NAME} |
ohair@425 | 35 | REWRITE_i686_pc_linux_gnu=i686-unknown-linux-gnu |
ohair@425 | 36 | REWRITE_i386_pc_solaris2_10=i686-sun-solaris2_10 |
ohair@425 | 37 | |
erikj@458 | 38 | # The needed cups builddeps are platform independent header files. |
ohair@425 | 39 | # I.e. they need not be part of the devkit. |
ohair@425 | 40 | builddep_cups=lib/cups_1_3_9.zip |
ohair@425 | 41 | builddep_cups_CFLAGS=-I${depdir} |
ohair@425 | 42 | |
ohair@425 | 43 | # The devkit is the cross compiler tools and sys-roots |
ohair@425 | 44 | # for the build platform. |
ohair@425 | 45 | builddep_devkit=sdk/sdk-${rewritten_build}-20110921.tar.gz |
ohair@425 | 46 | |
erikj@458 | 47 | # The freetype dependency is partly platform dependent. |
ohair@425 | 48 | # It is stored inside the sys-root. |
ohair@425 | 49 | builddep_freetype2=sdk/sdk-${rewritten_build}-20110921.tar.gz |
erikj@458 | 50 | builddep_freetype2_CFLAGS=-I${depdir}/${rewritten_target}/sys-root/usr/include/freetype2 |
ohair@425 | 51 | builddep_freetype2_LIBS=-lfreetype |
ohair@425 | 52 | |
ohair@425 | 53 | # There are many other build dependencies, but they are implicitly |
ohair@425 | 54 | # found inside the devkit sys-root. |
ohair@425 | 55 | |
ohair@425 | 56 | # The boot jdk runs on the build system and is used to compile and run |
ohair@425 | 57 | # Java build tools and of course, the bootstrap javac. |
ohair@425 | 58 | builddep_bootjdk_BUILD_i386_pc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-i586-17_nov_2011.zip |
ohair@425 | 59 | builddep_bootjdk_BUILD_x86_64_pc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-x64-17_nov_2011.zip |
ohair@425 | 60 | builddep_bootjdk_BUILD_i686_unknown_linux_gnu=java/jdk-7u2-fcs-bin-b13-linux-i586-17_nov_2011.zip |
ohair@425 | 61 | builddep_bootjdk_BUILD_x86_64_unknown_linux_gnu=java/jdk-7u2-fcs-bin-b13-linux-x64-17_nov_2011.zip |
ohair@425 | 62 | builddep_bootjdk_BUILD_sparc_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-sparc-17_nov_2011.zip |
ohair@425 | 63 | builddep_bootjdk_BUILD_sparcv9_solaris2=java/jdk-7u2-fcs-bin-b13-solaris-sparcv9-17_nov_2011.zip |
ohair@425 | 64 | builddep_bootjdk_BUILD_i386_pc_windows=java/jdk-7u2-fcs-bin-b13-windows-i586-17_nov_2011.zip |
ohair@425 | 65 | builddep_bootjdk_BUILD_x86_64_pc_windows=java/jdk-7u2-fcs-bin-b13-windows-x64-17_nov_2011.zip |
ohair@425 | 66 | builddep_bootjdk_ROOT=${depdir}/jdk7_02/jdk1.7.0_02 |