Makefile revision 844
217N/A#
217N/A# CDDL HEADER START
217N/A#
217N/A# The contents of this file are subject to the terms of the
217N/A# Common Development and Distribution License (the "License").
217N/A# You may not use this file except in compliance with the License.
217N/A#
217N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
217N/A# or http://www.opensolaris.org/os/licensing.
217N/A# See the License for the specific language governing permissions
217N/A# and limitations under the License.
217N/A#
217N/A# When distributing Covered Code, include this CDDL HEADER in each
217N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
217N/A# If applicable, add the following below this CDDL HEADER, with the
217N/A# fields enclosed by brackets "[]" replaced with your own identifying
217N/A# information: Portions Copyright [yyyy] [name of copyright owner]
217N/A#
217N/A# CDDL HEADER END
217N/A#
217N/A
217N/A#
844N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
217N/A#
217N/A
217N/A# we really need to use studio, mostly because that's what
217N/A# sigc++ uses, so we don't like that parfait is g++ in disguise
217N/APARFAIT_BUILD=no
296N/A
217N/Ainclude ../../make-rules/shared-macros.mk
618N/A
217N/ACOMPONENT_NAME= rtorrent
844N/ACOMPONENT_VERSION= 0.8.2
844N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
217N/ACOMPONENT_PROJECT_URL= http://libtorrent.rakshasa.no/
1273N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
217N/ACOMPONENT_ARCHIVE_HASH= \
217N/A sha256:76135a63869e43fa0392829bb45d94c0aa55e94350dddc272685ccfac1bbb2ed
217N/ACOMPONENT_ARCHIVE_URL= http://libtorrent.rakshasa.no/downloads/$(COMPONENT_ARCHIVE)
217N/A
217N/Ainclude ../../make-rules/prep.mk
217N/Ainclude ../../make-rules/configure.mk
217N/Ainclude ../../make-rules/ips.mk
217N/A
217N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
217N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
217N/A
217N/ACOMPONENT_PREP_ACTION = \
217N/A (cd $(@D) ; \
217N/A aclocal -I./scripts -I. ; \
217N/A autoheader; \
217N/A libtoolize --automake --copy --force; \
217N/A automake; \
217N/A autoconf )
217N/A
217N/A# this is needed or we can't compile the rak headers
217N/ACC=$(CXX)
LDFLAGS += -L/usr/gnu/lib -R/usr/gnu/lib -lnsl -lsocket
CXXFLAGS += -i
CXXFLAGS += -xspace
CXXFLAGS += $(studio_XREGS)
CXXFLAGS += -I/usr/include/ncurses
CONFIGURE_OPTIONS.32 += --srcdir=$(BUILD_DIR_32)
CONFIGURE_OPTIONS += --disable-debug
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk