Makefile revision 2899
264N/A#
264N/A# CDDL HEADER START
264N/A#
264N/A# The contents of this file are subject to the terms of the
264N/A# Common Development and Distribution License (the "License").
264N/A# You may not use this file except in compliance with the License.
264N/A#
264N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
264N/A# or http://www.opensolaris.org/os/licensing.
264N/A# See the License for the specific language governing permissions
264N/A# and limitations under the License.
264N/A#
264N/A# When distributing Covered Code, include this CDDL HEADER in each
264N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
264N/A# If applicable, add the following below this CDDL HEADER, with the
264N/A# fields enclosed by brackets "[]" replaced with your own identifying
264N/A# information: Portions Copyright [yyyy] [name of copyright owner]
264N/A#
264N/A# CDDL HEADER END
264N/A#
264N/A# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
264N/A#
5396N/Ainclude ../../make-rules/shared-macros.mk
264N/A
814N/ACOMPONENT_NAME= libdnet
5220N/ACOMPONENT_VERSION= 1.12
5135N/ACOMPONENT_PROJECT_URL= http://code.google.com/p/libdnet/
4431N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4431N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
6094N/ACOMPONENT_ARCHIVE_HASH= \
3817N/A sha256:83b33039787cf99990e977cef7f18a5d5e7aaffc4505548a83d31bd3515eb026
4431N/ACOMPONENT_ARCHIVE_URL= http://libdnet.googlecode.com/files/$(COMPONENT_ARCHIVE)
4431N/ACOMPONENT_BUGDB= library/libdnet
4431N/A
4431N/ATPNO= 9402
4431N/A
4431N/Ainclude ../../make-rules/prep.mk
3817N/Ainclude ../../make-rules/configure.mk
3817N/Ainclude ../../make-rules/ips.mk
6094N/A
6094N/A# Needed to generate libraries with a .so extension.
6094N/ACOMPONENT_PREP_ACTION = \
264N/A (cd $(@D) ; libtoolize --automake --copy ; \
6475N/A aclocal -I config ; \
6475N/A autoheader ; \
6475N/A automake --add-missing --copy ; \
264N/A autoconf)
264N/A
264N/A# Set -m32 or -m64 correctly for 32 and 64 bit versions.
5396N/ACC += $(CC_BITS)
1258N/A
264N/A# Remove Linux specific functionality.
3817N/ACONFIGURE_OPTIONS += ac_cv_dnet_linux_pf_packet=no
264N/A
4431N/A# Uncomment if you have the Check unit testing framework installed.
4431N/A#CONFIGURE_OPTIONS += --with-check=/usr
4431N/A
4431N/AASLR_MODE = $(ASLR_ENABLE)
4431N/A
264N/A# common targets
4431N/Abuild: $(BUILD_32_and_64)
4431N/A
4431N/Ainstall: $(INSTALL_32_and_64)
4431N/A
5174N/A# Tests for libdnet are not enabled by default as they use the Check unit
5174N/A# testing framework which is currently not present on Solaris. See:
5174N/A# http://check.sourceforge.net/ for more details.
5174N/A# If you do have Check on your system, then uncomment the TEST_32 line.
3817N/Atest: $(NO_TESTS)
264N/A#test: $(TEST_32_and_64)
4431N/A
264N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
6094N/A
6094N/Ainclude ../../make-rules/depend.mk
264N/A