Makefile revision 1591
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# CDDL HEADER START
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont#
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# The contents of this file are subject to the terms of the
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Common Development and Distribution License (the "License").
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# You may not use this file except in compliance with the License.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont#
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# or http://www.opensolaris.org/os/licensing.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# See the License for the specific language governing permissions
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# and limitations under the License.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont#
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# When distributing Covered Code, include this CDDL HEADER in each
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# If applicable, add the following below this CDDL HEADER, with the
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# fields enclosed by brackets "[]" replaced with your own identifying
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# information: Portions Copyright [yyyy] [name of copyright owner]
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont#
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# CDDL HEADER END
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont#
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont#
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont#
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontinclude ../../make-rules/shared-macros.mk
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_NAME= ncftp
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_VERSION= 3.2.3
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_PROJECT_URL= http://www.ncftp.com/ncftp/
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.bz2
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_ARCHIVE_HASH= \
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont sha256:46f4f2fbde40187a164bdd0fe3d37d2d85d36445e56f2bf08fc814ee8dcba510
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# though 3.2.3 is mysteriously missing from the upstream site, it would be here.
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_ARCHIVE_URL= ftp://ftp.ncftp.com/ncftp/older_versions/$(COMPONENT_ARCHIVE)
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_BUGDB= utility/ncftp-client
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontinclude ../../make-rules/prep.mk
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontinclude ../../make-rules/configure.mk
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontinclude ../../make-rules/ips.mk
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_PRE_CONFIGURE_ACTION = \
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont ($(CLONEY) $(SOURCE_DIR) $(@D))
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCONFIGURE_ENV += CC="$(CC)"
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCONFIGURE_ENV += CXX="$(CXX)"
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCONFIGURE_OPTIONS += --srcdir=$(BUILD_DIR_64)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis DupontASLR_MODE = $(ASLR_ENABLE)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontinclude ../../make-rules/shared-targets.mk
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# common targets
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontbuild: $(BUILD_64)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontinstall: $(INSTALL_64)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis DupontBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis Duponttest: $(NO_TESTS)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontinclude ../../make-rules/depend.mk
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont