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