author | April Chin <april.chin@oracle.com> |
Wed, 22 Jan 2014 09:31:02 -0800 | |
branch | s11-update |
changeset 2910 | f8b8cbc43356 |
parent 2787 | f6f36f8682b5 |
child 3037 | ef46824e0e76 |
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 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
38 |
include ../../make-rules/prep.mk |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
39 |
include ../../make-rules/configure.mk |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
40 |
include ../../make-rules/ips.mk |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
41 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
42 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
43 |
CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)" |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
44 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
45 |
# 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
|
46 |
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
|
47 |
COMPONENT_POST_INSTALL_ACTION += \ |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
48 |
/usr/bin/groff -Tascii -mandoc $(SOURCE_DIR)/tmux.1>tmux.1.mod ; \ |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
49 |
mkdir -p $(MANDIR_PREFORMATED) ; \ |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
50 |
$(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
|
51 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
52 |
# common targets |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
53 |
build: $(BUILD_64) |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
54 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
55 |
install: $(INSTALL_64) |
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
56 |
|
f6f36f8682b5
17195662 tmux required for solaris
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
57 |
test: $(NO_TESTS) |
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 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
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 |
include ../../make-rules/depend.mk |