Makefile revision 7292
e9458b1a7a19a63aa4c179f9ab20f4d50681c168Jens Elkner# CDDL HEADER START
073c366331dc2d49c8fa86bdfedec3327dabf05bRazvan Pascanu# The contents of this file are subject to the terms of the
98890889ffb2e8f6f722b00e265a211f13b5a861Corneliu-Claudiu Prodescu# Common Development and Distribution License (the "License").
073c366331dc2d49c8fa86bdfedec3327dabf05bRazvan Pascanu# You may not use this file except in compliance with the License.
073c366331dc2d49c8fa86bdfedec3327dabf05bRazvan Pascanu# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
073c366331dc2d49c8fa86bdfedec3327dabf05bRazvan Pascanu# See the License for the specific language governing permissions
073c366331dc2d49c8fa86bdfedec3327dabf05bRazvan Pascanu# and limitations under the License.
f2e74530dbcb9c1e2a8a696ac4f668219ffd3e6aChristian Maeder# When distributing Covered Code, include this CDDL HEADER in each
073c366331dc2d49c8fa86bdfedec3327dabf05bRazvan Pascanu# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
073c366331dc2d49c8fa86bdfedec3327dabf05bRazvan Pascanu# If applicable, add the following below this CDDL HEADER, with the
f2e74530dbcb9c1e2a8a696ac4f668219ffd3e6aChristian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
f2e74530dbcb9c1e2a8a696ac4f668219ffd3e6aChristian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
8ef91a173e69219fc2ebd45c76a35891c7785abdMarkus Gross# CDDL HEADER END
3ee0a2095e7213b1b7889025658f784ef48426eaRazvan Pascanu# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
f9e4a4d3ad4d22dc66c161da775ee91dc41171e4Christian Maeder sha256:0a9bdea5c7de8ded5c9327ed642915f2cc380753f12d4ad120ef7da3ea3498f4
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder# Needed to make "gmake test" work.
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder# Fix 64-bit linking via compiler.
82b2fa76ca0a5b9cb7d6d058016649f00d356704Christian Maeder# Expects GNU install.
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian MaederCONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/ncurses
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian MaederCONFIGURE_OPTIONS += --with-default-terminfo-dir=$(GNUSHARE)/terminfo
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder# XXX: Ugly hack copied directly from the desktop SUNWncurses.spec file:
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder# The sun-color terminfo included in ncurses does not work;
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder# copying the one shipped with Sun's curses fixes it:
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder $(CP) /usr/share/lib/terminfo/s/sun-color \
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder# We only deliver 64-bit binaries and in /usr/bin.
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder $(GSED) -i -e 's|$(GNUBIN)/i86|$(GNUBIN)|' \
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder# There is no master test file because tests are interactive and not
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder# tied to the build.
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian MaederCOMPONENT_TEST_DIR = $(BUILD_DIR)/$(MACH$(BITS))/test
a43c1a7fa08c12524415386aa13a566cc9e53a4fChristian Maeder# Required by this Makefile.