author | saurabh.vyas@oracle.com |
Wed, 27 Jan 2016 09:13:52 -0800 | |
changeset 5350 | 0bd2e97a57c6 |
parent 5172 | 2ac937ed383b |
child 5454 | 1efad1afb469 |
permissions | -rw-r--r-- |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
1 |
# |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
3 |
# |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
7 |
# |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
12 |
# |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
18 |
# |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
20 |
# |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
21 |
|
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
22 |
# |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
23 |
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
24 |
# |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
25 |
|
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
27 |
|
774
d0cbca26a17c
7035978 parfait support for userland bits
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
28 |
PATH=$(dir $(CC)):$(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin |
206
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
29 |
|
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_NAME= subversion |
4205
ac5d1eac6100
20883943 upgrade Subversion to 1.7.20
Stefan Teleman <stefan.teleman@oracle.com>
parents:
4104
diff
changeset
|
31 |
COMPONENT_VERSION= 1.7.20 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
277
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= http://subversion.apache.org/ |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
774
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
4205
ac5d1eac6100
20883943 upgrade Subversion to 1.7.20
Stefan Teleman <stefan.teleman@oracle.com>
parents:
4104
diff
changeset
|
36 |
sha256:2bdb01eb3f3df5c9370af98580e1892822d6e75f2077ce97fc81749f316ef25a |
845
f38158deaa77
7075156 Upgrade Subversion to 1.7.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
800
diff
changeset
|
37 |
COMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/subversion/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
845
diff
changeset
|
38 |
COMPONENT_BUGDB= utility/svn |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
39 |
|
4205
ac5d1eac6100
20883943 upgrade Subversion to 1.7.20
Stefan Teleman <stefan.teleman@oracle.com>
parents:
4104
diff
changeset
|
40 |
TPNO= 22298 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1877
diff
changeset
|
41 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/ips.mk |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
45 |
|
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
46 |
PATCH_LEVEL = 0 |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
47 |
PYMODS = client core delta fs ra repos wc |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
48 |
PLMODS= Fs Core Wc Client Repos Ra Delta |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
49 |
JAVA_ROOT = $(JAVA_HOME) |
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
50 |
PERL_VERSION.32 = 5.12 |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
51 |
PERL_VERSION.64 = 5.16 |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
52 |
PERL_VERSION = $(PERL_VERSION.$(BITS)) |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
53 |
PERL = $(PERL.$(PERL_VERSION)) |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
54 |
GNUCP = /usr/gnu/bin/cp |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
55 |
|
206
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
56 |
# because we can't seem to get -norunpath to the java bindings build any |
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
57 |
# other way. |
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
58 |
CXX += $(studio_NORUNPATH) |
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
59 |
CFLAGS += -features=extensions |
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
60 |
CXXFLAGS += -features=nestedaccess,tmplife,tmplrefstatic |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
61 |
CXXFLAGS += -template=geninlinefuncs |
206
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
62 |
CXXFLAGS += $(CC_PIC) |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
63 |
CXXFLAGS += -mt -D_REENTRANT -DNDEBUG -DSOLARIS |
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
64 |
CXXFLAGS += $(CPP_LARGEFILES) |
206
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
65 |
CFLAGS += `pkg-config --cflags neon` |
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
66 |
CFLAGS += $(CPP_LARGEFILES) |
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
67 |
|
4205
ac5d1eac6100
20883943 upgrade Subversion to 1.7.20
Stefan Teleman <stefan.teleman@oracle.com>
parents:
4104
diff
changeset
|
68 |
COMPONENT_TEST_MASTER = \ |
ac5d1eac6100
20883943 upgrade Subversion to 1.7.20
Stefan Teleman <stefan.teleman@oracle.com>
parents:
4104
diff
changeset
|
69 |
$(COMPONENT_TEST_RESULTS_DIR)/results-subversion.master |
ac5d1eac6100
20883943 upgrade Subversion to 1.7.20
Stefan Teleman <stefan.teleman@oracle.com>
parents:
4104
diff
changeset
|
70 |
|
3865
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
71 |
COMPONENT_TEST_TRANSFORMS += \ |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
72 |
'-e "/libtool/d"' \ |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
73 |
'-e "/-m32/d"' \ |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
74 |
'-e "/-m64/d"' \ |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
75 |
'-e "s^lib/$(MACH64)^lib/MACH64^g"' \ |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
76 |
'-e "s/^make\[[0-9]\{1,\}\]/make/g"' \ |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
77 |
'-e "/ld: warning/d"' \ |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
78 |
'-e "/warning/d"' |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
79 |
|
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
80 |
PERL_VERSION_12 = 5.12 |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
81 |
PERL_VERSION_16 = 5.16 |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
82 |
PERL_ARCH_12_i386 = i86pc-solaris-64int |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
83 |
PERL_ARCH_16_i386 = i86pc-solaris-64 |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
84 |
PERL_ARCH_12_sparc = sun4-solaris-64int |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
85 |
PERL_ARCH_16_sparc = sun4-solaris-64 |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
86 |
PERL_ARCH_12 = $(PERL_ARCH_12_$(MACH)) |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
87 |
PERL_ARCH_16 = $(PERL_ARCH_16_$(MACH)) |
3865
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
88 |
APR_VERSION = 1.5 |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
89 |
APR_UTIL_VERSION = 1.5 |
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
90 |
|
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
91 |
# Let's write some post-configure hacks |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
92 |
COMPONENT_POST_CONFIGURE_ACTION = \ |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
93 |
( $(CLONEY) $(SOURCE_DIR) $(@D) ; \ |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
94 |
cd $(SOURCE_DIR) ; \ |
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
95 |
$(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 ) |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
96 |
|
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
97 |
COMPONENT_BUILD_TARGETS = all swig-py swig-pl javahl |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
98 |
COMPONENT_INSTALL_TARGETS = install install-lib \ |
206
a4474882bf60
7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
200
diff
changeset
|
99 |
install-swig-pl install-swig-py \ |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
100 |
install-javahl install-javahl-lib \ |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
101 |
install-bin install-docs |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
102 |
|
5172
2ac937ed383b
PSARC/2014/253 Apache 2.4 integration; EOF Apache 2.2
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5125
diff
changeset
|
103 |
$(BUILD_DIR)/$(MACH64)/.installed: COMPONENT_INSTALL_TARGETS += install-mods-shared |
2ac937ed383b
PSARC/2014/253 Apache 2.4 integration; EOF Apache 2.2
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5125
diff
changeset
|
104 |
|
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
105 |
CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
106 |
CONFIGURE_ENV += CXXFLAGS="$(CXXFLAGS)" |
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
107 |
CONFIGURE_ENV += PYTHON="$(PYTHON.$(BITS))" |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
108 |
CONFIGURE_ENV += PYMODS="$(PYMODS)" |
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
109 |
CONFIGURE_ENV += PYTHONPATH="$(PYTHON_VENDOR_PACKAGES.$(BITS))" |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
110 |
CONFIGURE_ENV += JAVA_ROOT="$(JAVA_ROOT)" |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
111 |
CONFIGURE_ENV += PERL="$(PERL)" |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
112 |
CONFIGURE_ENV += PLMODS="$(PLMODS)" |
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
113 |
CONFIGURE_ENV += LD_OPTIONS="$(LD_OPTIONS)" |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
114 |
|
5125
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5055
diff
changeset
|
115 |
CONFIGURE_LIBDIR.32 = $(CONFIGURE_PREFIX)/lib/svn |
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5055
diff
changeset
|
116 |
CONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib/svn/$(MACH64) |
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
117 |
|
3865
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
118 |
APR-CONFIG.32 = /usr/apr/$(APR_VERSION)/bin/apr-1-config |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
119 |
APR-CONFIG.64 = /usr/apr/$(APR_VERSION)/bin/$(MACH64)/apr-1-config |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
120 |
APU-CONFIG.32 = /usr/apr-util/$(APR_UTIL_VERSION)/bin/apu-1-config |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
121 |
APU-CONFIG.64 = /usr/apr-util/$(APR_UTIL_VERSION)/bin/$(MACH64)/apu-1-config |
5172
2ac937ed383b
PSARC/2014/253 Apache 2.4 integration; EOF Apache 2.2
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5125
diff
changeset
|
122 |
APXS.32 = no |
3865
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
123 |
APXS.64 = /usr/apache2/2.4/bin/apxs |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
124 |
APR-CONFIG-RPATH.32 = /usr/apr/$(APR_VERSION)/lib |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
125 |
APR-CONFIG-RPATH.64 = /usr/apr/$(APR_VERSION)/lib/$(MACH64) |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
126 |
APU-CONFIG-RPATH.32 = /usr/apr-util/$(APR_VERSION)/lib |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
127 |
APU-CONFIG-RPATH.64 = /usr/apr-util/$(APR_VERSION)/lib/$(MACH64) |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
128 |
|
5125
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5055
diff
changeset
|
129 |
LDFLAGS += -R$(CONFIGURE_LIBDIR.$(BITS)) -R$(APR-CONFIG-RPATH.$(BITS)) \ |
3865
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
130 |
-R$(APU-CONFIG-RPATH.$(BITS)) |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
131 |
|
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
132 |
CONFIGURE_ENV += LDFLAGS="$(LDFLAGS)" |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
133 |
|
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
134 |
CONFIGURE_OPTIONS += --localstatedir=/var |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
135 |
CONFIGURE_OPTIONS += --enable-shared |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
136 |
CONFIGURE_OPTIONS += --disable-static |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
137 |
CONFIGURE_OPTIONS += --disable-libtool-lock |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
138 |
CONFIGURE_OPTIONS += --disable-neon-version-check |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
139 |
CONFIGURE_OPTIONS += --disable-experimental-libtool |
3865
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
140 |
CONFIGURE_OPTIONS += --with-apxs=$(APXS.$(BITS)) |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
141 |
CONFIGURE_OPTIONS += --with-ssl |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
142 |
CONFIGURE_OPTIONS += --with-zlib=$(CONFIGURE_PREFIX) |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
143 |
CONFIGURE_OPTIONS += --with-jdk=$(JAVA_ROOT) |
3865
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
144 |
CONFIGURE_OPTIONS += --with-apr=/usr/apr/$(APR_VERSION) |
10347aa825d2
19476174 upgrade Subversion to 1.7.19
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
145 |
CONFIGURE_OPTIONS += --with-apr-util=/usr/apr-util/$(APR_UTIL_VERSION) |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
146 |
CONFIGURE_OPTIONS += --enable-nls |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
147 |
CONFIGURE_OPTIONS += --disable-mod-activation |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
148 |
CONFIGURE_OPTIONS += --enable-javahl |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
149 |
CONFIGURE_OPTIONS += --with-swig |
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
150 |
CONFIGURE_OPTIONS += --with-neon=$(CONFIGURE_PREFIX) |
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
151 |
CONFIGURE_OPTIONS += --with-apr=$(APR-CONFIG.$(BITS)) |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
152 |
CONFIGURE_OPTIONS += --with-apr-util=$(APU-CONFIG.$(BITS)) |
1493
9fd269654883
17230899 Enable Kerberos (GSSAPI) in Subversion
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1482
diff
changeset
|
153 |
CONFIGURE_OPTIONS += --with-gssapi=$(CONFIGURE_PREFIX) |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
154 |
|
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
155 |
# Swig overwrites the 32-bit directory with 64-bit objects. |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
156 |
# So we work around that. |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
157 |
COMPONENT_POST_INSTALL_ACTION += \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
158 |
( cd $(PROTOUSRLIBDIR)/python$(PYTHON_VERSION) ; \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
159 |
$(RM) -rf vendor-packages-$(BITS) ; \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
160 |
$(MV) vendor-packages vendor-packages-$(BITS) ; \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
161 |
$(MKDIR) -p vendor-packages ; \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
162 |
$(MKDIR) -p vendor-packages/64 ; \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
163 |
if test -d vendor-packages-64 ; then \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
164 |
$(GNUCP) -rpd vendor-packages-64/libsvn vendor-packages/64/ ; \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
165 |
$(GNUCP) -rpd vendor-packages-64/svn vendor-packages/64/ ; \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
166 |
$(GNUCP) -rpd vendor-packages-32/libsvn vendor-packages/ ; \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
167 |
$(GNUCP) -rpd vendor-packages-32/svn vendor-packages/ ; \ |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
168 |
fi ; ) |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
169 |
|
1493
9fd269654883
17230899 Enable Kerberos (GSSAPI) in Subversion
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1482
diff
changeset
|
170 |
PKG_MACROS += PERL_ARCH_16="$(PERL_ARCH_16)" |
3911
7afc7128c98a
20649370 migrate library/python/subversion to Python 2.7
John Beck <John.Beck@Oracle.COM>
parents:
3865
diff
changeset
|
171 |
PKG_MACROS += PYVER=$(PYTHON_VERSION) |
1493
9fd269654883
17230899 Enable Kerberos (GSSAPI) in Subversion
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1482
diff
changeset
|
172 |
|
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
173 |
ASLR_MODE=$(ASLR_ENABLE) |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
174 |
|
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1982
diff
changeset
|
175 |
configure: $(CONFIGURE_32_and_64) |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1982
diff
changeset
|
176 |
|
1275
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
177 |
build: $(BUILD_32_and_64) |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
178 |
|
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
179 |
install: $(INSTALL_32_and_64) |
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
180 |
|
03b86a2f9021
16522397 bash in S12 should be 64-bit
Stefan Teleman <stefan.teleman@oracle.com>
parents:
1058
diff
changeset
|
181 |
test: $(TEST_32_and_64) |
200
936900594dba
7031770 libmng needs to move to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
182 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4205
diff
changeset
|
183 |
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
4205
diff
changeset
|
184 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
185 |
REQUIRED_PACKAGES += database/sqlite-3 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
186 |
REQUIRED_PACKAGES += developer/versioning/subversion |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
187 |
REQUIRED_PACKAGES += library/apr-15 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
188 |
REQUIRED_PACKAGES += library/apr-util-15 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
189 |
REQUIRED_PACKAGES += library/expat |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
190 |
REQUIRED_PACKAGES += library/neon |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
191 |
REQUIRED_PACKAGES += library/zlib |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
192 |
REQUIRED_PACKAGES += system/library |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
193 |
REQUIRED_PACKAGES += system/library/c++-runtime |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
194 |
REQUIRED_PACKAGES += system/library/security/gss |
5055
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4984
diff
changeset
|
195 |
REQUIRED_PACKAGES += system/library/security/libsasl |