components/smartmontools/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Wed, 19 Apr 2017 14:10:37 -0700
changeset 7917 39eb760cd391
permissions -rw-r--r--
PSARC 2017/013 smartmontools - version 6.5 18324331 Include smartmontools in Solaris
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7917
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
BUILD_BITS= 64
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
include ../../make-rules/shared-macros.mk
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
COMPONENT_NAME=		smartmontools
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
COMPONENT_VERSION=	6.5
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
COMPONENT_PROJECT_URL=	https://www.smartmontools.org/
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
COMPONENT_ARCHIVE_HASH=	\
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
    sha256:89e8bb080130bc6ce148573ba5bb91bfe30236b64b1b5bbca26515d4b5c945bc
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=	http://sourceforge.net/projects/$(COMPONENT_NAME)/files/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
COMPONENT_ANITYA_ID=	4835
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
TPNO=			33534
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
TEST_TARGET=	$(NO_TESTS)
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
include $(WS_MAKE_RULES)/common.mk
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
# Run automake to pickup man page normalization changes.
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
COMPONENT_PREP_ACTION = (cd $(@D) ; automake)
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
CONFIGURE_OPTIONS +=	--sysconfdir=$(ETCDIR)
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
39eb760cd391 PSARC 2017/013 smartmontools - version 6.5
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
REQUIRED_PACKAGES += system/library/c++-runtime