components/watch/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 5682 94c0ca64c022
child 7724 6a21365194c1
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4118
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5590
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5590
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
4118
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5590
diff changeset
    25
BUILD_BITS= 64
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5590
diff changeset
    26
COMPILER= gcc
4118
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
include ../../make-rules/shared-macros.mk
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
COMPONENT_NAME=		procps-ng
5590
389554f3c555 22886509 Update watch to version 3.3.11
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    30
COMPONENT_VERSION=	3.3.11
4118
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
COMPONENT_PROJECT_URL=	http://sourceforge.net/projects/procps-ng/
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.xz
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
5590
389554f3c555 22886509 Update watch to version 3.3.11
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    34
    sha256:e9493169a2d2adc0bc045538707310c8e877b385e4e296143b62607d2bb044ed
4118
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)files/Production/$(COMPONENT_ARCHIVE)/download
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB=	utility/watch
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 5682
diff changeset
    37
COMPONENT_ANITYA_ID=	3708
4118
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
5590
389554f3c555 22886509 Update watch to version 3.3.11
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    39
TPNO=			27264
4118
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5590
diff changeset
    41
INSTALL_TARGET= build
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5590
diff changeset
    42
TEST_TARGET= $(NO_TESTS)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5590
diff changeset
    43
include $(WS_MAKE_RULES)/common.mk
4118
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5590
diff changeset
    46
CFLAGS +=			-I$(USRINCDIR)/ncurses
4118
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
# Always show the build and link lines for easier debugging.
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
COMPONENT_BUILD_ARGS +=		V=1
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
# Don't try to link watch with .../proc/libprocps.la as it's not needed.
5590
389554f3c555 22886509 Update watch to version 3.3.11
Rich Burridge <rich.burridge@oracle.com>
parents: 4339
diff changeset
    52
COMPONENT_BUILD_ARGS +=		LDADD=
4118
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    53
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
COMPONENT_BUILD_TARGETS =	watch
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
PKG_PROTO_DIRS += $(BUILD_DIR_64)
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
14c44fb1869d PSARC 2014/394 watch version 3.3.10
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
REQUIRED_PACKAGES +=	library/ncurses