Makefile revision 1258
6e89f0a006cdbb50151504b3107096e365136687Jenny Han Donnelly# CDDL HEADER START
6e89f0a006cdbb50151504b3107096e365136687Jenny Han Donnelly# The contents of this file are subject to the terms of the
6e89f0a006cdbb50151504b3107096e365136687Jenny Han Donnelly# Common Development and Distribution License (the "License").
6e89f0a006cdbb50151504b3107096e365136687Jenny Han Donnelly# You may not use this file except in compliance with the License.
c28f85fdfe5f4318a887f384ac1e58d40414fdbaLuke Smith# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6e89f0a006cdbb50151504b3107096e365136687Jenny Han Donnelly# or http://www.opensolaris.org/os/licensing.
6e89f0a006cdbb50151504b3107096e365136687Jenny Han Donnelly# See the License for the specific language governing permissions
6e89f0a006cdbb50151504b3107096e365136687Jenny Han Donnelly# and limitations under the License.
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny Donnelly# When distributing Covered Code, include this CDDL HEADER in each
c77d701a41f1b77424b988c2e63f2a8e6829c7e6Luke Smith# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c77d701a41f1b77424b988c2e63f2a8e6829c7e6Luke Smith# If applicable, add the following below this CDDL HEADER, with the
c77d701a41f1b77424b988c2e63f2a8e6829c7e6Luke Smith# fields enclosed by brackets "[]" replaced with your own identifying
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny Donnelly# information: Portions Copyright [yyyy] [name of copyright owner]
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny Donnelly# CDDL HEADER END
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny Donnelly# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyPATH=$(dir $(CC)):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCOMPONENT_PROJECT_URL= http://subversion.apache.org/
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny Donnelly sha256:cb102a437335a8921f00cef9bf730d84527713f1a5091e3e1eb2f16402f85dc1
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/subversion/$(COMPONENT_ARCHIVE)
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny Donnelly# because we can't seem to get -norunpath to the java bindings build any
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCXXFLAGS += -features=nestedaccess,tmplife,tmplrefstatic
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCXXFLAGS += -mt -D_REENTRANT -DNDEBUG -DSOLARIS
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny Donnelly# Let's write some post-configure hacks
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny Donnelly $(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 )
6e89f0a006cdbb50151504b3107096e365136687Jenny Han DonnellyCOMPONENT_BUILD_TARGETS = all swig-py swig-pl javahl
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCOMPONENT_INSTALL_TARGETS = install install-lib \
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_ENV += PYTHONPATH="$(PYTHON_VENDOR_PACKAGES)"
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny Donnelly# Let's make noise just because we have to override --libdir
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_SBINDIR.$(BITS))
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_OPTIONS += --libdir=$(CONFIGURE_PREFIX)/lib/svn
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_OPTIONS += --disable-neon-version-check
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_OPTIONS += --disable-experimental-libtool
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_OPTIONS += --with-apxs=/usr/apache2/2.2/bin/apxs
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_OPTIONS += --with-zlib=$(CONFIGURE_PREFIX)
6e89f0a006cdbb50151504b3107096e365136687Jenny Han DonnellyCONFIGURE_OPTIONS += --with-apr=/usr/apr/1.3
6e89f0a006cdbb50151504b3107096e365136687Jenny Han DonnellyCONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/1.3
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny DonnellyCONFIGURE_OPTIONS += --with-neon=$(CONFIGURE_PREFIX)
83051cc2f61c3e17f61b8f8f409a69c057db0e6bJenny Donnelly# common targets - we only build 32-bit subversion