Makefile revision 2899
34c989574817eca41f72a5f02c848e51cfef32f0meem#
34c989574817eca41f72a5f02c848e51cfef32f0meem# CDDL HEADER START
34c989574817eca41f72a5f02c848e51cfef32f0meem#
34c989574817eca41f72a5f02c848e51cfef32f0meem# The contents of this file are subject to the terms of the
34c989574817eca41f72a5f02c848e51cfef32f0meem# Common Development and Distribution License (the "License").
34c989574817eca41f72a5f02c848e51cfef32f0meem# You may not use this file except in compliance with the License.
34c989574817eca41f72a5f02c848e51cfef32f0meem#
34c989574817eca41f72a5f02c848e51cfef32f0meem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
34c989574817eca41f72a5f02c848e51cfef32f0meem# or http://www.opensolaris.org/os/licensing.
34c989574817eca41f72a5f02c848e51cfef32f0meem# See the License for the specific language governing permissions
34c989574817eca41f72a5f02c848e51cfef32f0meem# and limitations under the License.
34c989574817eca41f72a5f02c848e51cfef32f0meem#
34c989574817eca41f72a5f02c848e51cfef32f0meem# When distributing Covered Code, include this CDDL HEADER in each
34c989574817eca41f72a5f02c848e51cfef32f0meem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
34c989574817eca41f72a5f02c848e51cfef32f0meem# If applicable, add the following below this CDDL HEADER, with the
34c989574817eca41f72a5f02c848e51cfef32f0meem# fields enclosed by brackets "[]" replaced with your own identifying
34c989574817eca41f72a5f02c848e51cfef32f0meem# information: Portions Copyright [yyyy] [name of copyright owner]
34c989574817eca41f72a5f02c848e51cfef32f0meem#
34c989574817eca41f72a5f02c848e51cfef32f0meem# CDDL HEADER END
34c989574817eca41f72a5f02c848e51cfef32f0meem#
34c989574817eca41f72a5f02c848e51cfef32f0meem# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
34c989574817eca41f72a5f02c848e51cfef32f0meem#
34c989574817eca41f72a5f02c848e51cfef32f0meeminclude ../../make-rules/shared-macros.mk
34c989574817eca41f72a5f02c848e51cfef32f0meem
34c989574817eca41f72a5f02c848e51cfef32f0meemCOMPONENT_NAME= rsyslog
34c989574817eca41f72a5f02c848e51cfef32f0meemCOMPONENT_VERSION= 6.2.0
34c989574817eca41f72a5f02c848e51cfef32f0meemCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34c989574817eca41f72a5f02c848e51cfef32f0meemCOMPONENT_PROJECT_URL= http://rsyslog.com/
34c989574817eca41f72a5f02c848e51cfef32f0meemCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
34c989574817eca41f72a5f02c848e51cfef32f0meemCOMPONENT_ARCHIVE_HASH= sha256:f8869a1c25d0dd9ff04468743969ffc9ff89c6f7afa3046f77f91c3982543cc1
34c989574817eca41f72a5f02c848e51cfef32f0meemCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
34c989574817eca41f72a5f02c848e51cfef32f0meemCOMPONENT_BUGDB= service/rsyslog
34c989574817eca41f72a5f02c848e51cfef32f0meem
34c989574817eca41f72a5f02c848e51cfef32f0meemTPNO= 7585
34c989574817eca41f72a5f02c848e51cfef32f0meem
34c989574817eca41f72a5f02c848e51cfef32f0meeminclude ../../make-rules/prep.mk
34c989574817eca41f72a5f02c848e51cfef32f0meeminclude ../../make-rules/configure.mk
34c989574817eca41f72a5f02c848e51cfef32f0meeminclude ../../make-rules/ips.mk
34c989574817eca41f72a5f02c848e51cfef32f0meem
34c989574817eca41f72a5f02c848e51cfef32f0meemCOMPILER = gcc
34c989574817eca41f72a5f02c848e51cfef32f0meem
34c989574817eca41f72a5f02c848e51cfef32f0meem# This is needed for things to be built correctly.
34c989574817eca41f72a5f02c848e51cfef32f0meemCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
34c989574817eca41f72a5f02c848e51cfef32f0meem
# A normal 64-bit build would result in /usr/lib/$(MACH64)/rsyslog but since we
# have a self-contained eco-system, simplify things for customers and just use
# /usr/lib/rsyslog .
CONFIGURE_LIBDIR.64 = $(CONFIGURE_LIBDIR.32)
CONFIGURE_OPTIONS += --enable-imsolaris
CONFIGURE_OPTIONS += --enable-mail
CONFIGURE_OPTIONS += --enable-gssapi_krb5
CONFIGURE_OPTIONS += --enable-gnutls
CONFIGURE_OPTIONS += --disable-klog
CONFIGURE_OPTIONS += --sbindir=/usr/lib/rsyslog
ASLR_MODE = $(ASLR_ENABLE)
# common targets
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(TEST_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
PKG_PROTO_DIRS += $(COMPONENT_DIR)/files
include ../../make-rules/depend.mk