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