make-rules/shared-macros.mk
changeset 5400 1199f8e91f50
parent 5177 eb02f7b13b81
child 5477 5eabbdf042bc
equal deleted inserted replaced
5399:88010dbde9bb 5400:1199f8e91f50
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2010, 2016, 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 # The location of an internal mirror of community source archives that we build
    26 # The location of an internal mirror of community source archives that we build
   565 PERL.5.16 =	/usr/perl5/5.16/bin/perl
   565 PERL.5.16 =	/usr/perl5/5.16/bin/perl
   566 PERL.5.12-mt =	/usr/perl5/5.12/bin/perl-threaded
   566 PERL.5.12-mt =	/usr/perl5/5.12/bin/perl-threaded
   567 PERL.5.20 =     /usr/perl5/5.20/bin/perl
   567 PERL.5.20 =     /usr/perl5/5.20/bin/perl
   568 
   568 
   569 PERL =          $(PERL.$(PERL_VERSION))
   569 PERL =          $(PERL.$(PERL_VERSION))
       
   570 PERL_PKG =	$(PERL_VERSION:5.%=runtime/perl-5%)
   570 
   571 
   571 PERL_ARCH :=	$(shell $(PERL) -e 'use Config; print $$Config{archname}')
   572 PERL_ARCH :=	$(shell $(PERL) -e 'use Config; print $$Config{archname}')
   572 PERL_ARCH_FUNC=	$(shell $(1) -e 'use Config; print $$Config{archname}')
   573 PERL_ARCH_FUNC=	$(shell $(1) -e 'use Config; print $$Config{archname}')
   573 # Optimally we should ask perl which C compiler was used but it doesn't
   574 # Optimally we should ask perl which C compiler was used but it doesn't
   574 # result in a full path name.  Only "c" is being recorded
   575 # result in a full path name.  Only "c" is being recorded