Makefile revision 618
2058N/A
2058N/A# CDDL HEADER START
2058N/A#
2058N/A# The contents of this file are subject to the terms of the
2058N/A# Common Development and Distribution License (the "License").
2058N/A# You may not use this file except in compliance with the License.
2058N/A#
2058N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2058N/A# or http://www.opensolaris.org/os/licensing.
2058N/A# See the License for the specific language governing permissions
2058N/A# and limitations under the License.
2058N/A#
2058N/A# When distributing Covered Code, include this CDDL HEADER in each
2058N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2058N/A# If applicable, add the following below this CDDL HEADER, with the
2058N/A# fields enclosed by brackets "[]" replaced with your own identifying
2058N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2058N/A#
2058N/A# CDDL HEADER END
2058N/A#
3661N/A
2058N/A#
2058N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2058N/A#
2058N/A
2058N/Ainclude ../../make-rules/shared-macros.mk
2058N/A
2058N/ACOMPONENT_NAME= ncftp
2058N/ACOMPONENT_VERSION= 3.2.3
2058N/ACOMPONENT_PROJECT_URL= http://www.ncftp.com/ncftp/
2058N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2058N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.bz2
2058N/ACOMPONENT_ARCHIVE_HASH= sha1:7d58ce15662a2aeeb0b564f98c2beea2f6e54a0b
2058N/A# though 3.2.3 is mysteriously missing from the upstream site, it would be here.
3661N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.ncftp.com/ncftp/older_versions/$(COMPONENT_ARCHIVE)
3661N/A
2058N/A
2058N/Ainclude ../../make-rules/prep.mk
2058N/Ainclude ../../make-rules/configure.mk
2058N/Ainclude ../../make-rules/ips.mk
2058N/A
2058N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
2058N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
2058N/A
2058N/ACONFIGURE_ENV += CC="$(CC)"
2058N/ACONFIGURE_ENV += CXX="$(CXX)"
2058N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
2058N/A
2058N/ACONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
2058N/ACONFIGURE_OPTIONS += --srcdir=$(BUILD_DIR_32)
2058N/A
2058N/Ainclude ../../make-rules/shared-targets.mk
2058N/A
# common targets
build: $(BUILD_32)
install: $(INSTALL_32)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
test: $(NO_TESTS)
include ../../make-rules/depend.mk