Makefile revision 3996
905N/A#
905N/A# CDDL HEADER START
905N/A#
905N/A# The contents of this file are subject to the terms of the
905N/A# Common Development and Distribution License (the "License").
905N/A# You may not use this file except in compliance with the License.
905N/A#
905N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
905N/A# or http://www.opensolaris.org/os/licensing.
905N/A# See the License for the specific language governing permissions
905N/A# and limitations under the License.
905N/A#
905N/A# When distributing Covered Code, include this CDDL HEADER in each
905N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
905N/A# If applicable, add the following below this CDDL HEADER, with the
905N/A# fields enclosed by brackets "[]" replaced with your own identifying
905N/A# information: Portions Copyright [yyyy] [name of copyright owner]
905N/A#
905N/A# CDDL HEADER END
905N/A#
3996N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
905N/A#
3996N/A
3996N/ACOMPILER = gcc3
3996N/A
905N/Ainclude ../../make-rules/shared-macros.mk
905N/A
905N/ACOMPONENT_NAME= rsyslog
905N/ACOMPONENT_VERSION= 6.2.0
905N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
905N/ACOMPONENT_PROJECT_URL= http://rsyslog.com/
905N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
905N/ACOMPONENT_ARCHIVE_HASH= sha256:f8869a1c25d0dd9ff04468743969ffc9ff89c6f7afa3046f77f91c3982543cc1
905N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)files/download/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/logger
905N/A
3661N/ATPNO= 7585
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
905N/A
905N/A# This is needed for things to be built correctly.
905N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
905N/A
905N/ACONFIGURE_OPTIONS += --enable-imsolaris
905N/ACONFIGURE_OPTIONS += --enable-mail
905N/ACONFIGURE_OPTIONS += --enable-gssapi_krb5
905N/ACONFIGURE_OPTIONS += --enable-gnutls
905N/ACONFIGURE_OPTIONS += --disable-klog
905N/ACONFIGURE_OPTIONS += --sbindir=/usr/lib/rsyslog
905N/A
905N/A# common targets
905N/Abuild: $(BUILD_32)
905N/A
905N/Ainstall: $(INSTALL_32)
905N/A
905N/Atest: $(TEST_32)
905N/A
905N/A
905N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/files
3319N/APKG_PROTO_DIRS += $(COMPONENT_SRC)
905N/A
3996N/AREQUIRED_PACKAGES += file/gnu-coreutils
3996N/AREQUIRED_PACKAGES += library/gnutls
3996N/AREQUIRED_PACKAGES += library/libee
3996N/AREQUIRED_PACKAGES += library/libestr
3996N/AREQUIRED_PACKAGES += library/zlib
3996N/AREQUIRED_PACKAGES += shell/ksh93
3996N/AREQUIRED_PACKAGES += system/library
3996N/AREQUIRED_PACKAGES += system/library/gcc-3-runtime
3996N/AREQUIRED_PACKAGES += system/library/gcc-45-runtime
3996N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime