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