|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
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. |
|
7 # |
|
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. |
|
12 # |
|
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] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 # |
|
21 |
|
22 # |
|
23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 |
|
26 BUILD_BITS = 32_and_64 |
|
27 # All components using gobject-introspection must be built with gcc as |
|
28 # gobject-introspection does not produce correct results when using Studio. |
|
29 COMPILER = gcc |
|
30 include ../../../make-rules/shared-macros.mk |
|
31 |
|
32 COMPONENT_NAME= libgtop |
|
33 COMPONENT_VERSION= 2.30.0 |
|
34 COMPONENT_ARCHIVE_HASH= \ |
|
35 sha256:463bcbe5737b1b93f3345ee34abf601e8eb864f507c49ff1921c2737abafc1e5 |
|
36 COMPONENT_BUGDB= gnome/libraries |
|
37 |
|
38 TPNO= 25827 |
|
39 |
|
40 TEST_TARGET = $(NO_TESTS) |
|
41 |
|
42 include $(WS_MAKE_RULES)/gnome-component.mk |
|
43 |
|
44 # Assumes GNU xgettext in PATH |
|
45 CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH) |
|
46 |
|
47 CONFIGURE_OPTIONS += --disable-static |
|
48 # Required for other components. |
|
49 CONFIGURE_OPTIONS += --enable-introspection |
|
50 CONFIGURE_OPTIONS += --enable-shared |
|
51 CONFIGURE_OPTIONS += --with-pic |
|
52 CONFIGURE_OPTIONS += --with-x |
|
53 CONFIGURE_OPTIONS += --enable-gtk-doc |
|
54 |
|
55 # Required due to patches. |
|
56 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv); |
|
57 |
|
58 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc |
|
59 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection |
|
60 REQUIRED_PACKAGES += library/glib2 |
|
61 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
|
62 REQUIRED_PACKAGES += x11/library/libxau |