components/bzip2/Makefile
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3661 47545fb8aed4
equal deleted inserted replaced
3994:3781477accf3 3996:20c0f21bbe1e
    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=		bzip2
    28 COMPONENT_NAME=		bzip2
    35 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
    35 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
    36 COMPONENT_BUGDB=	utility/bzip
    36 COMPONENT_BUGDB=	utility/bzip
    37 
    37 
    38 TPNO=			5547
    38 TPNO=			5547
    39 
    39 
    40 include ../../make-rules/prep.mk
    40 include $(WS_MAKE_RULES)/prep.mk
    41 include ../../make-rules/justmake.mk
    41 include $(WS_MAKE_RULES)/justmake.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 LINT_FLAGS +=	-I.
    45 LINT_FLAGS +=	-I.
    46 
    46 
    47 # we need to enable large file support and build PIC for our shared libraries
    47 # we need to enable large file support and build PIC for our shared libraries
    48 CFLAGS += $(CPP_LARGEFILES) $(CC_PIC)
    48 CFLAGS += $(CPP_LARGEFILES) $(CC_PIC)
    72 	$(INSTALL) $(BUILD_DIR_64)/llib-lbz2.ln $(PROTOUSRLIBDIR64)
    72 	$(INSTALL) $(BUILD_DIR_64)/llib-lbz2.ln $(PROTOUSRLIBDIR64)
    73 
    73 
    74 # build does this always
    74 # build does this always
    75 test:		$(TEST_32_and_64)
    75 test:		$(TEST_32_and_64)
    76 
    76 
    77 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    78 
    77 
    79 include ../../make-rules/depend.mk
    78 REQUIRED_PACKAGES += shell/ksh93
       
    79 REQUIRED_PACKAGES += system/library