Makefile revision 3533
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# CDDL HEADER START
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# The contents of this file are subject to the terms of the
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# Common Development and Distribution License (the "License").
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# You may not use this file except in compliance with the License.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# or http://www.opensolaris.org/os/licensing.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# See the License for the specific language governing permissions
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# and limitations under the License.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# When distributing Covered Code, include this CDDL HEADER in each
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# If applicable, add the following below this CDDL HEADER, with the
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# fields enclosed by brackets "[]" replaced with your own identifying
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# information: Portions Copyright [yyyy] [name of copyright owner]
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# CDDL HEADER END
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
681d9761e8516a7dc5ab6589e2dfe717777e1123Eric Taylorinclude ../../make-rules/shared-macros.mk
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_NAME= screen
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_VERSION= 4.0.3
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_PROJECT_URL= http://www.gnu.org/software/screen/
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_ARCHIVE_HASH= \
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai sha256:78f0d5b1496084a5902586304d4a73954b2bfe33ea13edceecf21615c39e6c77
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/screen/$(COMPONENT_ARCHIVE)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_BUGDB= utility/screen
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiTPNO= 8940
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiinclude ../../make-rules/prep.mk
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiinclude ../../make-rules/configure.mk
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiinclude ../../make-rules/ips.mk
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --enable-colors256
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --with-sys-screenrc=/etc/screenrc
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --disable-socket-dir
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# We need to add CC_BITS or we get ld: fatal: wrong ELF class: ELFCLASS64
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiCOMPONENT_BUILD_ARGS += LDFLAGS="$(CC_BITS)"
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiPROTOTERMINFODIR=$(PROTOUSRSHAREDIR)/lib/terminfo
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai$(PROTOTERMINFODIR):
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai $(MKDIR) $@
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai$(INSTALL_64): $(PROTOTERMINFODIR)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiASLR_MODE = $(ASLR_ENABLE)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiconfigure: $(CONFIGURE_64)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaibuild: $(BUILD_64)
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg
d62bc4badc1c1f1549c961cfb8b420e650e1272byzinstall: $(INSTALL_64)
681d9761e8516a7dc5ab6589e2dfe717777e1123Eric Taylor
0a0e9771ca0211c15f3ac4466b661c145feeb9e4Darren Reedtest: $(NO_TESTS)
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Loweinclude ../../make-rules/depend.mk
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe