Makefile revision 1601
4909N/A#
4909N/A# CDDL HEADER START
4909N/A#
4909N/A# The contents of this file are subject to the terms of the
4909N/A# Common Development and Distribution License (the "License").
4909N/A# You may not use this file except in compliance with the License.
4909N/A#
4909N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4909N/A# or http://www.opensolaris.org/os/licensing.
4909N/A# See the License for the specific language governing permissions
4909N/A# and limitations under the License.
4909N/A#
4909N/A# When distributing Covered Code, include this CDDL HEADER in each
4909N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4909N/A# If applicable, add the following below this CDDL HEADER, with the
4909N/A# fields enclosed by brackets "[]" replaced with your own identifying
4909N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4909N/A#
4909N/A# CDDL HEADER END
4909N/A#
4909N/A# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
4909N/A#
4909N/Ainclude ../../make-rules/shared-macros.mk
4909N/A
4909N/ACOMPONENT_NAME= rsyslog
4909N/ACOMPONENT_VERSION= 6.2.0
4909N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4909N/ACOMPONENT_PROJECT_URL= http://rsyslog.com/
4909N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4909N/ACOMPONENT_ARCHIVE_HASH= sha256:f8869a1c25d0dd9ff04468743969ffc9ff89c6f7afa3046f77f91c3982543cc1
4909N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
4909N/ACOMPONENT_BUGDB= service/rsyslog
4909N/A
4909N/Ainclude ../../make-rules/prep.mk
4909N/Ainclude ../../make-rules/configure.mk
4909N/Ainclude ../../make-rules/ips.mk
4909N/A
4909N/ACOMPILER = gcc
4909N/A
4909N/A# This is needed for things to be built correctly.
4909N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
4909N/A
4909N/A# A normal 64-bit build would result in /usr/lib/$(MACH64)/rsyslog but since we
4909N/A# have a self-contained eco-system, simplify things for customers and just use
4909N/A# /usr/lib/rsyslog .
4909N/ACONFIGURE_LIBDIR.64 = $(CONFIGURE_LIBDIR.32)
4909N/A
4909N/ACONFIGURE_OPTIONS += --enable-imsolaris
4909N/ACONFIGURE_OPTIONS += --enable-mail
4909N/ACONFIGURE_OPTIONS += --enable-gssapi_krb5
4909N/ACONFIGURE_OPTIONS += --enable-gnutls
4909N/ACONFIGURE_OPTIONS += --disable-klog
4909N/ACONFIGURE_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