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