Makefile revision 6581
248N/A#
248N/A# CDDL HEADER START
248N/A#
248N/A# The contents of this file are subject to the terms of the
248N/A# Common Development and Distribution License (the "License").
248N/A# You may not use this file except in compliance with the License.
248N/A#
248N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
248N/A# or http://www.opensolaris.org/os/licensing.
248N/A# See the License for the specific language governing permissions
248N/A# and limitations under the License.
248N/A#
248N/A# When distributing Covered Code, include this CDDL HEADER in each
248N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
248N/A# If applicable, add the following below this CDDL HEADER, with the
248N/A# fields enclosed by brackets "[]" replaced with your own identifying
248N/A# information: Portions Copyright [yyyy] [name of copyright owner]
248N/A#
248N/A# CDDL HEADER END
248N/A#
248N/A
248N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
248N/A#
5680N/ABUILD_BITS= 64
6581N/ACOMPILER= gcc
1780N/Aexport PARFAIT_BUILD=no
6581N/A
248N/Ainclude ../../make-rules/shared-macros.mk
248N/A
248N/ACOMPONENT_NAME= rtorrent
248N/ACOMPONENT_VERSION= 0.8.2
248N/ACOMPONENT_PROJECT_URL= http://libtorrent.rakshasa.no/
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:76135a63869e43fa0392829bb45d94c0aa55e94350dddc272685ccfac1bbb2ed
248N/ACOMPONENT_ARCHIVE_URL= http://libtorrent.rakshasa.no/downloads/$(COMPONENT_ARCHIVE)
248N/A
2899N/ATPNO= 8824
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
6581N/A
6581N/A# Needs updated sigcpp, not available on S11.
6581N/Aifeq ($(BUILD_TYPE), evaluation)
6581N/ABUILD_64=
6581N/AINSTALL_64=
6581N/APUBLISH_STAMP=
6581N/Aendif
6581N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
248N/A
248N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
248N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
248N/A
4086N/A# requires an older automake to reconfigure
248N/ACOMPONENT_PREP_ACTION = \
248N/A (cd $(@D) ; \
4086N/A aclocal-1.11 -I./scripts -I. ; \
248N/A autoheader; \
248N/A libtoolize --automake --copy --force; \
4086N/A automake-1.11; \
248N/A autoconf )
248N/A
6581N/ACXXFLAGS += -std=c++11
248N/A
6581N/ALDFLAGS += -L$(GNULIB64) -R$(GNULIB64)
4963N/Aifeq ($(OS_VERSION),5.11)
4963N/ALDFLAGS += -lnsl -lsocket
4963N/Aendif
248N/A
5680N/ACXXFLAGS += -I$(USRINCDIR)/ncurses
2465N/ACONFIGURE_OPTIONS.64 += --srcdir=$(BUILD_DIR_64)
248N/ACONFIGURE_OPTIONS += --disable-debug
248N/A
6581N/A# Delete this when libtorrent is updated in the build servers
6581N/ALIBTORRENT_BASE = $(WS_COMPONENTS)/libtorrent/build/prototype/$(MACH)
6581N/APKG_CONFIG_PATHS += $(LIBTORRENT_BASE)$(PKG_CONFIG_PATH.$(BITS))
6581N/ALD_OPTIONS += -L$(LIBTORRENT_BASE)$(USRLIB.$(BITS))
6581N/ACXXFLAGS += -I$(LIBTORRENT_BASE)$(USRINCDIR)/torrent
6581N/ACOMPONENT_BUILD_ENV += LD_LIBRARY_PATH_$(BITS)="$(LIBTORRENT_BASE)$(USRLIB.$(BITS))"
6581N/A#end Delete
6581N/A
5680N/AREQUIRED_PACKAGES += developer/build/automake-111
3817N/AREQUIRED_PACKAGES += library/c++/sigcpp
3817N/AREQUIRED_PACKAGES += library/libtorrent
3817N/AREQUIRED_PACKAGES += library/ncurses
3817N/AREQUIRED_PACKAGES += system/library/c++-runtime
6581N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
6581N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
3817N/AREQUIRED_PACKAGES += system/library/math
3817N/AREQUIRED_PACKAGES += web/curl