duke@2: # ohair@182: # Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved. duke@2: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. duke@2: # duke@2: # This code is free software; you can redistribute it and/or modify it duke@2: # under the terms of the GNU General Public License version 2 only, as ohair@182: # published by the Free Software Foundation. Oracle designates this duke@2: # particular file as subject to the "Classpath" exception as provided ohair@182: # by Oracle in the LICENSE file that accompanied this code. duke@2: # duke@2: # This code is distributed in the hope that it will be useful, but WITHOUT duke@2: # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or duke@2: # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License duke@2: # version 2 for more details (a copy is included in the LICENSE file that duke@2: # accompanied this code). duke@2: # duke@2: # You should have received a copy of the GNU General Public License version duke@2: # 2 along with this work; if not, write to the Free Software Foundation, duke@2: # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. duke@2: # ohair@182: # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ohair@182: # or visit www.oracle.com if you need additional information or have any ohair@182: # questions. duke@2: # duke@2: duke@2: ################################################################ duke@2: # CORBA TARGETS duke@2: ################################################################ duke@2: duke@2: CORBA_BUILD_ARGUMENTS = \ duke@2: $(COMMON_BUILD_ARGUMENTS) \ duke@2: ALT_OUTPUTDIR=$(CORBA_OUTPUTDIR) \ duke@2: ALT_BOOTDIR=$(BOOTDIR) \ duke@2: ALT_JDK_IMPORT_PATH=$(JDK_IMPORT_PATH) duke@2: duke@2: ifeq ($(BUILD_LANGTOOLS), true) duke@2: CORBA_BUILD_ARGUMENTS += ALT_LANGTOOLS_DIST=$(ABS_LANGTOOLS_DIST) duke@2: endif duke@2: duke@2: corba: corba-build duke@2: corba-build: duke@2: $(MKDIR) -p $(CORBA_OUTPUTDIR) ohrstrom@313: @$(call MakeStart,corba,all) duke@2: ($(CD) $(CORBA_TOPDIR)/make && \ duke@2: $(MAKE) $(CORBA_BUILD_ARGUMENTS) all) ohrstrom@313: @$(call MakeFinish,corba,all) duke@2: duke@2: corba-clobber:: duke@2: $(MKDIR) -p $(CORBA_OUTPUTDIR) ohrstrom@313: @$(call MakeStart,corba,clobber) duke@2: ($(CD) $(CORBA_TOPDIR)/make && \ duke@2: $(MAKE) $(CORBA_BUILD_ARGUMENTS) clobber) ohrstrom@313: @$(call MakeFinish,corba,clobber) duke@2: duke@2: .PHONY: corba corba-build corba-clobber duke@2: