Makefile revision 1326
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync#
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# CDDL HEADER START
5b281ba489ca18f0380d7efc7a5108b606cce449vboxsync#
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# The contents of this file are subject to the terms of the
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# Common Development and Distribution License (the "License").
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# You may not use this file except in compliance with the License.
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsync#
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# or http://www.opensolaris.org/os/licensing.
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# See the License for the specific language governing permissions
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# and limitations under the License.
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync#
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# When distributing Covered Code, include this CDDL HEADER in each
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# If applicable, add the following below this CDDL HEADER, with the
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync#
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# CDDL HEADER END
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync#
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync#
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncinclude ../../make-rules/shared-macros.mk
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsyncCOMPONENT_NAME= rsyslog
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsyncCOMPONENT_VERSION= 6.2.0
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1c94c0a63ba68be1a7b2c640e70d7a06464e4fcavboxsyncCOMPONENT_PROJECT_URL= http://rsyslog.com/
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncCOMPONENT_ARCHIVE_HASH= sha256:f8869a1c25d0dd9ff04468743969ffc9ff89c6f7afa3046f77f91c3982543cc1
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncCOMPONENT_BUGDB= service/rsyslog
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncinclude ../../make-rules/prep.mk
04e639b004793691f051abcd5b3c811c6b6b6f86vboxsyncinclude ../../make-rules/configure.mk
04e639b004793691f051abcd5b3c811c6b6b6f86vboxsyncinclude ../../make-rules/ips.mk
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncCOMPILER = gcc
04e639b004793691f051abcd5b3c811c6b6b6f86vboxsync
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# This is needed for things to be built correctly.
04e639b004793691f051abcd5b3c811c6b6b6f86vboxsyncCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
04e639b004793691f051abcd5b3c811c6b6b6f86vboxsync
d605d5391db09e6395a1c091f148f4b86af84bd3vboxsyncCONFIGURE_OPTIONS += --enable-imsolaris
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncCONFIGURE_OPTIONS += --enable-mail
227e0e8b2a8cbb5c51ad3b245cd9f7df81f8ec59vboxsyncCONFIGURE_OPTIONS += --enable-gssapi_krb5
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncCONFIGURE_OPTIONS += --enable-gnutls
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncCONFIGURE_OPTIONS += --disable-klog
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncCONFIGURE_OPTIONS += --sbindir=/usr/lib/rsyslog
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync# common targets
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncbuild: $(BUILD_32)
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncinstall: $(INSTALL_32)
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsynctest: $(TEST_32)
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncPKG_PROTO_DIRS += $(COMPONENT_DIR)/files
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsyncinclude ../../make-rules/depend.mk
9e5c26690d45216629b5f588aced8fcfb68c23b6vboxsync