components/tmux/Makefile
author Jiri Sasek <Jiri.Sasek@Oracle.COM>
Thu, 21 Jan 2016 07:53:27 -0800
changeset 5334 30ec36f36c89
parent 4339 6501cf9c29f9
child 5682 94c0ca64c022
permissions -rw-r--r--
22557112 avahi should migrate from pygtk2 to pygobject3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1476
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     1
#
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     3
#
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     7
#
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    12
#
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    18
#
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    20
#
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    21
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    22
#
3717
b16a04ab5d50 19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents: 2225
diff changeset
    23
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1476
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    24
#
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    25
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    27
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		tmux
3717
b16a04ab5d50 19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents: 2225
diff changeset
    29
COMPONENT_VERSION=	1.9
b16a04ab5d50 19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents: 2225
diff changeset
    30
COMPONENT_MICRO_VERSION=	a
b16a04ab5d50 19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents: 2225
diff changeset
    31
IPS_COMPONENT_VERSION=	1.9.1
b16a04ab5d50 19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents: 2225
diff changeset
    32
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)$(COMPONENT_MICRO_VERSION)
1476
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    33
COMPONENT_PROJECT_URL=	http://tmux.sourceforge.net
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_HASH=	\
3717
b16a04ab5d50 19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents: 2225
diff changeset
    36
    sha256:c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5
b16a04ab5d50 19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents: 2225
diff changeset
    37
COMPONENT_ARCHIVE_URL=	http://sourceforge.net/projects/tmux/files/tmux/$(COMPONENT_NAME)-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
1476
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    38
COMPONENT_BUGDB=	utility/tmux
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    39
3717
b16a04ab5d50 19622198 Update tmux to 1.9
Peter Schow <peter.schow@oracle.com>
parents: 2225
diff changeset
    40
TPNO=			20510
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1787
diff changeset
    41
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3717
diff changeset
    42
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3717
diff changeset
    43
include $(WS_MAKE_RULES)/configure.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3717
diff changeset
    44
include $(WS_MAKE_RULES)/ips.mk
1476
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    45
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    46
CONFIGURE_OPTIONS  +=	CFLAGS="$(CFLAGS)"
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    47
CONFIGURE_OPTIONS  +=	CXXFLAGS="$(CXXFLAGS)"
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    48
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    49
# Enable ASLR for this component
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    50
ASLR_MODE = $(ASLR_ENABLE)
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    51
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    52
# common targets
2225
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    53
configure:	$(CONFIGURE_64)
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    54
1476
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    55
build:		$(BUILD_64)
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    56
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    57
install:	$(INSTALL_64)
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    58
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    59
test:		$(NO_TESTS)
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    60
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3917
diff changeset
    61
system-test:    $(NO_TESTS)
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3917
diff changeset
    62
1476
ab7bed457fe6 PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff changeset
    63
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3717
diff changeset
    64
REQUIRED_PACKAGES += library/libevent
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3717
diff changeset
    65
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3717
diff changeset
    66
REQUIRED_PACKAGES += system/library