Makefile revision 1258
200N/A#
200N/A# CDDL HEADER START
200N/A#
200N/A# The contents of this file are subject to the terms of the
200N/A# Common Development and Distribution License (the "License").
200N/A# You may not use this file except in compliance with the License.
200N/A#
200N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
200N/A# or http://www.opensolaris.org/os/licensing.
200N/A# See the License for the specific language governing permissions
200N/A# and limitations under the License.
200N/A#
200N/A# When distributing Covered Code, include this CDDL HEADER in each
200N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
200N/A# If applicable, add the following below this CDDL HEADER, with the
200N/A# fields enclosed by brackets "[]" replaced with your own identifying
200N/A# information: Portions Copyright [yyyy] [name of copyright owner]
200N/A#
200N/A# CDDL HEADER END
200N/A#
200N/A
200N/A#
5452N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
200N/A#
5852N/A
5852N/Ainclude ../../make-rules/shared-macros.mk
200N/A
200N/APATH=$(dir $(CC)):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
5776N/A
206N/ACOMPONENT_NAME= subversion
200N/ACOMPONENT_VERSION= 1.7.5
5852N/ACOMPONENT_PROJECT_URL= http://subversion.apache.org/
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
844N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
5852N/ACOMPONENT_ARCHIVE_HASH= \
903N/A sha256:cb102a437335a8921f00cef9bf730d84527713f1a5091e3e1eb2f16402f85dc1
1258N/ACOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/subversion/$(COMPONENT_ARCHIVE)
200N/ACOMPONENT_BUGDB= utility/svn
5852N/A
200N/Ainclude ../../make-rules/prep.mk
5776N/Ainclude ../../make-rules/configure.mk
5769N/Ainclude ../../make-rules/ips.mk
5852N/A
200N/APATCH_LEVEL = 0
5776N/A
200N/APYMODS = client core delta fs ra repos wc
5852N/A
206N/APLMODS= Fs Core Wc Client Repos Ra Delta
206N/A
206N/AJAVA_ROOT = $(JAVA_HOME)
5852N/A
206N/A# because we can't seem to get -norunpath to the java bindings build any
200N/A# other way.
206N/ACXX += $(studio_NORUNPATH)
5852N/A
1625N/ACFLAGS += -features=extensions
5852N/ACFLAGS += -xustr=ascii_utf16_ushort -xcsi
206N/ACXXFLAGS += -features=nestedaccess,tmplife,tmplrefstatic
206N/ACXXFLAGS += -template=geninlinefuncs
5852N/ACXXFLAGS += -verbose=template
5852N/ACXXFLAGS += -xustr=ascii_utf16_ushort
5852N/ACXXFLAGS += $(CC_PIC)
5852N/ACXXFLAGS += -mt -D_REENTRANT -DNDEBUG -DSOLARIS
5852N/ACFLAGS += `pkg-config --cflags neon`
5852N/ACFLAGS += $(CPP_LARGEFILES)
5852N/A
4203N/A# Let's write some post-configure hacks
4203N/ACOMPONENT_POST_CONFIGURE_ACTION = \
4203N/A ( $(CLONEY) $(SOURCE_DIR) $(@D) ; \
3865N/A cd $(SOURCE_DIR) ; \
3865N/A $(PYTHON) ./build/transform_sql.py ./subversion/libsvn_fs_fs/rep-cache-db.sql < ./subversion/libsvn_fs_fs/rep-cache-db.sql > $(BUILD_DIR_32)/subversion/libsvn_fs_fs/rep-cache-db.h 2>&1 )
3865N/A
3865N/ACOMPONENT_BUILD_TARGETS = all swig-py swig-pl javahl
5852N/ACOMPONENT_INSTALL_TARGETS = install install-lib \
5852N/A install-swig-pl install-swig-py \
5852N/A install-javahl install-javahl-lib \
3865N/A install-mods-shared \
3865N/A install-bin install-docs
3865N/A
3865N/ACONFIGURE_ENV += CC="$(CC)"
3865N/ACONFIGURE_ENV += CXX="$(CXX)"
5852N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
5852N/ACONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
5852N/ACONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
5852N/ACONFIGURE_ENV += PYTHON="$(PYTHON)"
5852N/ACONFIGURE_ENV += PYMODS="$(PYMODS)"
5852N/ACONFIGURE_ENV += PYTHONPATH="$(PYTHON_VENDOR_PACKAGES)"
5852N/ACONFIGURE_ENV += JAVA_ROOT="$(JAVA_ROOT)"
5852N/ACONFIGURE_ENV += PERL="$(PERL)"
5852N/ACONFIGURE_ENV += PLMODS="$(PLMODS)"
5852N/A
5852N/A# Let's make noise just because we have to override --libdir
5852N/ACONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
3865N/ACONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
3865N/ACONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
1625N/ACONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_SBINDIR.$(BITS))
5852N/ACONFIGURE_OPTIONS += --libdir=$(CONFIGURE_PREFIX)/lib/svn
5852N/ACONFIGURE_OPTIONS += --localstatedir=/var
5852N/ACONFIGURE_OPTIONS += --enable-shared
5852N/ACONFIGURE_OPTIONS += --disable-static
5852N/ACONFIGURE_OPTIONS += --disable-libtool-lock
5852N/ACONFIGURE_OPTIONS += --disable-neon-version-check
200N/ACONFIGURE_OPTIONS += --disable-experimental-libtool
200N/ACONFIGURE_OPTIONS += --with-apxs=/usr/apache2/2.2/bin/apxs
200N/ACONFIGURE_OPTIONS += --with-ssl
200N/ACONFIGURE_OPTIONS += --with-zlib=$(CONFIGURE_PREFIX)
5852N/ACONFIGURE_OPTIONS += --with-jdk=$(JAVA_ROOT)
5852N/ACONFIGURE_OPTIONS += --with-apr=/usr/apr/1.3
5852N/ACONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/1.3
5852N/ACONFIGURE_OPTIONS += --enable-nls
5852N/ACONFIGURE_OPTIONS += --disable-mod-activation
200N/ACONFIGURE_OPTIONS += --enable-javahl
200N/ACONFIGURE_OPTIONS += --with-swig
200N/ACONFIGURE_OPTIONS += --with-neon=$(CONFIGURE_PREFIX)
206N/A
200N/A# common targets - we only build 32-bit subversion
200N/Abuild: $(BUILD_32)
200N/A
5170N/Ainstall: $(INSTALL_32)
5170N/A
5776N/Atest: $(TEST_32)
5776N/A
1625N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
5776N/A
5776N/Ainclude ../../make-rules/depend.mk
5776N/A
5776N/A