Makefile revision 5345
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# CDDL HEADER START
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# The contents of this file are subject to the terms of the
f344f3d40b0d318a7074e8be0d0c58fd44b676f9stevel# Common Development and Distribution License (the "License").
f344f3d40b0d318a7074e8be0d0c58fd44b676f9stevel# You may not use this file except in compliance with the License.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# or http://www.opensolaris.org/os/licensing.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# See the License for the specific language governing permissions
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# and limitations under the License.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# When distributing Covered Code, include this CDDL HEADER in each
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# If applicable, add the following below this CDDL HEADER, with the
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# fields enclosed by brackets "[]" replaced with your own identifying
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# information: Portions Copyright [yyyy] [name of copyright owner]
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# CDDL HEADER END
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
f344f3d40b0d318a7074e8be0d0c58fd44b676f9stevelinclude ../../make-rules/shared-macros.mk
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCOMPONENT_NAME= screen
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCOMPONENT_VERSION= 4.3.1
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCOMPONENT_PROJECT_URL= http://www.gnu.org/software/screen/
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCOMPONENT_ARCHIVE_HASH= \
3db86aab554edbb4244c8d1a1c90f152eee768afstevel sha256:fa4049f8aee283de62e283d427f2cfd35d6c369b40f7f45f947dbfd915699d63
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/screen/$(COMPONENT_ARCHIVE)
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCOMPONENT_BUGDB= utility/screen
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelTPNO= 23486
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelinclude $(WS_MAKE_RULES)/prep.mk
3db86aab554edbb4244c8d1a1c90f152eee768afstevelinclude $(WS_MAKE_RULES)/configure.mk
f344f3d40b0d318a7074e8be0d0c58fd44b676f9stevelinclude $(WS_MAKE_RULES)/ips.mk
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCONFIGURE_OPTIONS += --enable-colors256
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCONFIGURE_OPTIONS += --with-sys-screenrc=/etc/screenrc
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCONFIGURE_OPTIONS += --disable-socket-dir
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# We need to add CC_BITS or we get ld: fatal: wrong ELF class: ELFCLASS64
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCOMPONENT_BUILD_ARGS += LDFLAGS="$(CC_BITS)"
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelPROTOTERMINFODIR=$(PROTOUSRSHAREDIR)/lib/terminfo
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel$(PROTOTERMINFODIR):
f344f3d40b0d318a7074e8be0d0c58fd44b676f9stevel $(MKDIR) $@
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel$(INSTALL_64): $(PROTOTERMINFODIR)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelASLR_MODE = $(ASLR_ENABLE)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelconfigure: $(CONFIGURE_64)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelbuild: $(BUILD_64)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelinstall: $(INSTALL_64)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afsteveltest: $(NO_TESTS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelsystem-test: $(NO_TESTS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelREQUIRED_PACKAGES += system/library
3db86aab554edbb4244c8d1a1c90f152eee768afstevel