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