Makefile revision 5367
228N/A#
228N/A# CDDL HEADER START
228N/A#
228N/A# The contents of this file are subject to the terms of the
228N/A# Common Development and Distribution License (the "License").
228N/A# You may not use this file except in compliance with the License.
228N/A#
228N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
228N/A# or http://www.opensolaris.org/os/licensing.
228N/A# See the License for the specific language governing permissions
228N/A# and limitations under the License.
228N/A#
228N/A# When distributing Covered Code, include this CDDL HEADER in each
228N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
228N/A# If applicable, add the following below this CDDL HEADER, with the
228N/A# fields enclosed by brackets "[]" replaced with your own identifying
228N/A# information: Portions Copyright [yyyy] [name of copyright owner]
228N/A#
228N/A# CDDL HEADER END
228N/A#
228N/A
228N/A#
5367N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
228N/A#
228N/A
228N/Ainclude ../../make-rules/shared-macros.mk
228N/A
228N/ACOMPONENT_NAME= mc
5367N/ACOMPONENT_VERSION= 4.8.15
618N/ACOMPONENT_PROJECT_URL= http://www.midnight-commander.org/
228N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
1628N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
5367N/A sha256:f74e3da70410975cdeb27ee9a66d1dd812250b6d3ede364bca728dd5a48e5471
618N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)downloads/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/mc
228N/A
5367N/ATPNO= 26430
2899N/A
3817N/Ainclude $(WS_MAKE_RULES)/prep.mk
3817N/Ainclude $(WS_MAKE_RULES)/configure.mk
3817N/Ainclude $(WS_MAKE_RULES)/ips.mk
228N/A
228N/A
228N/ACONFIGURE_OPTIONS += --sysconfdir=/usr/share
228N/ACONFIGURE_OPTIONS += --libexecdir=/usr/share
228N/ACONFIGURE_OPTIONS += --with-samba
228N/ACONFIGURE_OPTIONS += --with-x
228N/ACONFIGURE_OPTIONS += --enable-charset
228N/ACONFIGURE_OPTIONS += --without-ext2undel
228N/ACONFIGURE_OPTIONS += --with-screen=slang
924N/ACONFIGURE_OPTIONS += "mc_cv_nroff_tascii="
228N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
228N/A
1628N/A# Enable Address Space Layout Randomization
1628N/AASLR_MODE = $(ASLR_ENABLE)
228N/A
228N/A# common targets
3477N/Aconfigure: $(CONFIGURE_64)
3477N/A
1699N/Abuild: $(BUILD_64)
228N/A
1699N/Ainstall: $(INSTALL_64)
228N/A
228N/Atest: $(NO_TESTS)
228N/A
5367N/Asystem-test: $(NO_TESTS)
4337N/A
228N/A
3817N/AREQUIRED_PACKAGES += library/glib2
5367N/AREQUIRED_PACKAGES += library/libssh2
3817N/AREQUIRED_PACKAGES += library/slang
3817N/AREQUIRED_PACKAGES += runtime/perl-512
4744N/AREQUIRED_PACKAGES += runtime/perl-520
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/library