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