components/gparted/Makefile
author julian.yuen@oracle.com <julian.yuen@oracle.com>
Tue, 29 Mar 2016 14:05:28 -0700
changeset 5673 03a73b3209f6
parent 5390 a8538443770a
child 5682 94c0ca64c022
permissions -rw-r--r--
20411943 Update GParted to a newer version 0.25.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5330
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
     1
#
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
     3
#
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
     7
#
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    12
#
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    18
#
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    20
#
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    21
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    22
#
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    23
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    24
#
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    25
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    27
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		gparted
5673
03a73b3209f6 20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents: 5390
diff changeset
    29
COMPONENT_VERSION=	0.25.0
03a73b3209f6 20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents: 5390
diff changeset
    30
COMPONENT_PROJECT_URL=	http://gparted.org/
5330
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    31
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
5673
03a73b3209f6 20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents: 5390
diff changeset
    32
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
5330
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
5673
03a73b3209f6 20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents: 5390
diff changeset
    34
    sha256:2d996d5f4921d49eae850a1824acb8ab1299b1ea9bbb9c607248cd6c8cdc94ae
5330
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_URL=	http://prdownloads.sourceforge.net/gparted/$(COMPONENT_ARCHIVE)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    36
COMPONENT_BUGDB=	utility/gparted
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    37
5673
03a73b3209f6 20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents: 5390
diff changeset
    38
TPNO=			27500
5330
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    39
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    40
# we're i386-only
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    41
ifeq ($(MACH), sparc)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    42
PUBLISH_STAMP=
5332
1e1d90972404 22514272 Move GParted from desktop to userland (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 5330
diff changeset
    43
INSTALL_32=
5330
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    44
endif
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    45
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    46
include $(WS_MAKE_RULES)/prep.mk
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    47
include $(WS_MAKE_RULES)/configure.mk
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    48
include $(WS_MAKE_RULES)/ips.mk
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    49
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    50
COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    51
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    52
CC += $(CC_BITS)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    53
CXX += $(CC_BITS)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    54
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    55
# needed to find xgettext
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    56
PATH=/usr/gnu/bin:/usr/bin
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    57
CONFIGURE_OPTIONS +=    CFLAGS="$(CFLAGS)"
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    58
CONFIGURE_OPTIONS +=	CXX="$(CXX) -norunpath"
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    59
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    60
ASLR_MODE =	$(ASLR_ENABLE)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    61
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    62
# common targets, we're i386-only
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    63
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    64
build_sparc:
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    65
	@echo "Not available."
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    66
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    67
configure:	$(CONFIGURE_32)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    68
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    69
build_i386:	$(BUILD_32)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    70
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    71
build:		build_$(MACH)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    72
5673
03a73b3209f6 20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents: 5390
diff changeset
    73
install:	$(INSTALL_32)
5330
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    74
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    75
test:           $(NO_TESTS)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    76
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    77
system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    78
5390
a8538443770a 22650022 gparted/Makefile missing doc utils requirement
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 5332
diff changeset
    79
REQUIRED_PACKAGES += developer/gnome/gnome-doc-utils
5330
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    80
REQUIRED_PACKAGES += library/c++/glibmm
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    81
REQUIRED_PACKAGES += library/c++/sigcpp
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    82
REQUIRED_PACKAGES += library/desktop/c++/cairomm
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    83
REQUIRED_PACKAGES += library/desktop/c++/gtkmm
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    84
REQUIRED_PACKAGES += library/desktop/c++/pangomm
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    85
REQUIRED_PACKAGES += library/desktop/gtk2
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    86
REQUIRED_PACKAGES += library/glib2
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    87
REQUIRED_PACKAGES += shell/ksh93
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    88
REQUIRED_PACKAGES += system/library
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    89
REQUIRED_PACKAGES += system/library/c++-runtime
5673
03a73b3209f6 20411943 Update GParted to a newer version 0.25.0
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents: 5390
diff changeset
    90
REQUIRED_PACKAGES += system/library/math
5332
1e1d90972404 22514272 Move GParted from desktop to userland (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 5330
diff changeset
    91
ifneq ($(MACH), sparc)
5330
c36e3195e3e9 22514272 Move GParted from desktop to userland
julian.yuen@oracle.com <julian.yuen@oracle.com>
parents:
diff changeset
    92
REQUIRED_PACKAGES += system/storage/parted
5332
1e1d90972404 22514272 Move GParted from desktop to userland (fix sparc)
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 5330
diff changeset
    93
endif