Makefile revision 1625
d4ab9cd94f0fe0cf24ba36d21240215ae648c8d5James Brister# CDDL HEADER START
d4ab9cd94f0fe0cf24ba36d21240215ae648c8d5James Brister# The contents of this file are subject to the terms of the
080a4fe83c3ad208073bffbce1a2af8fe444214fMichael Sawyer# Common Development and Distribution License (the "License").
080a4fe83c3ad208073bffbce1a2af8fe444214fMichael Sawyer# You may not use this file except in compliance with the License.
36007b707f28f36864e8d76f11379b22e9737538Michael Sawyer# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
36007b707f28f36864e8d76f11379b22e9737538Michael Sawyer# See the License for the specific language governing permissions
375f19cfb2f9cf5a9efbc65b557a8ce865de85c2Michael Sawyer# and limitations under the License.
375f19cfb2f9cf5a9efbc65b557a8ce865de85c2Michael Sawyer# When distributing Covered Code, include this CDDL HEADER in each
375f19cfb2f9cf5a9efbc65b557a8ce865de85c2Michael Sawyer# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
375f19cfb2f9cf5a9efbc65b557a8ce865de85c2Michael Sawyer# If applicable, add the following below this CDDL HEADER, with the
375f19cfb2f9cf5a9efbc65b557a8ce865de85c2Michael Sawyer# fields enclosed by brackets "[]" replaced with your own identifying
9bef4575d71a084edf59ac681e53e35ae1b72166Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
9bef4575d71a084edf59ac681e53e35ae1b72166Andreas Gustafsson# CDDL HEADER END
87f4c7933fd2962cca3b9b7e046327f3c6306b84Andreas Gustafsson# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
87f4c7933fd2962cca3b9b7e046327f3c6306b84Andreas GustafssonCOMPONENT_PROJECT_URL= http://www.gnu.org/software/ncurses/
c35f1e59379ff961b56163dd463b623898e2d0f6James BristerCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
c35f1e59379ff961b56163dd463b623898e2d0f6James Brister sha256:0a9bdea5c7de8ded5c9327ed642915f2cc380753f12d4ad120ef7da3ea3498f4
c35f1e59379ff961b56163dd463b623898e2d0f6James BristerCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
9a8fea7bc8fb79ff1d31f0a2ba3c9694041c6f3aAndreas Gustafsson# Needed to make "gmake test" work.
c49e3222b0912479015161e8b54a67a1abf9a0ffAndreas Gustafsson# Needed to correctly build that 64-bit library.
178f73169a27ac031f58863ae12cdb33dc15f6c4Brian WellingtonCONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/ncurses
178f73169a27ac031f58863ae12cdb33dc15f6c4Brian Wellington# Needed to pass -m32 or -m64 to the C/C++ compiler and linker.
0e65062acb2b0d14ab64e0c7ae7eb4137758339bAndreas Gustafsson# XXX: Ugly hack copied directly from the desktop SUNWncurses.spec file:
64024eaa4d029b0bd090c435b8b02b45eef5cd89Andreas Gustafsson# The sun-color terminfo included in ncurses does not work;
da527e4ff6a013364826637963e7ac372e024f33David Lawrence# copying the one shipped with Sun's curses fixes it:
ce2be9b7211ab5bacaa10fe74ef35def3a3f6089David Lawrence# common targets