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