Makefile revision 2344
1787N/A#
1787N/A# CDDL HEADER START
1787N/A#
1787N/A# The contents of this file are subject to the terms of the
1787N/A# Common Development and Distribution License (the "License").
1787N/A# You may not use this file except in compliance with the License.
1787N/A#
1787N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1787N/A# or http://www.opensolaris.org/os/licensing.
1787N/A# See the License for the specific language governing permissions
1787N/A# and limitations under the License.
1787N/A#
1787N/A# When distributing Covered Code, include this CDDL HEADER in each
1787N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1787N/A# If applicable, add the following below this CDDL HEADER, with the
1787N/A# fields enclosed by brackets "[]" replaced with your own identifying
1787N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1787N/A#
1787N/A# CDDL HEADER END
1787N/A#
1787N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
1787N/A#
1787N/Ainclude ../../make-rules/shared-macros.mk
1787N/A
1787N/ACOMPONENT_NAME= screen
1787N/ACOMPONENT_VERSION= 4.0.3
1787N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/screen/
1787N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1787N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
1787N/ACOMPONENT_ARCHIVE_HASH= \
1787N/A sha256:78f0d5b1496084a5902586304d4a73954b2bfe33ea13edceecf21615c39e6c77
1787N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/screen/$(COMPONENT_ARCHIVE)
1787N/ACOMPONENT_BUGDB= utility/screen
1787N/A
1787N/Ainclude ../../make-rules/prep.mk
1787N/Ainclude ../../make-rules/configure.mk
1787N/Ainclude ../../make-rules/ips.mk
1787N/A
1787N/ACONFIGURE_OPTIONS += --enable-colors256
1787N/ACONFIGURE_OPTIONS += --with-sys-screenrc=/etc/screenrc
1787N/ACONFIGURE_OPTIONS += --disable-socket-dir
1825N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
1825N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
1825N/A# We need to add CC_BITS or we get ld: fatal: wrong ELF class: ELFCLASS64
1787N/ACOMPONENT_BUILD_ARGS += LDFLAGS="$(CC_BITS)"
1787N/A
1787N/APROTOTERMINFODIR=$(PROTOUSRSHAREDIR)/lib/terminfo
1787N/A
1787N/A$(PROTOTERMINFODIR):
1787N/A $(MKDIR) $@
1787N/A
1787N/A$(INSTALL_64): $(PROTOTERMINFODIR)
1787N/A
1787N/AASLR_MODE = $(ASLR_ENABLE)
1787N/A
1787N/Abuild: $(BUILD_64)
1787N/A
1787N/Ainstall: $(INSTALL_64)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk