Makefile revision 1348
d8fe750649d3c87ea141981dde0182e879e27892Daniel Couto Vale# CDDL HEADER START
432ee743a5f1c5688c73446b5977b06ed97fb67cJulian Kornberger# The contents of this file are subject to the terms of the
d0e19b833d7f9c691a36342c365029720c095742henning mueller# Common Development and Distribution License (the "License").
d0e19b833d7f9c691a36342c365029720c095742henning mueller# You may not use this file except in compliance with the License.
7a522a1916e13f0cdbf191f633a4fc2523444038Daniel Couto Vale# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ec96c6e3605c2e9eb5c0113e4e1b07b3b5228c8chenning mueller# or http://www.opensolaris.org/os/licensing.
d8fe750649d3c87ea141981dde0182e879e27892Daniel Couto Vale# See the License for the specific language governing permissions
22e260fcd85642794d99c2ffaa333f2ef6ed7828Daniel Couto Vale# and limitations under the License.
9f820b8418985826ffbe714a8c509ff34db315a7Julian Kornberger# When distributing Covered Code, include this CDDL HEADER in each
d95c0de1fbdb66e2aa8d2dc223ad554413f1dc87Julian Kornberger# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
77ccd99c84e9f4689ffa28fc7f0870ab5d4803bdIngo Becker# If applicable, add the following below this CDDL HEADER, with the
8909576a7720b882ab11c3916bd02154f2fa65fchenning mueller# fields enclosed by brackets "[]" replaced with your own identifying
cad2121a9e9a87317333b202956ce7478efcc257henning mueller# information: Portions Copyright [yyyy] [name of copyright owner]
20c94fa632f5b9a5a1b2fbc28fa46f2afe7c65c2Tim Reddehase# CDDL HEADER END
0cd37f42517da8081f1e90a0fdfbb82a526c1704henning mueller# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
d8fe750649d3c87ea141981dde0182e879e27892Daniel Couto ValeCOMPONENT_PROJECT_URL= http://www.gnu.org/software/ncurses/
555b7fd96768daf9592e7ddbd4217d784b08e451henning muellerCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
8d3c173a1529b595399b5a2523a84e0aba912a07Eugen Kuksa sha256:0a9bdea5c7de8ded5c9327ed642915f2cc380753f12d4ad120ef7da3ea3498f4
772a71bcc07f7001f5cd3cb4c3dc2cf393ffe9beJulian KornbergerCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
7ef46b1adca473f664769a44a378e9f08385d3a0Julian Kornberger# Needed to make "gmake test" work.
d8fe750649d3c87ea141981dde0182e879e27892Daniel Couto Vale# Needed to correctly build that 64-bit library.
a2cfedf970eadd36fa2b5e81c2e8a24396a86792Daniel Couto ValeCONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/ncurses
a2cfedf970eadd36fa2b5e81c2e8a24396a86792Daniel Couto Vale# Needed to pass -m32 or -m64 to the C/C++ compiler and linker.
46dd7ca898be6d5dbdfda64fd90ce01e253c0878Julian Kornberger# XXX: Ugly hack copied directly from the desktop SUNWncurses.spec file:
0075dcb5aeeee4864fe9f64db82c8a8202bbe6d6henning mueller# The sun-color terminfo included in ncurses does not work;
test: $(BUILD_32_and_64)