Makefile revision 206
359N/A
359N/A# CDDL HEADER START
359N/A#
359N/A# The contents of this file are subject to the terms of the
359N/A# Common Development and Distribution License (the "License").
359N/A# You may not use this file except in compliance with the License.
359N/A#
359N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
359N/A# or http://www.opensolaris.org/os/licensing.
359N/A# See the License for the specific language governing permissions
359N/A# and limitations under the License.
359N/A#
359N/A# When distributing Covered Code, include this CDDL HEADER in each
359N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
359N/A# If applicable, add the following below this CDDL HEADER, with the
359N/A# fields enclosed by brackets "[]" replaced with your own identifying
359N/A# information: Portions Copyright [yyyy] [name of copyright owner]
359N/A#
359N/A# CDDL HEADER END
359N/A#
3661N/A
359N/A#
359N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
359N/A#
359N/A
359N/Ainclude ../../make-rules/shared-macros.mk
618N/A
359N/ACOMPONENT_NAME= nmap
359N/ACOMPONENT_VERSION= 5.21
844N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
844N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
359N/ACOMPONENT_ARCHIVE_HASH= sha1:ce212ce765f842b16059456cf0c9d9cfbbce25d6
1273N/ACOMPONENT_ARCHIVE_URL= http://nmap.org/dist/$(COMPONENT_ARCHIVE)
359N/A
3661N/Ainclude ../../make-rules/prep.mk
3661N/Ainclude ../../make-rules/configure.mk
359N/Ainclude ../../make-rules/ips.mk
359N/A
359N/ACOMPILER = gcc
359N/A
359N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
359N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
359N/A
359N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
359N/ACONFIGURE_OPTIONS += CXX="$(CXX)"
359N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
359N/ACONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
359N/ACONFIGURE_OPTIONS += LIBS="-lsocket -lnsl"
359N/ACONFIGURE_OPTIONS += PYTHON="$(PYTHON)"
359N/ACONFIGURE_OPTIONS += --disable-shared
359N/ACONFIGURE_OPTIONS += --enable-static
359N/ACONFIGURE_OPTIONS += --disable-libtool-lock
359N/ACONFIGURE_OPTIONS += --localstatedir=/var
CONFIGURE_OPTIONS += --without-localdirs
CONFIGURE_OPTIONS += --with-zenmap
CONFIGURE_OPTIONS += --with-openssl
CONFIGURE_OPTIONS += --with-libpcap
CONFIGURE_OPTIONS += --with-libpcre
CONFIGURE_OPTIONS += --with-liblua
CONFIGURE_OPTIONS += --with-ncat
CONFIGURE_OPTIONS += --with-ndiff
CONFIGURE_OPTIONS += am_cv_python_pythondir=$(PYTHON_LIB)
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk