components/openldap/Makefile
author Jan Parcel <jan.parcel@oracle.com>
Tue, 03 Nov 2015 14:27:41 -0800
changeset 5055 9daf220c1a9a
parent 4943 1d2d4cba41b1
child 5089 8d5767cc3ddc
permissions -rw-r--r--
PSARC/2015/194 libsasl ON to Userland migration and update 20855050 Update libsasl 2.1.15 to 2.1.26 and migrate to Userland consolidation 15242150 SUNBT6211461 SASL library missing extras 20544079 sasl install dir for plugins should be separately configurable 20544093 ifdef sun for gethostname in saslutil.c is obsolete 20544122 libtool.m4 overrides configuration for --no-verify 20544160 incorrect function definition for do_request in ipc_doors.c 20544105 sasl adjustment for location of gssapi.h incorrectly implemented 21058782 CMU cyrus-sasl missing man pages that we require 21099377 Moving to autotools 1.15 breaks cmu cyrus-sasl build 21131962 libsasl mv to Userland means subversion requires system/library/security/libsasl 22052798 openldap slapd refuses to run if libsasl updated unless openldap recompiled
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    53
include $(WS_MAKE_RULES)/ips.mk
474
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    54
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    55
COMPONENT_PRE_CONFIGURE_ACTION = \
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    56
        ($(CLONEY) $(SOURCE_DIR) $(@D))
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    57
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    58
COMPONENT_PRE_BUILD_ACTION = \
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    59
	 (cd $(BUILD_DIR_32); \
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    60
	 gzip -dc ../../$(SDFVER).tar.gz | tar xopf -; \
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    61
	  cd $(SDFVER); $(PERL) Makefile.PL; \
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    62
		$(GMAKE))
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
# 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
    65
CFLAGS += $(CPP_LARGEFILES) $(CC_PIC) $(studio_NORUNPATH)
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    66
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    67
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    68
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
    69
CONFIGURE_ENV += "ac_cv_lib_net_main=no"
50c029682c67 7106938 Problem with ldap/openldap
Douglas Leavitt <Doug.Leavitt@Sun.COM>
parents: 609
diff changeset
    70
CONFIGURE_ENV += "ac_cv_lib_net_socket==no"
50c029682c67 7106938 Problem with ldap/openldap
Douglas Leavitt <Doug.Leavitt@Sun.COM>
parents: 609
diff changeset
    71
CONFIGURE_ENV += "ac_cv_lib_inet_socket==no"
474
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_OPTIONS += --sysconfdir=/etc
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    74
CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    75
CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64)
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    76
CONFIGURE_OPTIONS += --localstatedir=/var/openldap
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    77
CONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/openldap
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    78
CONFIGURE_OPTIONS += --docdir=$(USRSHAREDOCDIR)
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    79
CONFIGURE_OPTIONS += --disable-static
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    80
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
    81
CONFIGURE_OPTIONS += --enable-dynamic
474
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    82
CONFIGURE_OPTIONS += --enable-crypt
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    83
CONFIGURE_OPTIONS += --enable-shared
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    84
CONFIGURE_OPTIONS += --enable-bdb
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    85
CONFIGURE_OPTIONS += --enable-hdb
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    86
CONFIGURE_OPTIONS += --enable-null
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    87
CONFIGURE_OPTIONS += --enable-passwd	 
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    88
CONFIGURE_OPTIONS += --enable-shell
4906
51866e99eff7 21839658 Enable the ldap backend for slapd
Shawn Emery <shawn.emery@oracle.com>
parents: 4654
diff changeset
    89
CONFIGURE_OPTIONS += --enable-ldap
474
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    90
CONFIGURE_OPTIONS += --with-cyrus-sasl
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    91
CONFIGURE_OPTIONS += --with-threads
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    92
CONFIGURE_OPTIONS += --with-tls=openssl
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    93
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    94
PROTOULD = $(PROTOUSRLIBDIR)
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    95
COMPONENT_TEST_ENV += LD_LIBRARY_PATH="$(PROTOULD):$(PROTOULD)/$(MACH64):"
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    96
COMPONENT_TEST_ARGS += -e
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    97
1423
27b01995039c 15821768 SUNBT7203918 openldap "make test" should only test distributed backends
doug leavitt <doug.leavitt@oracle.com>
parents: 1058
diff changeset
    98
# 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
    99
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
   100
5055
9daf220c1a9a PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents: 4943
diff changeset
   101
#
9daf220c1a9a PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents: 4943
diff changeset
   102
# 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
   103
# installed copy.
9daf220c1a9a PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents: 4943
diff changeset
   104
#
9daf220c1a9a PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents: 4943
diff changeset
   105
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
   106
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
   107
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
   108
LDFLAGS +=$(LDFLAGS.$(BITS))
9daf220c1a9a PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents: 4943
diff changeset
   109
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
   110
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
   111
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
   112
# 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
   113
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
   114
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
   115
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
   116
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
   117
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
   118
9daf220c1a9a PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents: 4943
diff changeset
   119
# 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
   120
../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
   121
	(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
   122
9daf220c1a9a PSARC/2015/194 libsasl ON to Userland migration and update
Jan Parcel <jan.parcel@oracle.com>
parents: 4943
diff changeset
   123
$(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
   124
$(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
   125
474
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
   126
# common targets
2225
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
   127
configure:	$(CONFIGURE_32_and_64)
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
   128
474
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
   129
build:	$(BUILD_32_and_64)
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
   130
	(cd $(BUILD_DIR_32)/doc/guide/admin; \
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
   131
	$(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
   132
	$(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
   133
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
   134
install:	$(INSTALL_32_and_64)
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
   135
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
   136
# build does this always
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
   137
test:	$(TEST_32_and_64)
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
   138
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
   139
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
   140
4943
1d2d4cba41b1 21935089 Missing package requirements to build Userland gate on 11.3
Vladimir Marek <Vladimir.Marek@oracle.com>
parents: 4906
diff changeset
   141
474
742dc4436b35 7054261 Move OpenLDAP to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
   142
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   143
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
   144
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
   145
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   146
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
   147
REQUIRED_PACKAGES += system/library
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
   148
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
   149
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
   150
REQUIRED_PACKAGES += text/groff/groff-core