components/swig/Makefile
changeset 3761 7eba66b644d2
parent 2225 f064d3d3190d
child 3808 93f1c7645ce7
equal deleted inserted replaced
3759:6f5b34e14c5c 3761:7eba66b644d2
    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) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2015, 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=		swig
    25 COMPONENT_NAME=		swig
    26 COMPONENT_VERSION=	2.0.8
    26 COMPONENT_VERSION=	2.0.8
    46 CONFIGURE_ENV += JAVA_HOME="$(JAVA_HOME)"
    46 CONFIGURE_ENV += JAVA_HOME="$(JAVA_HOME)"
    47 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    47 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    48 CONFIGURE_OPTIONS +=	CXXFLAGS="$(CXXFLAGS)"
    48 CONFIGURE_OPTIONS +=	CXXFLAGS="$(CXXFLAGS)"
    49 CONFIGURE_OPTIONS +=	--with-javaincl="$(JAVA_HOME)/include"
    49 CONFIGURE_OPTIONS +=	--with-javaincl="$(JAVA_HOME)/include"
    50 
    50 
       
    51 # The additional swig specific set of transforms to be applied to the
       
    52 # test results to try to normalize them.
       
    53 COMPONENT_TEST_TRANSFORMS += \
       
    54 	'-e "s|\(Compiled with $(CXX)\).*|Compiled with \\$$(CXX)|" ' \
       
    55 	'-e "s|$(CC)|\\$$(CC)|g" '
       
    56 
    51 ASLR_MODE = $(ASLR_ENABLE)
    57 ASLR_MODE = $(ASLR_ENABLE)
    52 
    58 
    53 # common targets
    59 # common targets
    54 configure:	$(CONFIGURE_64)
    60 configure:	$(CONFIGURE_64)
    55 
    61