Makefile revision 1777
369N/A#
369N/A# CDDL HEADER START
369N/A#
369N/A# The contents of this file are subject to the terms of the
369N/A# Common Development and Distribution License (the "License").
369N/A# You may not use this file except in compliance with the License.
369N/A#
369N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
369N/A# or http://www.opensolaris.org/os/licensing.
369N/A# See the License for the specific language governing permissions
369N/A# and limitations under the License.
369N/A#
369N/A# When distributing Covered Code, include this CDDL HEADER in each
369N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
369N/A# If applicable, add the following below this CDDL HEADER, with the
369N/A# fields enclosed by brackets "[]" replaced with your own identifying
369N/A# information: Portions Copyright [yyyy] [name of copyright owner]
369N/A#
369N/A# CDDL HEADER END
369N/A#
3996N/A
369N/A#
369N/A# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
369N/A#
369N/A
369N/Ainclude ../../make-rules/shared-macros.mk
369N/A
369N/ACOMPONENT_NAME= mc
844N/ACOMPONENT_VERSION= 4.8.8
844N/ACOMPONENT_PROJECT_URL= http://www.midnight-commander.org/
369N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
369N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
3996N/ACOMPONENT_ARCHIVE_HASH= \
3996N/A sha256:7b5e6f90e6709d1c1bcb4a2bf6d2a62b9494adef3ff4325ffdb3551c29e42a1c
369N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)downloads/$(COMPONENT_ARCHIVE)
369N/ACOMPONENT_BUGDB= utility/mc
369N/A
369N/Ainclude ../../make-rules/prep.mk
369N/Ainclude ../../make-rules/configure.mk
369N/Ainclude ../../make-rules/ips.mk
369N/A
369N/A
369N/ACONFIGURE_OPTIONS += --sysconfdir=/usr/share
369N/ACONFIGURE_OPTIONS += --libexecdir=/usr/share
369N/ACONFIGURE_OPTIONS += --with-samba
369N/ACONFIGURE_OPTIONS += --with-x
369N/ACONFIGURE_OPTIONS += --enable-charset
369N/ACONFIGURE_OPTIONS += --without-ext2undel
369N/ACONFIGURE_OPTIONS += --with-screen=slang
369N/ACONFIGURE_OPTIONS += "mc_cv_nroff_tascii="
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
# Enable Address Space Layout Randomization
ASLR_MODE = $(ASLR_ENABLE)
# common targets
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk