Makefile revision 4337
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# CDDL HEADER START
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# The contents of this file are subject to the terms of the
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Common Development and Distribution License (the "License").
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# You may not use this file except in compliance with the License.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# See the License for the specific language governing permissions
0662ed52e814f8f08ef0e09956413a792584eddffuankg# and limitations under the License.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# When distributing Covered Code, include this CDDL HEADER in each
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# If applicable, add the following below this CDDL HEADER, with the
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# fields enclosed by brackets "[]" replaced with your own identifying
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# CDDL HEADER END
16b55a35cff91315d261d1baa776138af465c4e4fuankg# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesPATH=$(dir $(CC)):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_PROJECT_URL= http://subversion.apache.org/
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes sha256:2bdb01eb3f3df5c9370af98580e1892822d6e75f2077ce97fc81749f316ef25a
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/subversion/$(COMPONENT_ARCHIVE)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# because we can't seem to get -norunpath to the java bindings build any
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCXXFLAGS += -features=nestedaccess,tmplife,tmplrefstatic
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(COMPONENT_TEST_RESULTS_DIR)/results-subversion.master
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg '-e "/libtool/d"' \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes '-e "/-m32/d"' \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes '-e "/-m64/d"' \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes '-e "s^lib/$(MACH64)^lib/MACH64^g"' \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes '-e "s/^make\[[0-9]\{1,\}\]/make/g"' \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes '-e "/ld: warning/d"' \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes '-e "/warning/d"'
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Let's write some post-configure hacks
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(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 )
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_ENV += PYTHONPATH="$(PYTHON_VENDOR_PACKAGES.$(BITS))"
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesLIBSVNDIR.64 = $(CONFIGURE_PREFIX)/lib/svn/$(MACH64)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesAPR-CONFIG.32 = /usr/apr/$(APR_VERSION)/bin/apr-1-config
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesAPR-CONFIG.64 = /usr/apr/$(APR_VERSION)/bin/$(MACH64)/apr-1-config
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesAPU-CONFIG.32 = /usr/apr-util/$(APR_UTIL_VERSION)/bin/apu-1-config
0662ed52e814f8f08ef0e09956413a792584eddffuankgAPU-CONFIG.64 = /usr/apr-util/$(APR_UTIL_VERSION)/bin/$(MACH64)/apu-1-config
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesAPR-CONFIG-RPATH.64 = /usr/apr/$(APR_VERSION)/lib/$(MACH64)
0662ed52e814f8f08ef0e09956413a792584eddffuankgAPU-CONFIG-RPATH.32 = /usr/apr-util/$(APR_VERSION)/lib
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesAPU-CONFIG-RPATH.64 = /usr/apr-util/$(APR_VERSION)/lib/$(MACH64)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesLDFLAGS += -R$(LIBSVNDIR.$(BITS)) -R$(APR-CONFIG-RPATH.$(BITS)) \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Let's make noise just because we have to override --libdir
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_SBINDIR.$(BITS))
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_OPTIONS += --disable-experimental-libtool
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_OPTIONS += --with-zlib=$(CONFIGURE_PREFIX)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_OPTIONS += --with-apr=/usr/apr/$(APR_VERSION)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/$(APR_UTIL_VERSION)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_OPTIONS += --with-neon=$(CONFIGURE_PREFIX)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_OPTIONS += --with-apr=$(APR-CONFIG.$(BITS))
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_OPTIONS += --with-apr-util=$(APU-CONFIG.$(BITS))
cb2846ded4de1abbb5934b92132baf826f1babfebnicholesCONFIGURE_OPTIONS += --with-gssapi=$(CONFIGURE_PREFIX)
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# Swig overwrites the 32-bit directory with 64-bit objects.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# So we work around that.
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes ( cd $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION) ; \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes if test -d vendor-packages-64 ; then \
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg $(GNUCP) -rpd vendor-packages-64/libsvn vendor-packages/64/ ; \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(GNUCP) -rpd vendor-packages-64/svn vendor-packages/64/ ; \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(GNUCP) -rpd vendor-packages-32/libsvn vendor-packages/ ; \
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes $(GNUCP) -rpd vendor-packages-32/svn vendor-packages/ ; \