components/mc/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 864 8070f77a5a10
child 1058 34d7aaa03423
permissions -rw-r--r--
Close of build 04.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
228
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     1
#
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     3
#
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     7
#
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    12
#
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    18
#
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    20
#
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    21
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    22
#
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    23
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
228
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    24
#
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    25
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    27
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		mc
315
10d99128da06 6998205 Midnight Commander should be updated to 4.7.5.2
Milan Cermak <Milan.Cermak@oracle.com>
parents: 228
diff changeset
    29
COMPONENT_VERSION=	4.7.5.2
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 315
diff changeset
    30
COMPONENT_PROJECT_URL=	http://www.midnight-commander.org/
228
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    31
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    34
    sha256:351f667d79d0045dedb3dd132ca770be3d51960627b2b0d0996d3cc8bab888f5
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 315
diff changeset
    35
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)downloads/$(COMPONENT_ARCHIVE)
228
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    36
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    37
include ../../make-rules/prep.mk
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    38
include ../../make-rules/configure.mk
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    39
include ../../make-rules/ips.mk
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    40
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    41
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    42
CONFIGURE_OPTIONS += --sysconfdir=/usr/share
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    43
CONFIGURE_OPTIONS += --libexecdir=/usr/share
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    44
CONFIGURE_OPTIONS += --with-samba
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    45
CONFIGURE_OPTIONS += --with-x
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    46
CONFIGURE_OPTIONS += --enable-charset
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    47
CONFIGURE_OPTIONS += --without-ext2undel
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    48
CONFIGURE_OPTIONS += --with-screen=slang
864
8070f77a5a10 7174850 permanentish temporary files have returned again
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 800
diff changeset
    49
CONFIGURE_OPTIONS += "mc_cv_nroff_tascii="
228
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    50
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    51
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    52
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    53
# common targets
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    54
build:		$(BUILD_32)
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    55
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    56
install:	$(INSTALL_32)
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    57
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    58
test:		$(NO_TESTS)
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    59
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    60
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    61
491af2bffe0f 7043307 Move mc 4.7.3 to userland
Srinivasa Sarva <srinivasa.sarva@oracle.com>
parents:
diff changeset
    62
include ../../make-rules/depend.mk