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