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