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