Makefile revision 423
369N/A#
369N/A# CDDL HEADER START
369N/A#
369N/A# The contents of this file are subject to the terms of the
369N/A# Common Development and Distribution License (the "License").
369N/A# You may not use this file except in compliance with the License.
369N/A#
369N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
369N/A# or http://www.opensolaris.org/os/licensing.
369N/A# See the License for the specific language governing permissions
369N/A# and limitations under the License.
369N/A#
369N/A# When distributing Covered Code, include this CDDL HEADER in each
369N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
369N/A# If applicable, add the following below this CDDL HEADER, with the
369N/A# fields enclosed by brackets "[]" replaced with your own identifying
369N/A# information: Portions Copyright [yyyy] [name of copyright owner]
369N/A#
369N/A# CDDL HEADER END
369N/A#
369N/A
369N/A#
369N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
369N/A#
369N/A
369N/Ainclude ../../make-rules/shared-macros.mk
369N/A
369N/ACOMPONENT_NAME= libnet
369N/ACOMPONENT_VERSION= 1.1.2.1
369N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
369N/ACOMPONENT_PROJECT_URL= http://www.packetfactory.net/libnet/
369N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
369N/ACOMPONENT_ARCHIVE_HASH= sha1:9dca91ee0f19b1b9e5e60baaedb9bc44a30a1fc7
369N/ACOMPONENT_ARCHIVE_URL= http://www.packetfactory.net/libnet/dist/deprecated/$(COMPONENT_ARCHIVE)
369N/A
369N/Ainclude ../../make-rules/prep.mk
369N/Ainclude ../../make-rules/configure.mk
369N/Ainclude ../../make-rules/ips.mk
369N/A
369N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
369N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
369N/A
369N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/doc/man/man3
369N/ACOMPILER= gcc
369N/ACFLAGS += -g -fPIC
369N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
369N/ACONFIGURE_OPTIONS.32 += --srcdir=$(BUILD_DIR_32)
369N/ACONFIGURE_OPTIONS.64 += --srcdir=$(BUILD_DIR_64)
369N/A
369N/A
369N/A# common targets
369N/Abuild: $(BUILD_32_and_64)
369N/A
369N/Ainstall: $(INSTALL_32_and_64)
369N/A
369N/Atest: $(NO_TESTS)
369N/A
369N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
369N/A
369N/Ainclude ../../make-rules/depend.mk
369N/A