Makefile revision 3817
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# CDDL HEADER START
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# The contents of this file are subject to the terms of the
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# Common Development and Distribution License (the "License").
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# You may not use this file except in compliance with the License.
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2ce0021487fbd7ef3384f3456fa4a176309c4ebfTimo Sirainen# See the License for the specific language governing permissions
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# and limitations under the License.
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# When distributing Covered Code, include this CDDL HEADER in each
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# If applicable, add the following below this CDDL HEADER, with the
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# fields enclosed by brackets "[]" replaced with your own identifying
02b352f203caaee32b3f6de9b07ce619499e849bTimo Sirainen# information: Portions Copyright [yyyy] [name of copyright owner]
02b352f203caaee32b3f6de9b07ce619499e849bTimo Sirainen# CDDL HEADER END
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenPATH=$(dir $(CC)):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenCOMPONENT_PROJECT_URL= http://subversion.apache.org/
2ce0021487fbd7ef3384f3456fa4a176309c4ebfTimo SirainenCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen sha256:cb102a437335a8921f00cef9bf730d84527713f1a5091e3e1eb2f16402f85dc1
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/subversion/$(COMPONENT_ARCHIVE)
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# because we can't seem to get -norunpath to the java bindings build any
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenCXXFLAGS += -features=nestedaccess,tmplife,tmplrefstatic
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenCXXFLAGS += -mt -D_REENTRANT -DNDEBUG -DSOLARIS
02b352f203caaee32b3f6de9b07ce619499e849bTimo Sirainen# Let's write some post-configure hacks
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen $(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 )
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenCOMPONENT_BUILD_TARGETS = all swig-py swig-pl javahl
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenCOMPONENT_INSTALL_TARGETS = install install-lib \
4907296246c66d85ccc3600bd150151e5e074be6Timo SirainenCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenCONFIGURE_ENV += PYTHONPATH="$(PYTHON_VENDOR_PACKAGES.$(BITS))"
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenLIBSVNDIR.64 = $(CONFIGURE_PREFIX)/lib/svn/$(MACH64)
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenAPR-CONFIG.64 = /usr/apr/1.5/bin/$(MACH64)/apr-1-config
d816ebd09081d18343022184a877abde3eeb6c18Timo SirainenAPU-CONFIG.32 = /usr/apr-util/1.5/bin/apu-1-config
e5224c0589916fb22f95f959326cf4b6221715b0Timo SirainenAPU-CONFIG.64 = /usr/apr-util/1.5/bin/$(MACH64)/apu-1-config
e5224c0589916fb22f95f959326cf4b6221715b0Timo Sirainen# Let's make noise just because we have to override --libdir
test: $(TEST_32_and_64)