components/snappy/Makefile
author Tomas Kuthan <tomas.kuthan@oracle.com>
Wed, 11 Jan 2017 12:12:15 -0800
changeset 7560 9732971b7855
parent 7551 d7da0f26b875
child 7687 1093e2a9adbd
permissions -rw-r--r--
23227315 sshd offers GSS-API key exchange despite having no keytab 25135484 auth_root_allowed: clasify 'gssapi-keyex' method as passwordless
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7551
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
     1
#
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
     3
#
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
     7
#
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    12
#
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    18
#
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    20
#
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    21
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    22
#
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    23
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    24
#
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    25
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    26
BUILD_BITS= 64_and_32
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    27
COMPILER  = gcc
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    28
include ../../make-rules/shared-macros.mk
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    29
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    30
COMPONENT_NAME=         snappy
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    31
COMPONENT_VERSION=      1.1.3
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH= \
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    33
    sha256:2f1e82adf0868c9e26a5a7a3115111b6da7e432ddbac268a7ca2fae2a247eef3
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=  https://github.com/google/snappy/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    35
COMPONENT_PROJECT_URL=  http://google.github.io/snappy/
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    36
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    37
TPNO = 31969
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    38
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    39
CONFIGURE_OPTIONS.64 +=    --prefix=$(USRLIBDIR64)
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    40
CONFIGURE_OPTIONS    +=    --prefix=$(USRLIBDIR)
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    41
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    42
include $(WS_MAKE_RULES)/common.mk
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    43
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    44
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
d7da0f26b875 PSARC/2016/619 snappy compression library
Qiang Strony Zhang <strony.zhang@oracle.com>
parents:
diff changeset
    45
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime