components/jsl/Makefile
changeset 1645 ff50a80c552a
parent 1605 7fc7910b6d94
child 1948 2d1537e7942d
equal deleted inserted replaced
1644:99106880f744 1645:ff50a80c552a
    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) 2013, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		jsl
    25 COMPONENT_NAME=		jsl
    26 COMPONENT_VERSION=	0.3.0
    26 COMPONENT_VERSION=	0.3.0
    38 
    38 
    39 # Preferred compiler set to gcc and not Studio as on Sparc architecture
    39 # Preferred compiler set to gcc and not Studio as on Sparc architecture
    40 # some assembler code is required for locking which fails to compile on
    40 # some assembler code is required for locking which fails to compile on
    41 # solaris, when using gcc this is inlined (see jslock.c)
    41 # solaris, when using gcc this is inlined (see jslock.c)
    42 COMPILER =	gcc
    42 COMPILER =	gcc
    43 # Parfait doesn't work with the GNU 4.7 compilers yet.
       
    44 ifeq   ($(strip $(PARFAIT_BUILD)),yes)
       
    45 COMPILER =	gcc3
       
    46 endif
       
    47 
    43 
    48 COMPONENT_BUILD_ARGS += -f src/Makefile
    44 COMPONENT_BUILD_ARGS += -f src/Makefile
    49 COMPONENT_BUILD_ARGS += CC="$(CC)"
    45 COMPONENT_BUILD_ARGS += CC="$(CC)"
    50 COMPONENT_BUILD_ARGS += COPTFLAGS="$(gcc_OPT)"
    46 COMPONENT_BUILD_ARGS += COPTFLAGS="$(gcc_OPT)"
    51 COMPONENT_BUILD_TARGETS += all
    47 COMPONENT_BUILD_TARGETS += all