Makefile revision 586
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
a34684a59b60a4173c25035d0c627ef17e6dc215rpluem#
4d9aacb99fa81594665b3024fd15adcad28d2e60ylavic# The contents of this file are subject to the terms of the
4d9aacb99fa81594665b3024fd15adcad28d2e60ylavic# Common Development and Distribution License (the "License").
4d9aacb99fa81594665b3024fd15adcad28d2e60ylavic# You may not use this file except in compliance with the License.
4d9aacb99fa81594665b3024fd15adcad28d2e60ylavic#
4d9aacb99fa81594665b3024fd15adcad28d2e60ylavic# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e7a83ac97aed916dc6da9441f24d5630caad249fjailletc# or http://www.opensolaris.org/os/licensing.
e7a83ac97aed916dc6da9441f24d5630caad249fjailletc# See the License for the specific language governing permissions
e7a83ac97aed916dc6da9441f24d5630caad249fjailletc# and limitations under the License.
e7a83ac97aed916dc6da9441f24d5630caad249fjailletc#
e7a83ac97aed916dc6da9441f24d5630caad249fjailletc# When distributing Covered Code, include this CDDL HEADER in each
e7a83ac97aed916dc6da9441f24d5630caad249fjailletc# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e7a83ac97aed916dc6da9441f24d5630caad249fjailletc# If applicable, add the following below this CDDL HEADER, with the
f4c3ded5dd561f8aa9779f227fed41303c15efaaylavic# fields enclosed by brackets "[]" replaced with your own identifying
f4c3ded5dd561f8aa9779f227fed41303c15efaaylavic# information: Portions Copyright [yyyy] [name of copyright owner]
f4c3ded5dd561f8aa9779f227fed41303c15efaaylavic#
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic# CDDL HEADER END
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic#
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic
0a0df13b7f1f4f1a74fe295253d89ca3911b301aylavic#
206ee035a75fa226ca51d6ee1f118624354803d2ylavic# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
206ee035a75fa226ca51d6ee1f118624354803d2ylavic#
206ee035a75fa226ca51d6ee1f118624354803d2ylavic
206ee035a75fa226ca51d6ee1f118624354803d2ylavicinclude ../../make-rules/shared-macros.mk
206ee035a75fa226ca51d6ee1f118624354803d2ylavic
69301145375a889e7e37caf7cc7321ac0f91801erpluemPATH=$(dir $(CC)):/usr/bin:/usr/gnu/bin
69301145375a889e7e37caf7cc7321ac0f91801erpluem
69301145375a889e7e37caf7cc7321ac0f91801erpluemCOMPONENT_NAME= subversion
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaCOMPONENT_VERSION= 1.6.16
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
506bfe33206b2fece40ef25f695af39dd4130facjkaluzaCOMPONENT_ARCHIVE_HASH= sha1:e957da04252d4d7e0fff72fdcf72c715bfbaa393
78ae177952e97903c19115e0f1b0383a5ca22eb4ylavicCOMPONENT_ARCHIVE_URL= http://subversion.tigris.org/downloads/$(COMPONENT_ARCHIVE)
78ae177952e97903c19115e0f1b0383a5ca22eb4ylavic
78ae177952e97903c19115e0f1b0383a5ca22eb4ylavicinclude ../../make-rules/prep.mk
78ae177952e97903c19115e0f1b0383a5ca22eb4ylavicinclude ../../make-rules/configure.mk
78ae177952e97903c19115e0f1b0383a5ca22eb4ylavicinclude ../../make-rules/ips.mk
d58a848a016d401b965111e50ef829e1641f7834minfrin
d58a848a016d401b965111e50ef829e1641f7834minfrinPATCH_LEVEL = 0
d58a848a016d401b965111e50ef829e1641f7834minfrin
d06d6ad3304fda986f67b5ada248e9ac05848cd9ylavicPYMODS = client core delta fs ra repos wc
25b59a7ba7fb7ce658ddb3fc31531b0ce414283cylavic
d06d6ad3304fda986f67b5ada248e9ac05848cd9ylavicPLMODS= Fs Core Wc Client Repos Ra Delta
33a50f7ac69bc7f9f5c35cc7f0e240ec324ae660minfrin
33a50f7ac69bc7f9f5c35cc7f0e240ec324ae660minfrinJAVA_ROOT = $(JAVA_HOME)
33a50f7ac69bc7f9f5c35cc7f0e240ec324ae660minfrin
dd993bccb903f6f0b256c4dc973b793848986ef2minfrin# because we can't seem to get -norunpath to the java bindings build any
dd993bccb903f6f0b256c4dc973b793848986ef2minfrin# other way.
dd993bccb903f6f0b256c4dc973b793848986ef2minfrinCXX += $(studio_NORUNPATH)
dd993bccb903f6f0b256c4dc973b793848986ef2minfrin
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sfCFLAGS += -features=extensions
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sfCFLAGS += -xustr=ascii_utf16_ushort -xcsi
2e6f4d654c96c98b761fb012fd25c5d5b1558c44sfCXXFLAGS += -features=nestedaccess,tmplife,tmplrefstatic
4e10eefaad0287c0c4ac2185bc3a1615092dbef8ylavicCXXFLAGS += -template=geninlinefuncs
4e10eefaad0287c0c4ac2185bc3a1615092dbef8ylavicCXXFLAGS += -verbose=template
4e10eefaad0287c0c4ac2185bc3a1615092dbef8ylavicCXXFLAGS += -xustr=ascii_utf16_ushort
4e10eefaad0287c0c4ac2185bc3a1615092dbef8ylavicCXXFLAGS += $(CC_PIC)
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavicCXXFLAGS += -mt -D_REENTRANT -DNDEBUG -DSOLARIS
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavicCFLAGS += `pkg-config --cflags neon`
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavicCFLAGS += $(CPP_LARGEFILES)
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic
17e6c95f3b22d18acdf8380fb26a8d0e10c80767ylavic# Let's write some post-configure hacks
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavicCOMPONENT_POST_CONFIGURE_ACTION = \
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic ( $(CLONEY) $(SOURCE_DIR) $(@D) ; \
e8bd80a4bb88199d2f9a24a50345688e52d9c116ylavic cd $(SOURCE_DIR) ; \
ac7482772673c7dab4afbf53649e07030fd57a8eylavic $(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 )
8c94893229334f5b79636e4ec53a992a0b9f9828ylavic
8c94893229334f5b79636e4ec53a992a0b9f9828ylavicCOMPONENT_BUILD_TARGETS = all swig-py swig-pl javahl
ac7482772673c7dab4afbf53649e07030fd57a8eylavicCOMPONENT_INSTALL_TARGETS = install install-lib \
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic install-swig-pl install-swig-py \
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic install-javahl install-javahl-lib \
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic install-mods-shared \
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic install-bin install-docs
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavic
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavicCONFIGURE_ENV += CC="$(CC)"
330e16bea8fe9cace4de90c349750c03dfb1fe64ylavicCONFIGURE_ENV += CXX="$(CXX)"
d7205b1a86c51c27b71a2c458dc453fd53a261c1covenerCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
d7205b1a86c51c27b71a2c458dc453fd53a261c1covenerCONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)"
d7205b1a86c51c27b71a2c458dc453fd53a261c1covenerCONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)"
d7205b1a86c51c27b71a2c458dc453fd53a261c1covenerCONFIGURE_ENV += PYTHON="$(PYTHON)"
d7205b1a86c51c27b71a2c458dc453fd53a261c1covenerCONFIGURE_ENV += PYMODS="$(PYMODS)"
44ff304057225e944e220e981d434a046d14cf06covenerCONFIGURE_ENV += PYTHONPATH="$(PYTHON_VENDOR_PACKAGES)"
44ff304057225e944e220e981d434a046d14cf06covenerCONFIGURE_ENV += JAVA_ROOT="$(JAVA_ROOT)"
44ff304057225e944e220e981d434a046d14cf06covenerCONFIGURE_ENV += PERL="$(PERL)"
44ff304057225e944e220e981d434a046d14cf06covenerCONFIGURE_ENV += PLMODS="$(PLMODS)"
291eb44b3adaf8247425286615b4f4b69fbea274minfrin
291eb44b3adaf8247425286615b4f4b69fbea274minfrin# Let's make noise just because we have to override --libdir
291eb44b3adaf8247425286615b4f4b69fbea274minfrinCONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
5d1ba75b8794925e67591c209085a49279791de9covenerCONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
5d1ba75b8794925e67591c209085a49279791de9covenerCONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
5d1ba75b8794925e67591c209085a49279791de9covenerCONFIGURE_OPTIONS += --sbindir=$(CONFIGURE_SBINDIR.$(BITS))
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrandCONFIGURE_OPTIONS += --libdir=$(CONFIGURE_PREFIX)/lib/svn
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrandCONFIGURE_OPTIONS += --localstatedir=/var
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrandCONFIGURE_OPTIONS += --enable-shared
032982212dbcc7c3cce95bf89c503bb56e185ac7kbrandCONFIGURE_OPTIONS += --disable-static
caad2986f81ab263f7af41467dd622dc9add17f3ylavicCONFIGURE_OPTIONS += --disable-libtool-lock
caad2986f81ab263f7af41467dd622dc9add17f3ylavicCONFIGURE_OPTIONS += --disable-neon-version-check
caad2986f81ab263f7af41467dd622dc9add17f3ylavicCONFIGURE_OPTIONS += --disable-experimental-libtool
caad2986f81ab263f7af41467dd622dc9add17f3ylavicCONFIGURE_OPTIONS += --with-apxs=/usr/apache2/2.2/bin/apxs
45a10d38e6051fd7bdf9d742aaae633d97ff02abjailletcCONFIGURE_OPTIONS += --with-ssl
f7317ff316c2b141feea31bddb74d5d3fa1584edjortonCONFIGURE_OPTIONS += --with-zlib=$(CONFIGURE_PREFIX)
f7317ff316c2b141feea31bddb74d5d3fa1584edjortonCONFIGURE_OPTIONS += --with-jdk=$(JAVA_ROOT)
2165214331e4afafca4048f66f303d0253d7b001covenerCONFIGURE_OPTIONS += --with-apr=/usr/apr/1.3
a34684a59b60a4173c25035d0c627ef17e6dc215rpluemCONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/1.3
a34684a59b60a4173c25035d0c627ef17e6dc215rpluemCONFIGURE_OPTIONS += --enable-nls
1e2d421a36999d292042a5539971070d54aa6c63ylavicCONFIGURE_OPTIONS += --disable-mod-activation
1e2d421a36999d292042a5539971070d54aa6c63ylavicCONFIGURE_OPTIONS += --enable-javahl
1e2d421a36999d292042a5539971070d54aa6c63ylavicCONFIGURE_OPTIONS += --with-swig
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedoohCONFIGURE_OPTIONS += --with-neon=$(CONFIGURE_PREFIX)
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh
fa7ed98b9dc94c5845cf845aea0a44ecacd290c9humbedooh# common targets - we only build 32-bit subversion
0b67eb8568cd58bb77082703951679b42cf098actrawickbuild: $(BUILD_32)
0b67eb8568cd58bb77082703951679b42cf098actrawick
0b67eb8568cd58bb77082703951679b42cf098actrawickinstall: $(INSTALL_32)
0b67eb8568cd58bb77082703951679b42cf098actrawick
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovenertest: $(TEST_32)
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovener
2165214331e4afafca4048f66f303d0253d7b001covenerBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
06bb3e11d3e997937534ae7bd45b3631d3b5e5bacovener
5ef3c61605a3a021ff71f488983cb0065f8e1a79covenerinclude ../../make-rules/depend.mk
fb1985a97912b25ec6564c73e610a31e5fc6e25fcovener
09c87c777bed1655621bb20e1c46cb6b1a63279dcovener