author | John Beck <John.Beck@Oracle.COM> |
Sat, 17 Jan 2015 09:17:37 -0800 | |
branch | s11-update |
changeset 3661 | 47545fb8aed4 |
parent 3037 | ef46824e0e76 |
child 3954 | 7e6addf418e2 |
permissions | -rw-r--r-- |
2787
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
1 |
# |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
3 |
# |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
7 |
# |
f6f36f8682b5
17195662 tmux required for solaris
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 |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
12 |
# |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
18 |
# |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
20 |
# |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
21 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
22 |
# |
2910
f8b8cbc43356
15801420 SUNBT7180909 tag the Userland consolidation binaries for ASLR
April Chin <april.chin@oracle.com>
parents:
2787
diff
changeset
|
23 |
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
2787
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
24 |
# |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
25 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
27 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= tmux |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 1.8 |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://tmux.sourceforge.net |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
34 |
sha256:2565b65f80bf1d683032c75704a9619e6734fd21586c72768ef27427ba9e23e5 |
f6f36f8682b5
17195662 tmux required for solaris
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) |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
36 |
COMPONENT_BUGDB= utility/tmux |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
37 |
|
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
3037
diff
changeset
|
38 |
TPNO= 14287 |
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
3037
diff
changeset
|
39 |
|
2787
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
40 |
include ../../make-rules/prep.mk |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
41 |
include ../../make-rules/configure.mk |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
42 |
include ../../make-rules/ips.mk |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
43 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
44 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
45 |
CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)" |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
46 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
47 |
# nroff does not work with -mandoc using groff |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
48 |
MANDIR_PREFORMATED= $(PROTO_DIR)/usr/share/man/cat1 |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
49 |
COMPONENT_POST_INSTALL_ACTION += \ |
3037
ef46824e0e76
17605535 tmux manpage is corrupt.
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
2910
diff
changeset
|
50 |
/usr/bin/gnroff -c -Tascii -mandoc $(SOURCE_DIR)/tmux.1>tmux.1.mod ; \ |
2787
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
51 |
mkdir -p $(MANDIR_PREFORMATED) ; \ |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
52 |
$(MV) tmux.1.mod $(MANDIR_PREFORMATED)/tmux.1 |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
53 |
|
3037
ef46824e0e76
17605535 tmux manpage is corrupt.
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
2910
diff
changeset
|
54 |
ASLR_MODE=$(ASLR_ENABLE) |
ef46824e0e76
17605535 tmux manpage is corrupt.
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
2910
diff
changeset
|
55 |
|
2787
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
56 |
# common targets |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
57 |
build: $(BUILD_64) |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
58 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
59 |
install: $(INSTALL_64) |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
60 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
61 |
test: $(NO_TESTS) |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
62 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
63 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
64 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
65 |
include ../../make-rules/depend.mk |