Makefile revision 3817
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#
3717N/A# Copyright (c) 2013, 2015, 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
3717N/ACOMPONENT_VERSION= 1.9
3717N/ACOMPONENT_MICRO_VERSION= a
3717N/AIPS_COMPONENT_VERSION= 1.9.1
3717N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)$(COMPONENT_MICRO_VERSION)
2012N/ACOMPONENT_PROJECT_URL= http://tmux.sourceforge.net
2012N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
2012N/ACOMPONENT_ARCHIVE_HASH= \
3717N/A sha256:c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5
3717N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/tmux/files/tmux/$(COMPONENT_NAME)-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
2012N/ACOMPONENT_BUGDB= utility/tmux
2012N/A
3717N/ATPNO= 20510
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_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 += \
2563N/A /usr/bin/gnroff -c -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
3477N/Aconfigure: $(CONFIGURE_64)
3477N/A
2012N/Abuild: $(BUILD_64)
2012N/A
2012N/Ainstall: $(INSTALL_64)
2012N/A
2012N/Atest: $(NO_TESTS)
2012N/A
2012N/A
3817N/AREQUIRED_PACKAGES += library/libevent
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/library