components/libgpg-error/Makefile
branchs11u3-sru
changeset 7128 62fc6d60f3cf
child 7532 7c3747a0f6b1
equal deleted inserted replaced
7127:0d23504d93cf 7128:62fc6d60f3cf
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 include ../../make-rules/shared-macros.mk
       
    26 
       
    27 COMPONENT_NAME=		libgpg-error
       
    28 COMPONENT_VERSION=	1.12
       
    29 COMPONENT_PROJECT_URL=  ftp://ftp.gnupg.org/gcrypt/$(COMPONENT_NAME)
       
    30 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    31 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
       
    32 COMPONENT_ARCHIVE_HASH= \
       
    33     sha256:cafc9ed6a87c53a35175d5a1220a96ca386696eef2fa059cc0306211f246e55f
       
    34 COMPONENT_ARCHIVE_URL=  ftp://ftp.gnupg.org/gcrypt/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
       
    35 COMPONENT_BUGDB=	library/libgpg-error
       
    36 
       
    37 TPNO=			7588
       
    38 
       
    39 COMPONENT_BUILD_TARGETS = all info
       
    40 
       
    41 include $(WS_MAKE_RULES)/prep.mk
       
    42 include $(WS_MAKE_RULES)/configure.mk
       
    43 include $(WS_MAKE_RULES)/ips.mk
       
    44 include $(WS_MAKE_RULES)/lint-libraries.mk
       
    45 
       
    46 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
       
    47 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
       
    48 CONFIGURE_OPTIONS.64 += CC="$(CC) -m64"
       
    49 
       
    50 ASLR_MODE = $(ASLR_ENABLE)
       
    51 
       
    52 include ../../make-rules/shared-targets.mk
       
    53 
       
    54 configure:      $(CONFIGURE_32_and_64)
       
    55 
       
    56 build:          $(BUILD_32_and_64)
       
    57 
       
    58 install:        $(INSTALL_32_and_64)
       
    59 
       
    60 test:           $(TEST_32_and_64)
       
    61 
       
    62 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
       
    63 
       
    64 REQUIRED_PACKAGES += system/library