GCC: use -fuse-cxa-atexit by default
[unleashed-userland.git] / components / ncftp / Makefile
blob4399b11476efa767c29813186eb29e45915813e9
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
26 include ../../make-rules/shared-macros.mk
28 COMPONENT_NAME= ncftp
29 COMPONENT_VERSION= 3.2.5
30 COMPONENT_PROJECT_URL= http://www.ncftp.com/ncftp/
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.bz2
33 COMPONENT_ARCHIVE_HASH= \
34 sha256:b4ebe2415761a5137cd1d313c8fc1352f26d8963cc9e9e354e29720aa2089d42
35 COMPONENT_ARCHIVE_URL= ftp://ftp.ncftp.com/ncftp/$(COMPONENT_ARCHIVE)
36 COMPONENT_BUGDB= utility/ncftp-client
38 include ../../make-rules/prep.mk
39 include ../../make-rules/configure.mk
40 include ../../make-rules/ips.mk
42 COMPONENT_PRE_CONFIGURE_ACTION = \
43 ($(CLONEY) $(SOURCE_DIR) $(@D))
45 CONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
46 CONFIGURE_OPTIONS += --srcdir=$(BUILD_DIR_32)
48 ASLR_MODE = $(ASLR_ENABLE)
50 include ../../make-rules/shared-targets.mk
52 # common targets
53 build: $(BUILD_32)
55 install: $(INSTALL_32)
57 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
59 test: $(NO_TESTS)
61 include ../../make-rules/depend.mk