Makefile revision 844
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluem#
9db549cd545d738d931852ac4267d62221162f7fcovener# The contents of this file are subject to the terms of the
9db549cd545d738d931852ac4267d62221162f7fcovener# Common Development and Distribution License (the "License").
9db549cd545d738d931852ac4267d62221162f7fcovener# You may not use this file except in compliance with the License.
b6b7079ea8e24865adc82c4be6758b31cf4aa429jailletc#
b6b7079ea8e24865adc82c4be6758b31cf4aa429jailletc# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b6b7079ea8e24865adc82c4be6758b31cf4aa429jailletc# or http://www.opensolaris.org/os/licensing.
b6b7079ea8e24865adc82c4be6758b31cf4aa429jailletc# See the License for the specific language governing permissions
599e58561f7a206f05442a72d99337657e9097e7trawick# and limitations under the License.
599e58561f7a206f05442a72d99337657e9097e7trawick#
599e58561f7a206f05442a72d99337657e9097e7trawick# When distributing Covered Code, include this CDDL HEADER in each
8c72b8fd8e88f145e10885629fe30b70888525dccovener# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8c72b8fd8e88f145e10885629fe30b70888525dccovener# If applicable, add the following below this CDDL HEADER, with the
8c72b8fd8e88f145e10885629fe30b70888525dccovener# fields enclosed by brackets "[]" replaced with your own identifying
8c72b8fd8e88f145e10885629fe30b70888525dccovener# information: Portions Copyright [yyyy] [name of copyright owner]
6cc3b681fe41375fccbe86a474cd00ecea610d63rjung#
6cc3b681fe41375fccbe86a474cd00ecea610d63rjung# CDDL HEADER END
6cc3b681fe41375fccbe86a474cd00ecea610d63rjung#
6cc3b681fe41375fccbe86a474cd00ecea610d63rjung
15660979a30d251681463de2e0584853890082accovener#
15660979a30d251681463de2e0584853890082accovener# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
15660979a30d251681463de2e0584853890082accovener#
15660979a30d251681463de2e0584853890082accovener
cfd9415521847b2f9394fad04fb701cfb955f503rjunginclude ../../make-rules/shared-macros.mk
cfd9415521847b2f9394fad04fb701cfb955f503rjung
cfd9415521847b2f9394fad04fb701cfb955f503rjungPATH=$(dir $(CC)):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
28c31fb73c1264bd1d0ff932573677030b024c7dwrowe
28c31fb73c1264bd1d0ff932573677030b024c7dwroweCOMPONENT_NAME= subversion
28c31fb73c1264bd1d0ff932573677030b024c7dwroweCOMPONENT_VERSION= 1.6.16
28c31fb73c1264bd1d0ff932573677030b024c7dwroweCOMPONENT_PROJECT_URL= http://subversion.apache.org/
28c31fb73c1264bd1d0ff932573677030b024c7dwroweCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
28c31fb73c1264bd1d0ff932573677030b024c7dwroweCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
8491e0600f69b0405e156ea8a419653c065c645bcovenerCOMPONENT_ARCHIVE_HASH= \
8491e0600f69b0405e156ea8a419653c065c645bcovener sha256:54046728853cd33985101471c068df93cf742f16313642113622a5dfd8bff90c
8491e0600f69b0405e156ea8a419653c065c645bcovenerCOMPONENT_ARCHIVE_URL= http://subversion.tigris.org/downloads/$(COMPONENT_ARCHIVE)
8491e0600f69b0405e156ea8a419653c065c645bcovener
8491e0600f69b0405e156ea8a419653c065c645bcovenerinclude ../../make-rules/prep.mk
8491e0600f69b0405e156ea8a419653c065c645bcovenerinclude ../../make-rules/configure.mk
8491e0600f69b0405e156ea8a419653c065c645bcovenerinclude ../../make-rules/ips.mk
8741bcaa5df21e109bde21c01093d3991fcf1471jailletc
8741bcaa5df21e109bde21c01093d3991fcf1471jailletcPATCH_LEVEL = 0
8741bcaa5df21e109bde21c01093d3991fcf1471jailletc
8741bcaa5df21e109bde21c01093d3991fcf1471jailletcPYMODS = client core delta fs ra repos wc
2bf8c1f02b954a6b272f1708aabcc273fc318249covener
2bf8c1f02b954a6b272f1708aabcc273fc318249covenerPLMODS= Fs Core Wc Client Repos Ra Delta
2bf8c1f02b954a6b272f1708aabcc273fc318249covener
7512a6fac1f0e24ba550706a6c8e0c874c23aa7bcovenerJAVA_ROOT = $(JAVA_HOME)
63b9f1f5880391261705f696d7d65507bbe9ace3covener
63b9f1f5880391261705f696d7d65507bbe9ace3covener# because we can't seem to get -norunpath to the java bindings build any
63b9f1f5880391261705f696d7d65507bbe9ace3covener# other way.
87a26948305eab2bab8a4fb3f2a21f6725055790covenerCXX += $(studio_NORUNPATH)
87a26948305eab2bab8a4fb3f2a21f6725055790covener
87a26948305eab2bab8a4fb3f2a21f6725055790covenerCFLAGS += -features=extensions
4efd27d2bd53a819a194f8a942f8881c1927755eylavicCFLAGS += -xustr=ascii_utf16_ushort -xcsi
4efd27d2bd53a819a194f8a942f8881c1927755eylavicCXXFLAGS += -features=nestedaccess,tmplife,tmplrefstatic
4efd27d2bd53a819a194f8a942f8881c1927755eylavicCXXFLAGS += -template=geninlinefuncs
4efd27d2bd53a819a194f8a942f8881c1927755eylavicCXXFLAGS += -verbose=template
983528026996668ea295be95aedb9c7a346af470ylavicCXXFLAGS += -xustr=ascii_utf16_ushort
983528026996668ea295be95aedb9c7a346af470ylavicCXXFLAGS += $(CC_PIC)
983528026996668ea295be95aedb9c7a346af470ylavicCXXFLAGS += -mt -D_REENTRANT -DNDEBUG -DSOLARIS
249ab52ef73a2b33446ae07904e3526b57251411ylavicCFLAGS += `pkg-config --cflags neon`
249ab52ef73a2b33446ae07904e3526b57251411ylavicCFLAGS += $(CPP_LARGEFILES)
249ab52ef73a2b33446ae07904e3526b57251411ylavic
1f0836d4b1a203c7b375daae691beb95f6036205ylavic# Let's write some post-configure hacks
1f0836d4b1a203c7b375daae691beb95f6036205ylavicCOMPONENT_POST_CONFIGURE_ACTION = \
1f0836d4b1a203c7b375daae691beb95f6036205ylavic ( $(CLONEY) $(SOURCE_DIR) $(@D) ; \
3b11e6ec1c5273d6a8968460db650e7ca99c49c0ylavic cd $(SOURCE_DIR) ; \
3b11e6ec1c5273d6a8968460db650e7ca99c49c0ylavic $(CONFIG_SHELL) ./build/transform_sql.sh ./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 )
3b11e6ec1c5273d6a8968460db650e7ca99c49c0ylavic
01402a0fbec8bd11f6c10d8ef9c9cceac68bb787ylavicCOMPONENT_BUILD_TARGETS = all swig-py swig-pl javahl
01402a0fbec8bd11f6c10d8ef9c9cceac68bb787ylavicCOMPONENT_INSTALL_TARGETS = install install-lib \
01402a0fbec8bd11f6c10d8ef9c9cceac68bb787ylavic install-swig-pl install-swig-py \
49dacedb6c387b786b7911082ff35121a45f414bcovener install-javahl install-javahl-lib \
49dacedb6c387b786b7911082ff35121a45f414bcovener install-mods-shared \
49dacedb6c387b786b7911082ff35121a45f414bcovener install-bin install-docs
49dacedb6c387b786b7911082ff35121a45f414bcovener
3c990331fc6702119e4f5b8ba9eae3021aea5265jimCONFIGURE_ENV += CC="$(CC)"
3c990331fc6702119e4f5b8ba9eae3021aea5265jimCONFIGURE_ENV += CXX="$(CXX)"
3c990331fc6702119e4f5b8ba9eae3021aea5265jimCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
3c990331fc6702119e4f5b8ba9eae3021aea5265jimCONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
fc42512879dd0504532f52fe5d0d0383dda96a1eniqCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
fc42512879dd0504532f52fe5d0d0383dda96a1eniqCONFIGURE_ENV += PYTHON="$(PYTHON)"
fc42512879dd0504532f52fe5d0d0383dda96a1eniqCONFIGURE_ENV += PYMODS="$(PYMODS)"
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niqCONFIGURE_ENV += PYTHONPATH="$(PYTHON_VENDOR_PACKAGES)"
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niqCONFIGURE_ENV += JAVA_ROOT="$(JAVA_ROOT)"
0451df5dc50fa5d8b3e07d92ee6a92e36a1181a5niqCONFIGURE_ENV += PERL="$(PERL)"
da0442c0440caef34706e2c2f3af05cb65921cc0jailletcCONFIGURE_ENV += PLMODS="$(PLMODS)"
983528026996668ea295be95aedb9c7a346af470ylavic
da0442c0440caef34706e2c2f3af05cb65921cc0jailletc# Let's make noise just because we have to override --libdir
da0442c0440caef34706e2c2f3af05cb65921cc0jailletcCONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
06b8f183140c8e02e0974e938a05078b511d1603covenerCONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
06b8f183140c8e02e0974e938a05078b511d1603covenerCONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
06b8f183140c8e02e0974e938a05078b511d1603covenerCONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_SBINDIR.$(BITS))
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluemCONFIGURE_OPTIONS += --libdir=$(CONFIGURE_PREFIX)/lib/svn
259878293a997ff49f5ddfc53d3739cbdc25444ecovenerCONFIGURE_OPTIONS += --localstatedir=/var
259878293a997ff49f5ddfc53d3739cbdc25444ecovenerCONFIGURE_OPTIONS += --enable-shared
259878293a997ff49f5ddfc53d3739cbdc25444ecovenerCONFIGURE_OPTIONS += --disable-static
259878293a997ff49f5ddfc53d3739cbdc25444ecovenerCONFIGURE_OPTIONS += --disable-libtool-lock
15890c9306ba98f6fc243e15a3c4778ddc7d773erpluemCONFIGURE_OPTIONS += --disable-neon-version-check
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrinCONFIGURE_OPTIONS += --disable-experimental-libtool
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrinCONFIGURE_OPTIONS += --with-apxs=/usr/apache2/2.2/bin/apxs
b54b024c06a19926832d77d40ba35ad8c41e4d3dminfrinCONFIGURE_OPTIONS += --with-ssl
65967d05f839dbf27cf91d91fa79585eeae19660minfrinCONFIGURE_OPTIONS += --with-zlib=$(CONFIGURE_PREFIX)
65967d05f839dbf27cf91d91fa79585eeae19660minfrinCONFIGURE_OPTIONS += --with-jdk=$(JAVA_ROOT)
65967d05f839dbf27cf91d91fa79585eeae19660minfrinCONFIGURE_OPTIONS += --with-apr=/usr/apr/1.3
65967d05f839dbf27cf91d91fa79585eeae19660minfrinCONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/1.3
8152945ae46857b170cb227e79bb799f4fc7710dminfrinCONFIGURE_OPTIONS += --enable-nls
8152945ae46857b170cb227e79bb799f4fc7710dminfrinCONFIGURE_OPTIONS += --disable-mod-activation
8152945ae46857b170cb227e79bb799f4fc7710dminfrinCONFIGURE_OPTIONS += --enable-javahl
8152945ae46857b170cb227e79bb799f4fc7710dminfrinCONFIGURE_OPTIONS += --with-swig
75f5c2db254c0167a0e396254460de09b775d203trawickCONFIGURE_OPTIONS += --with-neon=$(CONFIGURE_PREFIX)
75f5c2db254c0167a0e396254460de09b775d203trawick
75f5c2db254c0167a0e396254460de09b775d203trawick# common targets - we only build 32-bit subversion
11f1871b90149f8af3bf4e884dcc404436686967ylavicbuild: $(BUILD_32)
11f1871b90149f8af3bf4e884dcc404436686967ylavic
11f1871b90149f8af3bf4e884dcc404436686967ylavicinstall: $(INSTALL_32)
11f1871b90149f8af3bf4e884dcc404436686967ylavic
4f0358189bfa57b8e75bd6b94db264302a8f336amrumphtest: $(TEST_32)
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph
4f0358189bfa57b8e75bd6b94db264302a8f336amrumphBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawickinclude ../../make-rules/depend.mk
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick