components/rsyslog/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 847 4ae04177ffa1
child 1058 34d7aaa03423
permissions -rw-r--r--
Close of build 04.
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
#
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    21
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    22
#
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    23
include ../../make-rules/shared-macros.mk
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    24
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    25
COMPONENT_NAME=		rsyslog
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
COMPONENT_VERSION=	6.2.0
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    27
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_PROJECT_URL=	http://rsyslog.com/
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_ARCHIVE_HASH=	sha256:f8869a1c25d0dd9ff04468743969ffc9ff89c6f7afa3046f77f91c3982543cc1
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    32
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    33
include ../../make-rules/prep.mk
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    34
include ../../make-rules/configure.mk
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    35
include ../../make-rules/ips.mk
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    36
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    37
COMPILER = gcc
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    38
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    39
# This is needed for things to be built correctly.
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    40
CONFIGURE_ENV +=	CFLAGS="$(CFLAGS)"
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    41
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    42
CONFIGURE_OPTIONS +=    --enable-imsolaris
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    43
CONFIGURE_OPTIONS +=    --enable-mail
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    44
CONFIGURE_OPTIONS +=    --enable-gssapi_krb5
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    45
CONFIGURE_OPTIONS +=    --enable-gnutls
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    46
CONFIGURE_OPTIONS +=    --disable-klog
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    47
CONFIGURE_OPTIONS +=    --sbindir=/usr/lib/rsyslog
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    48
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    49
# common targets
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    50
build:		$(BUILD_32)
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    51
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    52
install:	$(INSTALL_32)
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    53
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    54
test:		$(TEST_32)
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    55
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    56
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    57
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    58
PKG_PROTO_DIRS +=	$(COMPONENT_DIR)/files
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    59
4ae04177ffa1 PSARC 2012/197 rsyslog
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    60
include ../../make-rules/depend.mk