Makefile revision 4448
32N/A#
32N/A# CDDL HEADER START
911N/A#
851N/A# The contents of this file are subject to the terms of the
32N/A# Common Development and Distribution License (the "License").
32N/A# You may not use this file except in compliance with the License.
32N/A#
32N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
32N/A# or http://www.opensolaris.org/os/licensing.
32N/A# See the License for the specific language governing permissions
32N/A# and limitations under the License.
32N/A#
32N/A# When distributing Covered Code, include this CDDL HEADER in each
32N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
32N/A# If applicable, add the following below this CDDL HEADER, with the
32N/A# fields enclosed by brackets "[]" replaced with your own identifying
32N/A# information: Portions Copyright [yyyy] [name of copyright owner]
32N/A#
32N/A# CDDL HEADER END
32N/A#
32N/A
32N/A#
32N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
32N/A#
32N/A
32N/Ainclude ../../make-rules/shared-macros.mk
32N/A
32N/ACOMPONENT_NAME= liblogging
32N/ACOMPONENT_VERSION= 1.0.4
32N/ACOMPONENT_PROJECT_URL= http://www.liblogging.org/
32N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
32N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
32N/ACOMPONENT_ARCHIVE_HASH= \
493N/A sha256:aceb5d2aa8bdc771ff66f407f9adf4176b654db63e34a8605795b68be537b81c
32N/ACOMPONENT_ARCHIVE_URL= \
32N/A http://download.rsyslog.com/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
851N/ACOMPONENT_BUGDB= service/rsyslog
32N/ATPNO= 20535
911N/A
911N/Ainclude $(WS_MAKE_RULES)/prep.mk
911N/Ainclude $(WS_MAKE_RULES)/configure.mk
911N/Ainclude $(WS_MAKE_RULES)/ips.mk
32N/A
32N/A# Means build only stdlog
32N/ACONFIGURE_OPTIONS += --disable-journal
32N/A
32N/A# There are built man pages in the tarball, which we shall patch. Making them
# here would require python-docutils.
CONFIGURE_OPTIONS += --disable-man-pages
CONFIGURE_OPTIONS += --bindir=$(USRBINDIR)
# Set -m32 or -m64 correctly for 32 and 64 bit versions.
CC += $(CC_BITS)
ASLR_MODE = $(ASLR_ENABLE)
# common targets
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
REQUIRED_PACKAGES += system/library