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