Makefile revision 5295
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= mrtg
0N/ACOMPONENT_VERSION= 2.17.4
0N/ACOMPONENT_PROJECT_URL= http://oss.oetiker.ch/mrtg
0N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:5efa7fae8040159208472e5f889be5b41d8c8a2ea6b31616f0f75cc7f48d2365
0N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/pub/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= utility/mrtg
0N/A
0N/ATPNO= 25709
0N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/configure-64.mk
0N/Ainclude $(WS_MAKE_RULES)/ips.mk
0N/A
0N/ACONFIGURE_OPTIONS += --with-gd-inc=/usr/include/gd2
0N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -I$(BUILD_DIR_64)/bin"
0N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS) $(CC_BITS)"
803N/A
0N/ACONFIGURE_BINDIR.64 = $(USRBINDIR)
0N/ACONFIGURE_LIBDIR.64 = $(USRLIBDIR)
0N/A
0N/A# Build process expects a bin directory in compilation area.
0N/ACOMPONENT_PRE_BUILD_ACTION=(cd $(@D) ; mkdir -p bin)
0N/A
0N/A# Enable ASLR for this component
0N/AASLR_MODE = $(ASLR_ENABLE)
0N/A
0N/Aconfigure: $(CONFIGURE_64)
0N/A
0N/Abuild: $(BUILD_64)
0N/A
install: $(INSTALL_64)
test: $(NO_TESTS)
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
REQUIRED_PACKAGES += library/gd
REQUIRED_PACKAGES += runtime/perl-512
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math