components/ilmbase/Makefile
changeset 5682 94c0ca64c022
parent 5125 34cc580c62c2
child 7294 61f1f259467a
equal deleted inserted replaced
5681:b8fe51f35344 5682:94c0ca64c022
    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, 2015, Oracle and/or its affiliates. All rights reserved.
    21 
    22 #
    22 #
       
    23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 BUILD_BITS= 64_and_32
    23 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    24 
    27 
    25 COMPONENT_NAME=         ilmbase
    28 COMPONENT_NAME=         ilmbase
    26 COMPONENT_VERSION=      1.0.1
    29 COMPONENT_VERSION=      1.0.1
    27 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    28 COMPONENT_PROJECT_URL=  http://www.openexr.com/
    30 COMPONENT_PROJECT_URL=  http://www.openexr.com/
    29 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
       
    30 COMPONENT_ARCHIVE_HASH= \
    31 COMPONENT_ARCHIVE_HASH= \
    31     sha256:4f14fc7b26a37a391ec5f979697148e6774bc36bc052de26e40ffabe401e397d
    32     sha256:4f14fc7b26a37a391ec5f979697148e6774bc36bc052de26e40ffabe401e397d
    32 COMPONENT_ARCHIVE_URL=  http://download.savannah.nongnu.org/releases/openexr/$(COMPONENT_ARCHIVE)
    33 COMPONENT_ARCHIVE_URL=  http://download.savannah.nongnu.org/releases/openexr/$(COMPONENT_ARCHIVE)
    33 COMPONENT_BUGDB=	library/openexr
    34 COMPONENT_BUGDB=	library/openexr
    34 
    35 
    35 TPNO=			5574
    36 TPNO=			5574
    36 
    37 
    37 include $(WS_MAKE_RULES)/prep.mk
    38 include $(WS_MAKE_RULES)/common.mk
    38 include $(WS_MAKE_RULES)/configure.mk
       
    39 include $(WS_MAKE_RULES)/ips.mk
       
    40 
    39 
    41 PATCH_LEVEL = 0
    40 PATCH_LEVEL = 0
    42 
    41 
    43 # there seems to be no other way to enable large files support
    42 # there seems to be no other way to enable large files support
    44 CXXFLAGS += $(CPP_LARGEFILES)
    43 CXXFLAGS += $(CPP_LARGEFILES)
    48 # libCstd and libCrun. The last two are needed because with Studio 12.2
    47 # libCstd and libCrun. The last two are needed because with Studio 12.2
    49 # (and beyond), there is a bug in the CC driver that is not correctly using
    48 # (and beyond), there is a bug in the CC driver that is not correctly using
    50 # the '-library=Cstd,Crun' we are passing to it.
    49 # the '-library=Cstd,Crun' we are passing to it.
    51 LIBS += -lc -lm -lCstd -lCrun
    50 LIBS += -lc -lm -lCstd -lCrun
    52 
    51 
    53 CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
       
    54 CONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
       
    55 CONFIGURE_ENV += LIBS="$(LIBS)"
    52 CONFIGURE_ENV += LIBS="$(LIBS)"
    56 
    53 
    57 CONFIGURE_OPTIONS  +=           --disable-static
    54 CONFIGURE_OPTIONS  +=           --disable-static
    58 CONFIGURE_OPTIONS  +=           --enable-threading
    55 CONFIGURE_OPTIONS  +=           --enable-threading
    59 CONFIGURE_OPTIONS  +=           --enable-posix-sem
    56 CONFIGURE_OPTIONS  +=           --enable-posix-sem
    69 	'-e "s|^config.status: .*$$|XXX_CC_XXX|g" ' \
    66 	'-e "s|^config.status: .*$$|XXX_CC_XXX|g" ' \
    70 	'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
    67 	'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
    71 	'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
    68 	'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
    72 	'-e "/^XXX_CC_XXX$$/d" '
    69 	'-e "/^XXX_CC_XXX$$/d" '
    73 
    70 
    74 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
       
    75 
       
    76 configure:	$(CONFIGURE_32_and_64)
       
    77 
       
    78 build: $(BUILD_32_and_64)
       
    79 
       
    80 install: $(INSTALL_32_and_64)
       
    81 
       
    82 test:	 $(TEST_32_and_64)
       
    83 
       
    84 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
       
    85 
       
    86 
       
    87 REQUIRED_PACKAGES += system/library
       
    88 REQUIRED_PACKAGES += system/library/c++-runtime
    71 REQUIRED_PACKAGES += system/library/c++-runtime
    89 REQUIRED_PACKAGES += system/library/math
    72 REQUIRED_PACKAGES += system/library/math