components/zlib/Makefile
changeset 3817 30b42c38bbc4
parent 2225 f064d3d3190d
child 4339 6501cf9c29f9
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		zlib
    28 COMPONENT_NAME=		zlib
    35 COMPONENT_ARCHIVE_URL=	http://downloads.sourceforge.net/project/libpng/zlib/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
    35 COMPONENT_ARCHIVE_URL=	http://downloads.sourceforge.net/project/libpng/zlib/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
    36 COMPONENT_BUGDB=	library/libz
    36 COMPONENT_BUGDB=	library/libz
    37 
    37 
    38 TPNO=			17611
    38 TPNO=			17611
    39 
    39 
    40 include ../../make-rules/prep.mk
    40 include $(WS_MAKE_RULES)/prep.mk
    41 include ../../make-rules/configure.mk
    41 include $(WS_MAKE_RULES)/configure.mk
    42 include ../../make-rules/ips.mk
    42 include $(WS_MAKE_RULES)/ips.mk
    43 include ../../make-rules/lint-libraries.mk
    43 include $(WS_MAKE_RULES)/lint-libraries.mk
    44 
    44 
    45 #
    45 #
    46 # We want to build hardware specific versions of the longest_match()
    46 # We want to build hardware specific versions of the longest_match()
    47 # function into our shared library that has been hand optimised to use
    47 # function into our shared library that has been hand optimised to use
    48 # some machine architecture specific instructions. Currently, we are doing
    48 # some machine architecture specific instructions. Currently, we are doing
   115 test:		$(TEST_32_and_64)
   115 test:		$(TEST_32_and_64)
   116 
   116 
   117 clean::
   117 clean::
   118 	$(RM) -r $(BUILD_DIR) $(PROTO_DIR) capabilities/*/*/*.o capabilities/*/$(MACH32)/*.s
   118 	$(RM) -r $(BUILD_DIR) $(PROTO_DIR) capabilities/*/*/*.o capabilities/*/$(MACH32)/*.s
   119 
   119 
   120 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
   121 
   120 
   122 include ../../make-rules/depend.mk
   121 REQUIRED_PACKAGES += system/library