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