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