components/libgcrypt/Makefile
branchs11u3-sru
changeset 7492 77096be00492
equal deleted inserted replaced
7491:c89ecb99a381 7492:77096be00492
       
     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=		libgcrypt
       
    28 COMPONENT_VERSION=	1.5.3
       
    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:bcf5334e7da352c45de6aec5d2084ce9a1d30029ff4a4a5da13f1848874759d1
       
    34 COMPONENT_ARCHIVE_URL=  ftp://ftp.gnupg.org/gcrypt/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
       
    35 COMPONENT_BUGDB=	library/libgcrypt
       
    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 
       
    45 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
       
    46 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
       
    47 CONFIGURE_OPTIONS.64 += CC="$(CC) -m64"
       
    48 CONFIGURE_OPTIONS += --enable-maintainer-mode 
       
    49 CONFIGURE_OPTIONS += --disable-asm 
       
    50 CONFIGURE_OPTIONS += --enable-ciphers=arcfour:blowfish:des:aes:twofish:serpent:rfc2268:seed:camellia:cast5
       
    51 CONFIGURE_OPTIONS.64 += CC="$(CC) -m64"
       
    52 
       
    53 ASLR_MODE = $(ASLR_ENABLE)
       
    54 
       
    55 include ../../make-rules/shared-targets.mk
       
    56 
       
    57 configure:      $(CONFIGURE_32_and_64)
       
    58 
       
    59 build:          $(BUILD_32_and_64)
       
    60 
       
    61 install:        $(INSTALL_32_and_64)
       
    62 
       
    63 test:           $(TEST_32_and_64)
       
    64 
       
    65 system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
       
    66 
       
    67 REQUIRED_PACKAGES += library/security/libgpg-error
       
    68 REQUIRED_PACKAGES += system/library