author | John Beck <John.Beck@Oracle.COM> |
Fri, 06 Nov 2015 08:11:17 -0800 | |
changeset 5089 | 8d5767cc3ddc |
parent 5055 | 9daf220c1a9a |
child 5125 | 34cc580c62c2 |
permissions | -rw-r--r-- |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
1 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
3 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
7 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
12 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
18 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
20 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
21 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@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. |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
24 |
# |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
25 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
26 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
27 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
28 |
include ../../make-rules/shared-macros.mk |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
29 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_NAME= openldap |
785
50c029682c67
7106938 Problem with ldap/openldap
Douglas Leavitt <Doug.Leavitt@Sun.COM>
parents:
609
diff
changeset
|
31 |
COMPONENT_VERSION= 2.4.30 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
474
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= http://www.openldap.org/ |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
785
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
785
diff
changeset
|
36 |
sha256:fc013e528616f8578d9f221409c48af9b8937a62005e0bec88f6f1c4c8ff3d81 |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
37 |
COMPONENT_ARCHIVE_URL= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
38 |
COMPONENT_BUGDB= service/openldap |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
39 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1423
diff
changeset
|
40 |
TPNO= 5295 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1423
diff
changeset
|
41 |
|
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
42 |
SDFVER= sdf-2.001 |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
43 |
SDFBLIB= $(BUILD_DIR_32)/${SDFVER}/blib |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
44 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
45 |
COMPONENT_ARCHIVE_1= $(SDFVER).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
785
diff
changeset
|
46 |
COMPONENT_ARCHIVE_HASH_1= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
785
diff
changeset
|
47 |
sha256:6f9bcdc884a9f450208c740e45effdfeb7e65c689f57b05d3c15208193a8a6ea |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
48 |
COMPONENT_ARCHIVE_URL_1= ftp://ftp.eenet.ee/pub/cpan/authors/id/I/IA/IANC/$(COMPONENT_ARCHIVE_1) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
49 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
50 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
51 |
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
|
52 |
include $(WS_MAKE_RULES)/configure.mk |
5089
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
53 |
|
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
54 |
# This depends on libsasl which cannot be installed on S11. |
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
55 |
ifeq ($(BUILD_TYPE), evaluation) |
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
56 |
PUBLISH_STAMP= |
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
57 |
endif |
8d5767cc3ddc
22166085 more tweaks needed for FOSS evaluation project
John Beck <John.Beck@Oracle.COM>
parents:
5055
diff
changeset
|
58 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
59 |
include $(WS_MAKE_RULES)/ips.mk |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
60 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
61 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
62 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
63 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
64 |
COMPONENT_PRE_BUILD_ACTION = \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
65 |
(cd $(BUILD_DIR_32); \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
66 |
gzip -dc ../../$(SDFVER).tar.gz | tar xopf -; \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
67 |
cd $(SDFVER); $(PERL) Makefile.PL; \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
68 |
$(GMAKE)) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
69 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
70 |
# we need to enable large file support and build PIC for our shared libraries |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
71 |
CFLAGS += $(CPP_LARGEFILES) $(CC_PIC) $(studio_NORUNPATH) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
72 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
73 |
CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
74 |
CONFIGURE_ENV += PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" |
785
50c029682c67
7106938 Problem with ldap/openldap
Douglas Leavitt <Doug.Leavitt@Sun.COM>
parents:
609
diff
changeset
|
75 |
CONFIGURE_ENV += "ac_cv_lib_net_main=no" |
50c029682c67
7106938 Problem with ldap/openldap
Douglas Leavitt <Doug.Leavitt@Sun.COM>
parents:
609
diff
changeset
|
76 |
CONFIGURE_ENV += "ac_cv_lib_net_socket==no" |
50c029682c67
7106938 Problem with ldap/openldap
Douglas Leavitt <Doug.Leavitt@Sun.COM>
parents:
609
diff
changeset
|
77 |
CONFIGURE_ENV += "ac_cv_lib_inet_socket==no" |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
78 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
79 |
CONFIGURE_OPTIONS += --sysconfdir=/etc |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
80 |
CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
81 |
CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
82 |
CONFIGURE_OPTIONS += --localstatedir=/var/openldap |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
83 |
CONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/openldap |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
84 |
CONFIGURE_OPTIONS += --docdir=$(USRSHAREDOCDIR) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
85 |
CONFIGURE_OPTIONS += --disable-static |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
86 |
CONFIGURE_OPTIONS += --enable-overlays |
4654
94e90d50dc0e
20220521 OpenLDAP TLS Protocol/Ciphersuite selection for nsswitch-ldap
zihao.zhu@oracle.com <zihao.zhu@oracle.com>
parents:
4339
diff
changeset
|
87 |
CONFIGURE_OPTIONS += --enable-dynamic |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
88 |
CONFIGURE_OPTIONS += --enable-crypt |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
89 |
CONFIGURE_OPTIONS += --enable-shared |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
90 |
CONFIGURE_OPTIONS += --enable-bdb |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
91 |
CONFIGURE_OPTIONS += --enable-hdb |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
92 |
CONFIGURE_OPTIONS += --enable-null |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
93 |
CONFIGURE_OPTIONS += --enable-passwd |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
94 |
CONFIGURE_OPTIONS += --enable-shell |
4906
51866e99eff7
21839658 Enable the ldap backend for slapd
Shawn Emery <shawn.emery@oracle.com>
parents:
4654
diff
changeset
|
95 |
CONFIGURE_OPTIONS += --enable-ldap |
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
96 |
CONFIGURE_OPTIONS += --with-cyrus-sasl |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
97 |
CONFIGURE_OPTIONS += --with-threads |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
98 |
CONFIGURE_OPTIONS += --with-tls=openssl |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
99 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
100 |
PROTOULD = $(PROTOUSRLIBDIR) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
101 |
COMPONENT_TEST_ENV += LD_LIBRARY_PATH="$(PROTOULD):$(PROTOULD)/$(MACH64):" |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
102 |
COMPONENT_TEST_ARGS += -e |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
103 |
|
1423
27b01995039c
15821768 SUNBT7203918 openldap "make test" should only test distributed backends
doug leavitt <doug.leavitt@oracle.com>
parents:
1058
diff
changeset
|
104 |
# Enable ASLR for this component |
27b01995039c
15821768 SUNBT7203918 openldap "make test" should only test distributed backends
doug leavitt <doug.leavitt@oracle.com>
parents:
1058
diff
changeset
|
105 |
ASLR_MODE = $(ASLR_ENABLE) |
27b01995039c
15821768 SUNBT7203918 openldap "make test" should only test distributed backends
doug leavitt <doug.leavitt@oracle.com>
parents:
1058
diff
changeset
|
106 |
|
5055
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
107 |
# |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
108 |
# OpenLDAP must be built with cyrus-sasl out of the gate instead of the |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
109 |
# installed copy. |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
110 |
# |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
111 |
CYRUS_SASL_ROOT = $(WS_COMPONENTS)/cyrus-sasl/build/prototype/$(MACH) |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
112 |
LDFLAGS.32 +="-L$(CYRUS_SASL_ROOT)/usr/lib" |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
113 |
LDFLAGS.64 +="-L$(CYRUS_SASL_ROOT)/usr/lib/$(MACH64)" |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
114 |
LDFLAGS +=$(LDFLAGS.$(BITS)) |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
115 |
CPPFLAGS +="-I$(CYRUS_SASL_ROOT)/usr/include" |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
116 |
CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)" |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
117 |
CONFIGURE_ENV += LDFLAGS="$(LDFLAGS)" |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
118 |
# make sure that we don't add the cyrus-sasl proto area to the RUNPATH |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
119 |
LD_UNSET.32="-R$(CYRUS_SASL_ROOT)/usr/lib" |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
120 |
LD_UNSET.64="-R$(CYRUS_SASL_ROOT)/usr/lib/$(MACH64)" |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
121 |
LD_UNSET += $(LD_UNSET.$(BITS)) |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
122 |
COMPONENT_BUILD_ENV += LD_UNSET="$(LD_UNSET)" |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
123 |
COMPONENT_INSTALL_ENV += LD_UNSET="$(LD_UNSET)" |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
124 |
|
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
125 |
# special targets due to dependency on cyrus-sasl |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
126 |
../cyrus-sasl/build/%/.installed: |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
127 |
(cd ../cyrus-sasl && $(GMAKE) install) |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
128 |
|
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
129 |
$(CONFIGURE_32): ../cyrus-sasl/build/$(MACH32)/.installed |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
130 |
$(CONFIGURE_64): ../cyrus-sasl/build/$(MACH64)/.installed |
9daf220c1a9a
PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents:
4943
diff
changeset
|
131 |
|
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
132 |
# common targets |
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
133 |
configure: $(CONFIGURE_32_and_64) |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
134 |
|
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
135 |
build: $(BUILD_32_and_64) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
136 |
(cd $(BUILD_DIR_32)/doc/guide/admin; \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
137 |
$(PERL) -I$(SDFBLIB)/lib $(SDFBLIB)/script/sdf -2html guide.sdf; \ |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
138 |
$(PERL) -I$(SDFBLIB)/lib $(SDFBLIB)/script/sdf -2html index.sdf) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
139 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
140 |
install: $(INSTALL_32_and_64) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
141 |
|
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
142 |
# build does this always |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
143 |
test: $(TEST_32_and_64) |
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
144 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
145 |
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:
3817
diff
changeset
|
146 |
|
4943
1d2d4cba41b1
21935089 Missing package requirements to build Userland gate on 11.3
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
4906
diff
changeset
|
147 |
|
474
742dc4436b35
7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff
changeset
|
148 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
149 |
REQUIRED_PACKAGES += database/berkeleydb-5 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
150 |
REQUIRED_PACKAGES += library/security/openssl |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
151 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
152 |
REQUIRED_PACKAGES += system/core-os |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
153 |
REQUIRED_PACKAGES += system/library |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
154 |
REQUIRED_PACKAGES += system/library/security/libsasl |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
155 |
REQUIRED_PACKAGES += system/network |
4943
1d2d4cba41b1
21935089 Missing package requirements to build Userland gate on 11.3
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
4906
diff
changeset
|
156 |
REQUIRED_PACKAGES += text/groff/groff-core |