make-rules/shared-macros.mk
changeset 313 e30cc0dc4e8b
parent 302 0b738df97c00
child 327 b3a36ee93012
equal deleted inserted replaced
312:6ca02fd5a199 313:e30cc0dc4e8b
    21 # Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 PATH=/usr/bin:/usr/gnu/bin
    24 PATH=/usr/bin:/usr/gnu/bin
    25 
    25 
    26 # Default to looking for source archives on the internal mirror before we
    26 # The location of an internal mirror of community source archives that we build
    27 # hammer on the external repositories.
    27 # in this gate.  This mirror has been seeded to include "custom" source archives
    28 export DOWNLOAD_SEARCH_PATH +=	http://userland.us.oracle.com/source-archives/
    28 # for a few components where the communities either no longer provide matching
       
    29 # source archives or we have changes that aren't reflected in their archives or
       
    30 # anywhere else.
       
    31 INTERNAL_ARCHIVE_MIRROR =	http://userland.us.oracle.com/source-archives
       
    32 
       
    33 # The location of an external mirror of community source archives that we build
       
    34 # in this gate.  The external mirror is a replica of the internal mirror.
       
    35 EXTERNAL_ARCHIVE_MIRROR = \
       
    36 	http://static.opensolaris.org/action/browse/userland/tarball/userland
       
    37 
       
    38 # Default to looking for source archives on the internal mirror and the external
       
    39 # mirror before we hammer on the community source archive repositories.
       
    40 export DOWNLOAD_SEARCH_PATH +=	$(INTERNAL_ARCHIVE_MIRROR)
       
    41 export DOWNLOAD_SEARCH_PATH +=	$(EXTERNAL_ARCHIVE_MIRROR)
    29 
    42 
    30 # The workspace starts at the mercurial root
    43 # The workspace starts at the mercurial root
    31 export WS_TOP ?=		$(shell hg root)
    44 export WS_TOP ?=		$(shell hg root)
    32 
    45 
    33 export SHELLOPTS = pipefail
    46 export SHELLOPTS = pipefail