components/libestr/Makefile
author Jan Parcel <jan.parcel@oracle.com>
Tue, 03 Nov 2015 14:27:41 -0800
changeset 5055 9daf220c1a9a
parent 4431 d851c2eccfcc
child 5682 94c0ca64c022
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:
847
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
#
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
#
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
#
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
#
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    18
#
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    20
#
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    21
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
847
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    22
#
4431
d851c2eccfcc PSARC/2014/388 rsyslog 8.4.2
James Chang <james.c.chang@Oracle.COM>
parents: 4339
diff changeset
    23
847
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    24
include ../../make-rules/shared-macros.mk
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    25
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
COMPONENT_NAME=		libestr
4431
d851c2eccfcc PSARC/2014/388 rsyslog 8.4.2
James Chang <james.c.chang@Oracle.COM>
parents: 4339
diff changeset
    27
COMPONENT_VERSION=	0.1.9
847
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_PROJECT_URL=	http://libestr.adiscon.com/
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
4431
d851c2eccfcc PSARC/2014/388 rsyslog 8.4.2
James Chang <james.c.chang@Oracle.COM>
parents: 4339
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	sha256:822c6e2d01eaca1e72201f403a2ca01f3e86410b880e508e5204e3c2694d751a
847
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_ARCHIVE)
1095
e720196b46b2 16064047 Fix component build file problems in various Userland components
Rich Burridge <rich.burridge@oracle.com>
parents: 1058
diff changeset
    33
COMPONENT_BUGDB=	service/rsyslog
4431
d851c2eccfcc PSARC/2014/388 rsyslog 8.4.2
James Chang <james.c.chang@Oracle.COM>
parents: 4339
diff changeset
    34
TPNO=			20531
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1434
diff changeset
    35
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    36
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
    37
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
    38
include $(WS_MAKE_RULES)/ips.mk
847
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    39
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    40
# Userland default includes -mt which links with libthread which we don't need.
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    41
studio_MT =
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    42
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    43
# This is needed for the 64-bit library to be built correctly.
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    44
CONFIGURE_ENV +=	CFLAGS="$(CFLAGS)"
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    45
1434
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1095
diff changeset
    46
ASLR_MODE = $(ASLR_NOT_APPLICABLE)
c782e620dd26 17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents: 1095
diff changeset
    47
847
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    48
# common targets
2225
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    49
configure:	$(CONFIGURE_32_and_64)
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    50
847
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    51
build:		$(BUILD_32_and_64)
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    52
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    53
install:	$(INSTALL_32_and_64)
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    54
4431
d851c2eccfcc PSARC/2014/388 rsyslog 8.4.2
James Chang <james.c.chang@Oracle.COM>
parents: 4339
diff changeset
    55
# No longer seems to have tests
d851c2eccfcc PSARC/2014/388 rsyslog 8.4.2
James Chang <james.c.chang@Oracle.COM>
parents: 4339
diff changeset
    56
test:		$(NO_TESTS)
847
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    57
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
    58
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
    59
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 2225
diff changeset
    60
REQUIRED_PACKAGES += system/library