Makefile revision 5053
af062818b47340eef15700d2f0211576ba3506eevboxsync# CDDL HEADER START
af062818b47340eef15700d2f0211576ba3506eevboxsync# The contents of this file are subject to the terms of the
af062818b47340eef15700d2f0211576ba3506eevboxsync# Common Development and Distribution License (the "License").
af062818b47340eef15700d2f0211576ba3506eevboxsync# You may not use this file except in compliance with the License.
af062818b47340eef15700d2f0211576ba3506eevboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
af062818b47340eef15700d2f0211576ba3506eevboxsync# See the License for the specific language governing permissions
af062818b47340eef15700d2f0211576ba3506eevboxsync# and limitations under the License.
af062818b47340eef15700d2f0211576ba3506eevboxsync# When distributing Covered Code, include this CDDL HEADER in each
af062818b47340eef15700d2f0211576ba3506eevboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
af062818b47340eef15700d2f0211576ba3506eevboxsync# If applicable, add the following below this CDDL HEADER, with the
af062818b47340eef15700d2f0211576ba3506eevboxsync# fields enclosed by brackets "[]" replaced with your own identifying
af062818b47340eef15700d2f0211576ba3506eevboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
af062818b47340eef15700d2f0211576ba3506eevboxsync# CDDL HEADER END
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsyncPATH=$(dir $(CC)):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
af062818b47340eef15700d2f0211576ba3506eevboxsyncCOMPONENT_PROJECT_URL= http://subversion.apache.org/
af062818b47340eef15700d2f0211576ba3506eevboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
af062818b47340eef15700d2f0211576ba3506eevboxsync sha256:2bdb01eb3f3df5c9370af98580e1892822d6e75f2077ce97fc81749f316ef25a
af062818b47340eef15700d2f0211576ba3506eevboxsyncCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/subversion/$(COMPONENT_ARCHIVE)
af062818b47340eef15700d2f0211576ba3506eevboxsync# because we can't seem to get -norunpath to the java bindings build any
af062818b47340eef15700d2f0211576ba3506eevboxsync# other way.
af062818b47340eef15700d2f0211576ba3506eevboxsyncCXXFLAGS += -features=nestedaccess,tmplife,tmplrefstatic
af062818b47340eef15700d2f0211576ba3506eevboxsync $(COMPONENT_TEST_RESULTS_DIR)/results-subversion.master
af062818b47340eef15700d2f0211576ba3506eevboxsync '-e "/libtool/d"' \
af062818b47340eef15700d2f0211576ba3506eevboxsync '-e "/-m32/d"' \
af062818b47340eef15700d2f0211576ba3506eevboxsync '-e "/-m64/d"' \
af062818b47340eef15700d2f0211576ba3506eevboxsync '-e "s^lib/$(MACH64)^lib/MACH64^g"' \
af062818b47340eef15700d2f0211576ba3506eevboxsync '-e "s/^make\[[0-9]\{1,\}\]/make/g"' \
af062818b47340eef15700d2f0211576ba3506eevboxsync '-e "/ld: warning/d"' \
af062818b47340eef15700d2f0211576ba3506eevboxsync '-e "/warning/d"'
af062818b47340eef15700d2f0211576ba3506eevboxsync# Let's write some post-configure hacks
af062818b47340eef15700d2f0211576ba3506eevboxsync $(PYTHON.$(BITS)) ./build/transform_sql.py ./subversion/libsvn_fs_fs/rep-cache-db.sql < ./subversion/libsvn_fs_fs/rep-cache-db.sql > $(BUILD_DIR_$(BITS))/subversion/libsvn_fs_fs/rep-cache-db.h 2>&1 )
af062818b47340eef15700d2f0211576ba3506eevboxsyncCOMPONENT_BUILD_TARGETS = all swig-py swig-pl javahl
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_ENV += PYTHONPATH="$(PYTHON_VENDOR_PACKAGES.$(BITS))"
af062818b47340eef15700d2f0211576ba3506eevboxsyncLIBSVNDIR.64 = $(CONFIGURE_PREFIX)/lib/svn/$(MACH64)
af062818b47340eef15700d2f0211576ba3506eevboxsyncAPR-CONFIG.32 = /usr/apr/$(APR_VERSION)/bin/apr-1-config
af062818b47340eef15700d2f0211576ba3506eevboxsyncAPR-CONFIG.64 = /usr/apr/$(APR_VERSION)/bin/$(MACH64)/apr-1-config
af062818b47340eef15700d2f0211576ba3506eevboxsyncAPU-CONFIG.32 = /usr/apr-util/$(APR_UTIL_VERSION)/bin/apu-1-config
af062818b47340eef15700d2f0211576ba3506eevboxsyncAPU-CONFIG.64 = /usr/apr-util/$(APR_UTIL_VERSION)/bin/$(MACH64)/apu-1-config
af062818b47340eef15700d2f0211576ba3506eevboxsyncAPR-CONFIG-RPATH.64 = /usr/apr/$(APR_VERSION)/lib/$(MACH64)
af062818b47340eef15700d2f0211576ba3506eevboxsyncAPU-CONFIG-RPATH.32 = /usr/apr-util/$(APR_VERSION)/lib
af062818b47340eef15700d2f0211576ba3506eevboxsyncAPU-CONFIG-RPATH.64 = /usr/apr-util/$(APR_VERSION)/lib/$(MACH64)
af062818b47340eef15700d2f0211576ba3506eevboxsyncLDFLAGS += -R$(LIBSVNDIR.$(BITS)) -R$(APR-CONFIG-RPATH.$(BITS)) \
af062818b47340eef15700d2f0211576ba3506eevboxsync# Let's make noise just because we have to override --libdir
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_SBINDIR.$(BITS))
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_OPTIONS += --with-zlib=$(CONFIGURE_PREFIX)
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_OPTIONS += --with-apr=/usr/apr/$(APR_VERSION)
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/$(APR_UTIL_VERSION)
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_OPTIONS += --with-neon=$(CONFIGURE_PREFIX)
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_OPTIONS += --with-apr=$(APR-CONFIG.$(BITS))
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_OPTIONS += --with-apr-util=$(APU-CONFIG.$(BITS))
af062818b47340eef15700d2f0211576ba3506eevboxsyncCONFIGURE_OPTIONS += --with-gssapi=$(CONFIGURE_PREFIX)
af062818b47340eef15700d2f0211576ba3506eevboxsync# Swig overwrites the 32-bit directory with 64-bit objects.
af062818b47340eef15700d2f0211576ba3506eevboxsync# So we work around that.
af062818b47340eef15700d2f0211576ba3506eevboxsync if test -d vendor-packages-64 ; then \
af062818b47340eef15700d2f0211576ba3506eevboxsync $(GNUCP) -rpd vendor-packages-64/libsvn vendor-packages/64/ ; \
af062818b47340eef15700d2f0211576ba3506eevboxsync $(GNUCP) -rpd vendor-packages-64/svn vendor-packages/64/ ; \
af062818b47340eef15700d2f0211576ba3506eevboxsync $(GNUCP) -rpd vendor-packages-32/libsvn vendor-packages/ ; \
af062818b47340eef15700d2f0211576ba3506eevboxsync $(GNUCP) -rpd vendor-packages-32/svn vendor-packages/ ; \
af062818b47340eef15700d2f0211576ba3506eevboxsyncREQUIRED_PACKAGES += developer/versioning/subversion