make/langtools-rules.gmk

Tue, 06 Mar 2012 20:25:18 +0000

author
michaelm
date
Tue, 06 Mar 2012 20:25:18 +0000
changeset 414
84ece503953e
parent 330
7e13dbf7e8af
permissions
-rw-r--r--

7113349: Initial changeset for Macosx port to jdk
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
Contributed-by: Alan Bateman <alan.bateman@oracle.com>, Alexander Potochkin <alexander.potochkin@oracle.com>, Alexander Zuev <alexander.zuev@oracle.com>, Andrew Brygin <andrew.brygin@oracle.com>, Artem Ananiev <artem.ananiev@oracle.com>, Alex Strange <astrange@apple.com>, Bino George <bino@apple.com>, Christine Lu <christine.lu@oracle.com>, David Katleman <david.katleman@oracle.com>, David Durrence <david_durrence@apple.com>, Dmitry Cherepanov <dmitry.cherepanov@oracle.com>, Greg Lewis <glewis@eyesbeyond.com>, Kevin Miller <kevin_m_miller@apple.com>, Kurt Miller <kurt@intricatesoftware.com>, Landon Fuller <landonf@plausiblelabs.com>, Leonid Romanov <leonid.romanov@oracle.com>, Loefty Walkowiak <loefty@apple.com>, Mark Reinhold <mark.reinhold@oracle.com>, Naoto Sato <naoto.sato@oracle.com>, Philip Race <philip.race@oracle.com>, Roger Hoover <rhoover@apple.com>, Scott Kovatch <scott.kovatch@oracle.com>, Sergey ByloKhov <sergey.bylokhov@oracle.com>, Mike Swingler <swingler@apple.com>, Tomas Hurka <tomas.hurka@oracle.com>

duke@2 1 #
ohair@330 2 # Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
duke@2 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@2 4 #
duke@2 5 # This code is free software; you can redistribute it and/or modify it
duke@2 6 # under the terms of the GNU General Public License version 2 only, as
ohair@182 7 # published by the Free Software Foundation. Oracle designates this
duke@2 8 # particular file as subject to the "Classpath" exception as provided
ohair@182 9 # by Oracle in the LICENSE file that accompanied this code.
duke@2 10 #
duke@2 11 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@2 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@2 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@2 14 # version 2 for more details (a copy is included in the LICENSE file that
duke@2 15 # accompanied this code).
duke@2 16 #
duke@2 17 # You should have received a copy of the GNU General Public License version
duke@2 18 # 2 along with this work; if not, write to the Free Software Foundation,
duke@2 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@2 20 #
ohair@182 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@182 22 # or visit www.oracle.com if you need additional information or have any
ohair@182 23 # questions.
duke@2 24 #
duke@2 25
duke@2 26 ################################################################
duke@2 27 # LANGTOOLS TARGETS
duke@2 28 ################################################################
duke@2 29
duke@2 30 LANGTOOLS_BUILD_ARGUMENTS = \
duke@2 31 $(COMMON_BUILD_ARGUMENTS) \
duke@2 32 ALT_OUTPUTDIR=$(LANGTOOLS_OUTPUTDIR) \
duke@2 33 ALT_BOOTDIR=$(BOOTDIR)
duke@2 34
duke@2 35 langtools: langtools-build
duke@2 36 langtools-build:
duke@2 37 $(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
ohrstrom@313 38 @$(call MakeStart,langtools,all)
duke@2 39 ($(CD) $(LANGTOOLS_TOPDIR)/make && \
ohair@128 40 $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) all)
ohrstrom@313 41 @$(call MakeFinish,langtools,all)
duke@2 42
duke@2 43 langtools-clobber::
duke@2 44 $(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
ohrstrom@313 45 @$(call MakeStart,langtools,clobber)
duke@2 46 ($(CD) $(LANGTOOLS_TOPDIR)/make && \
ohair@128 47 $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) clobber)
ohrstrom@313 48 @$(call MakeFinish,langtools,clobber)
duke@2 49
duke@2 50 .PHONY: langtools langtools-build langtools-clobber
duke@2 51

mercurial