author | John Beck <John.Beck@Oracle.COM> |
Fri, 21 Nov 2014 16:37:26 -0800 | |
changeset 2225 | f064d3d3190d |
parent 1948 | 2d1537e7942d |
child 3717 | b16a04ab5d50 |
permissions | -rw-r--r-- |
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 |
# |
1787
e27e5d7811bf
17605535 tmux manpage is corrupt.
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
1476
diff
changeset
|
23 |
# Copyright (c) 2013, 2014, 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 |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 1.8 |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
31 |
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
|
32 |
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
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
34 |
sha256:2565b65f80bf1d683032c75704a9619e6734fd21586c72768ef27427ba9e23e5 |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/tmux/files/tmux/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE) |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= utility/tmux |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
37 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1787
diff
changeset
|
38 |
TPNO= 14287 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1787
diff
changeset
|
39 |
|
1476
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
40 |
include ../../make-rules/prep.mk |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
41 |
include ../../make-rules/configure.mk |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
42 |
include ../../make-rules/ips.mk |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
43 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
44 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
45 |
CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)" |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
46 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
47 |
# nroff does not work with -mandoc using groff |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
48 |
MANDIR_PREFORMATED= $(PROTO_DIR)/usr/share/man/cat1 |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
49 |
COMPONENT_POST_INSTALL_ACTION += \ |
1787
e27e5d7811bf
17605535 tmux manpage is corrupt.
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
1476
diff
changeset
|
50 |
/usr/bin/gnroff -c -Tascii -mandoc $(SOURCE_DIR)/tmux.1>tmux.1.mod ; \ |
1476
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
51 |
mkdir -p $(MANDIR_PREFORMATED) ; \ |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
52 |
$(MV) tmux.1.mod $(MANDIR_PREFORMATED)/tmux.1 |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
53 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
54 |
# Enable ASLR for this component |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
55 |
ASLR_MODE = $(ASLR_ENABLE) |
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 |
# common targets |
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
58 |
configure: $(CONFIGURE_64) |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
59 |
|
1476
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
60 |
build: $(BUILD_64) |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
61 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
62 |
install: $(INSTALL_64) |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
63 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
64 |
test: $(NO_TESTS) |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
65 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
66 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
67 |
|
ab7bed457fe6
PSARC 2013/270 tmux version 1.8
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
68 |
include ../../make-rules/depend.mk |