make/langtools-rules.gmk
changeset 4209 e2e5a973b879
parent 3792 70d5ef4d28c5
child 5499 eb0b3e373167
equal deleted inserted replaced
4208:e14d48eee341 4209:e2e5a973b879
     1 #
     1 #
     2 # Copyright 2001-2007 Sun Microsystems, Inc.  All Rights Reserved.
     2 # Copyright 2001-2009 Sun Microsystems, Inc.  All Rights Reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     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
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Sun designates this
     7 # published by the Free Software Foundation.  Sun designates this
    33    ALT_BOOTDIR=$(BOOTDIR)
    33    ALT_BOOTDIR=$(BOOTDIR)
    34 
    34 
    35 langtools: langtools-build
    35 langtools: langtools-build
    36 langtools-build:
    36 langtools-build:
    37 	$(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
    37 	$(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
       
    38 	@$(call MakeStart, langtools, all)
    38 	($(CD) $(LANGTOOLS_TOPDIR)/make && \
    39 	($(CD) $(LANGTOOLS_TOPDIR)/make && \
    39 	 $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) all)
    40 	  $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) all)
       
    41 	@$(call MakeFinish, langtools, all)
    40 
    42 
    41 langtools-clobber::
    43 langtools-clobber::
    42 	$(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
    44 	$(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
       
    45 	@$(call MakeStart, langtools, clobber)
    43 	($(CD) $(LANGTOOLS_TOPDIR)/make &&  \
    46 	($(CD) $(LANGTOOLS_TOPDIR)/make &&  \
    44 	 $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) clobber)
    47 	  $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) clobber)
       
    48 	@$(call MakeFinish, langtools, clobber)
    45 
    49 
    46 .PHONY: langtools langtools-build langtools-clobber
    50 .PHONY: langtools langtools-build langtools-clobber
    47 
    51