common/autoconf/builddeps.conf.example

Thu, 31 Aug 2017 15:40:18 +0800

author
aoqi
date
Thu, 31 Aug 2017 15:40:18 +0800
changeset 1133
50aaf272884f
parent 839
174a54ce39c4
parent 0
75a576e87639
permissions
-rw-r--r--

merge

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

mercurial