Makefile revision 5237
e0e25f8d302fa5ef03a5960832fd3eefec659ce3Matt Sweeney# CDDL HEADER START
e0e25f8d302fa5ef03a5960832fd3eefec659ce3Matt Sweeney# The contents of this file are subject to the terms of the
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# Common Development and Distribution License (the "License").
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# You may not use this file except in compliance with the License.
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# See the License for the specific language governing permissions
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# and limitations under the License.
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# When distributing Covered Code, include this CDDL HEADER in each
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# If applicable, add the following below this CDDL HEADER, with the
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# fields enclosed by brackets "[]" replaced with your own identifying
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# information: Portions Copyright [yyyy] [name of copyright owner]
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# CDDL HEADER END
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyCOMPONENT_PROJECT_URL= http://oss.oetiker.ch/mrtg
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney sha256:ce9ec97bb6c8f94a8d8bb2d3cfa7e72b73754ed7a1081e7aca1c8cece5ce3385
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/pub/$(COMPONENT_ARCHIVE)
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyCONFIGURE_OPTIONS += --with-gd-inc=/usr/include/gd2
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS) -I$(BUILD_DIR_64)/bin"
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyCONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS) $(CC_BITS)"
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# Build process expects a bin directory in compilation area.
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt SweeneyCOMPONENT_PRE_BUILD_ACTION=(cd $(@D) ; mkdir -p bin)
7b8680288e79cc11a4c20b66ce5c167619f1431fMatt Sweeney# Enable ASLR for this component