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