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