Makefile revision 3768
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Common Development and Distribution License (the "License").
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You may not use this file except in compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# we really need to use studio, mostly because that's what
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill Cunnington# sigc++ uses, so we don't like that parfait is g++ in disguise
ce4d3fddc8fe2eddd68a20af9570b3cc63ece5abNeil MaddenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
ce4d3fddc8fe2eddd68a20af9570b3cc63ece5abNeil MaddenCOMPONENT_PROJECT_URL= http://libtorrent.rakshasa.no/
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill Cunnington sha256:cf9d2cd667fd6939a3e0bd27e48d0c7f35d9ab2f7affbb3214da03fd2c1360a8
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill CunningtonCOMPONENT_ARCHIVE_URL= http://libtorrent.rakshasa.no/downloads/$(COMPONENT_ARCHIVE)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Although -norunpath is set for CXXFLAGS, we need to put -norunpath
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# here, otherwise -norunpath doesn't get set when creating the shared
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# libraries (CC -G).
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# this is needed or we can't compile the rak headers
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill CunningtonCONFIGURE_OPTIONS.32 += --srcdir=$(BUILD_DIR_32)
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill CunningtonCONFIGURE_OPTIONS.64 += --srcdir=$(BUILD_DIR_64)
bee2440354b4bc8796e1de0b6cbd60e1f68deba0Phill Cunnington# common targets