|
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 # For now, all things built for C++11 require gcc. |
|
28 COMPILER = gcc |
|
29 include ../../../make-rules/shared-macros.mk |
|
30 |
|
31 COMPONENT_NAME= gtkmm |
|
32 COMPONENT_VERSION= 2.24.4 |
|
33 COMPONENT_PROJECT_URL= https://developer.gnome.org/gtkmm/stable/ |
|
34 COMPONENT_ARCHIVE_HASH= \ |
|
35 sha256:443a2ff3fcb42a915609f1779000390c640a6d7fd19ad8816e6161053696f5ee |
|
36 COMPONENT_BUGDB= gnome/libraries |
|
37 |
|
38 TPNO= 25780 |
|
39 |
|
40 TEST_TARGET = $(NO_TESTS) |
|
41 |
|
42 # Needs updated gtk, not available on S11. |
|
43 ifeq ($(BUILD_TYPE), evaluation) |
|
44 BUILD_32_and_64= |
|
45 INSTALL_32_and_64= |
|
46 PUBLISH_STAMP= |
|
47 endif |
|
48 |
|
49 include $(WS_MAKE_RULES)/gnome-component.mk |
|
50 |
|
51 CXXFLAGS += -std=c++11 |
|
52 |
|
53 # Delete this when build servers are installed with atkmm |
|
54 ATKMM_BASE = $(WS_COMPONENTS)/gnome/atkmm/build/prototype/$(MACH) |
|
55 PKG_CONFIG_PATHS += $(ATKMM_BASE)$(PKG_CONFIG_PATH.$(BITS)) |
|
56 |
|
57 LD_OPTIONS += -L $(ATKMM_BASE)$(USRLIB.$(BITS)) |
|
58 |
|
59 CPPFLAGS += -I$(ATKMM_BASE)$(USRINCDIR)/atkmm-1.6 |
|
60 |
|
61 DEPENDED += $(WS_TOP)/components/gnome/atkmm/build/manifest-$(MACH)-atkmm.depend |
|
62 |
|
63 REQUIRED_PACKAGES += $(shell $(GSED) -n -e 's%\$$(PERL_PKG)%$(PERL_PKG)%' -e 's/REQUIRED_PACKAGES +=//p' ../atkmm/Makefile) |
|
64 #end Delete |
|
65 |
|
66 REQUIRED_PACKAGES += developer/documentation-tool/doxygen |
|
67 REQUIRED_PACKAGES += image/graphviz |
|
68 REQUIRED_PACKAGES += library/c++/glibmm |
|
69 REQUIRED_PACKAGES += library/c++/sigcpp |
|
70 REQUIRED_PACKAGES += library/desktop/c++/atkmm |
|
71 REQUIRED_PACKAGES += library/desktop/c++/cairomm |
|
72 REQUIRED_PACKAGES += library/desktop/c++/pangomm |
|
73 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
|
74 REQUIRED_PACKAGES += library/desktop/gtk2 |
|
75 REQUIRED_PACKAGES += library/glib2 |
|
76 REQUIRED_PACKAGES += library/libxslt |
|
77 REQUIRED_PACKAGES += $(PERL_PKG) |
|
78 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
|
79 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
|
80 REQUIRED_PACKAGES += system/library/math |