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