Makefile revision 2012
2012N/A#
2012N/A# CDDL HEADER START
2012N/A#
2012N/A# The contents of this file are subject to the terms of the
2012N/A# Common Development and Distribution License (the "License").
2012N/A# You may not use this file except in compliance with the License.
2012N/A#
2012N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2012N/A# or http://www.opensolaris.org/os/licensing.
2012N/A# See the License for the specific language governing permissions
2012N/A# and limitations under the License.
2012N/A#
2012N/A# When distributing Covered Code, include this CDDL HEADER in each
2012N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2012N/A# If applicable, add the following below this CDDL HEADER, with the
2012N/A# fields enclosed by brackets "[]" replaced with your own identifying
2012N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2012N/A#
2012N/A# CDDL HEADER END
2012N/A#
2012N/A
2012N/A#
2012N/A# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
2012N/A#
2012N/A
2012N/Ainclude ../../make-rules/shared-macros.mk
2012N/A
2012N/ACOMPONENT_NAME= tmux
2012N/ACOMPONENT_VERSION= 1.8
2012N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2012N/ACOMPONENT_PROJECT_URL= http://tmux.sourceforge.net
2012N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2012N/ACOMPONENT_ARCHIVE_HASH= \
2012N/A sha256:2565b65f80bf1d683032c75704a9619e6734fd21586c72768ef27427ba9e23e5
2012N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/tmux/files/tmux/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)
2012N/ACOMPONENT_BUGDB= utility/tmux
2012N/A
2012N/Ainclude ../../make-rules/prep.mk
2012N/Ainclude ../../make-rules/configure.mk
2012N/Ainclude ../../make-rules/ips.mk
2012N/A
2012N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
2012N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
2012N/A
2012N/A# nroff does not work with -mandoc using groff
2012N/AMANDIR_PREFORMATED= $(PROTO_DIR)/usr/share/man/cat1
2012N/ACOMPONENT_POST_INSTALL_ACTION += \
2012N/A /usr/bin/groff -Tascii -mandoc $(SOURCE_DIR)/tmux.1>tmux.1.mod ; \
2012N/A mkdir -p $(MANDIR_PREFORMATED) ; \
2012N/A $(MV) tmux.1.mod $(MANDIR_PREFORMATED)/tmux.1
2012N/A
2012N/A# Enable ASLR for this component
2012N/AASLR_MODE = $(ASLR_ENABLE)
2012N/A
2012N/A# common targets
2012N/Abuild: $(BUILD_64)
2012N/A
2012N/Ainstall: $(INSTALL_64)
2012N/A
2012N/Atest: $(NO_TESTS)
2012N/A
2012N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2012N/A
2012N/Ainclude ../../make-rules/depend.mk