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