blob: 2cdeeb4eae11cc8e304e03cabad3585dfbd466a8 [file] [log] [blame]
J. Duke686d76f2007-12-01 00:00:00 +00001#
Kelly O'Hair136614e2010-05-25 15:51:26 -07002# Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
J. Duke686d76f2007-12-01 00:00:00 +00003# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# This code is free software; you can redistribute it and/or modify it
6# under the terms of the GNU General Public License version 2 only, as
Kelly O'Hair136614e2010-05-25 15:51:26 -07007# published by the Free Software Foundation. Oracle designates this
J. Duke686d76f2007-12-01 00:00:00 +00008# particular file as subject to the "Classpath" exception as provided
Kelly O'Hair136614e2010-05-25 15:51:26 -07009# by Oracle in the LICENSE file that accompanied this code.
J. Duke686d76f2007-12-01 00:00:00 +000010#
11# This code is distributed in the hope that it will be useful, but WITHOUT
12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14# version 2 for more details (a copy is included in the LICENSE file that
15# accompanied this code).
16#
17# You should have received a copy of the GNU General Public License version
18# 2 along with this work; if not, write to the Free Software Foundation,
19# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20#
Kelly O'Hair136614e2010-05-25 15:51:26 -070021# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22# or visit www.oracle.com if you need additional information or have any
23# questions.
J. Duke686d76f2007-12-01 00:00:00 +000024#
25
26################################################################
27# CORBA TARGETS
28################################################################
29
30CORBA_BUILD_ARGUMENTS = \
31 $(COMMON_BUILD_ARGUMENTS) \
32 ALT_OUTPUTDIR=$(CORBA_OUTPUTDIR) \
33 ALT_BOOTDIR=$(BOOTDIR) \
34 ALT_JDK_IMPORT_PATH=$(JDK_IMPORT_PATH)
35
36ifeq ($(BUILD_LANGTOOLS), true)
37 CORBA_BUILD_ARGUMENTS += ALT_LANGTOOLS_DIST=$(ABS_LANGTOOLS_DIST)
38endif
39
40corba: corba-build
41corba-build:
42 $(MKDIR) -p $(CORBA_OUTPUTDIR)
Kelly O'Hair0c401652009-09-03 17:44:28 -070043 @$(call MakeStart, corba, all)
J. Duke686d76f2007-12-01 00:00:00 +000044 ($(CD) $(CORBA_TOPDIR)/make && \
45 $(MAKE) $(CORBA_BUILD_ARGUMENTS) all)
Kelly O'Hair0c401652009-09-03 17:44:28 -070046 @$(call MakeFinish, corba, all)
J. Duke686d76f2007-12-01 00:00:00 +000047
48corba-clobber::
49 $(MKDIR) -p $(CORBA_OUTPUTDIR)
Kelly O'Hair0c401652009-09-03 17:44:28 -070050 @$(call MakeStart, corba, clobber)
J. Duke686d76f2007-12-01 00:00:00 +000051 ($(CD) $(CORBA_TOPDIR)/make && \
52 $(MAKE) $(CORBA_BUILD_ARGUMENTS) clobber)
Kelly O'Hair0c401652009-09-03 17:44:28 -070053 @$(call MakeFinish, corba, clobber)
J. Duke686d76f2007-12-01 00:00:00 +000054
55.PHONY: corba corba-build corba-clobber
56