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