components/graphviz/Makefile
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Thu, 19 Mar 2015 20:44:31 -0700
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3661 47545fb8aed4
child 4227 35a4398c64cb
permissions -rw-r--r--
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
457
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     1
#
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     3
#
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     7
#
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    12
#
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    18
#
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    20
#
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    21
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    22
#
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    23
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
457
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    24
#
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    25
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    27
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    28
COMPONENT_NAME=		graphviz
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    29
COMPONENT_VERSION=	2.28.0
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 457
diff changeset
    30
COMPONENT_PROJECT_URL=	http://www.graphviz.org/
457
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    31
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@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: 706
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: 706
diff changeset
    34
    sha256:d3aa7973c578cae4cc26d9d6498c57ed06680cab9a4e940d0357a3c6527afc76
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 457
diff changeset
    35
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)pub/graphviz/stable/SOURCES/$(COMPONENT_ARCHIVE)
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 938
diff changeset
    36
COMPONENT_BUGDB=	utility/graphviz
457
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    37
3661
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2813
diff changeset
    38
TPNO=			17707
47545fb8aed4 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 2813
diff changeset
    39
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    40
include $(WS_MAKE_RULES)/prep.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    41
include $(WS_MAKE_RULES)/configure.mk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    42
include $(WS_MAKE_RULES)/ips.mk
457
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    43
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    44
PATH =		/usr/bin:/usr/gnu/bin:/usr/php/5.2/bin
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    45
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    46
# GMP header files for the guile extension (no --with- flag)
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    47
# The guile build is broken with studio (7073649), so we disable this for now.
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    48
# CPPFLAGS +=	-I/usr/include/gmp
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    49
# Java header files (--with-javaincludedir allows for only one directory)
938
2c2880af6a0b 7187873 graphviz isn't using the right java header files
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 800
diff changeset
    50
CPPFLAGS +=	-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/solaris
457
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    51
# PHP header files (no --with- flag)
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    52
CPPFLAGS +=	$(shell PATH=$(PATH) php-config --includes)
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    53
CXX +=		$(studio_NORUNPATH)
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    54
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    55
CONFIGURE_ENV +=	CPPFLAGS="$(CPPFLAGS)"
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    56
CONFIGURE_ENV +=	PERL=$(PERL)
2813
db0bfa0fa498 PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7
April Chin <april.chin@oracle.com>
parents: 2434
diff changeset
    57
# Explicitly use Ruby 1.8.  Allows switching Ruby default without
db0bfa0fa498 PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7
April Chin <april.chin@oracle.com>
parents: 2434
diff changeset
    58
# affecting graphviz build.
db0bfa0fa498 PSARC/2013/269 Add Ruby 1.9.3 and EOF and Remove Ruby 1.8.7
April Chin <april.chin@oracle.com>
parents: 2434
diff changeset
    59
CONFIGURE_ENV +=	RUBY=$(RUBY.1.8)
457
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    60
CONFIGURE_OPTIONS +=	--without-included-ltdl
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    61
CONFIGURE_OPTIONS +=	--enable-python=no
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    62
CONFIGURE_OPTIONS +=	--enable-python26=yes
706
6e61f0012046 7108059 Userland should have python2.7 version of its python modules
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 683
diff changeset
    63
CONFIGURE_OPTIONS +=	--enable-python27=yes
623
15f87c23a86e 7109831 userland pkglint should audit runpaths
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    64
CONFIGURE_OPTIONS +=	--x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
457
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    65
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    66
COMPONENT_BUILD_ARGS += 	GREP=/usr/bin/ggrep
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    67
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    68
# common targets
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    69
build:		$(BUILD_32)
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    70
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    71
install:	$(INSTALL_32)
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    72
	env LD_LIBRARY_PATH=$(PROTO_DIR)/usr/lib GVBINDIR=$(PROTO_DIR)/usr/lib/graphviz $(PROTO_DIR)/usr/bin/dot -c
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    73
	$(PYTHON.2.6.32) -m compileall $(PROTO_DIR)/usr/lib/graphviz/python26
706
6e61f0012046 7108059 Userland should have python2.7 version of its python modules
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 683
diff changeset
    74
	$(PYTHON.2.7.32) -m compileall $(PROTO_DIR)/usr/lib/graphviz/python27
457
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    75
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    76
# The test infrastructure doesn't run in a VPATHed environment.
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    77
COMPONENT_PRE_TEST_ACTION = \
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    78
	(cd $(@D)/rtest; ln -s $(SOURCE_DIR)/rtest/* .)
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    79
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    80
# There are tests, but they fail consistently because the test samples are out
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    81
# of date and not generated with a known configuration.  See
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    82
# http://graphviz.org/bugs/b2063.html
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    83
test:		$(NO_TESTS)
aa27b836c528 PSARC/2011/269 Graphviz
Danek Duvall <danek.duvall@oracle.com>
parents:
diff changeset
    84
3996
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    85
REQUIRED_PACKAGES += image/graphviz
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    86
REQUIRED_PACKAGES += image/library/libpng
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    87
REQUIRED_PACKAGES += image/library/librsvg
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    88
REQUIRED_PACKAGES += library/desktop/atk
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    89
REQUIRED_PACKAGES += library/desktop/cairo
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    90
REQUIRED_PACKAGES += library/desktop/gtk2
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    91
REQUIRED_PACKAGES += library/desktop/pango
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    92
REQUIRED_PACKAGES += library/expat
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    93
REQUIRED_PACKAGES += library/gd
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    94
REQUIRED_PACKAGES += library/glib2
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    95
REQUIRED_PACKAGES += library/libtool/libltdl
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    96
REQUIRED_PACKAGES += library/zlib
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    97
REQUIRED_PACKAGES += print/filter/ghostscript
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    98
REQUIRED_PACKAGES += runtime/lua
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
    99
REQUIRED_PACKAGES += runtime/perl-512
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   100
REQUIRED_PACKAGES += runtime/ruby-18
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   101
REQUIRED_PACKAGES += runtime/tk-8
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   102
REQUIRED_PACKAGES += shell/ksh93
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   103
REQUIRED_PACKAGES += system/library
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   104
REQUIRED_PACKAGES += system/library/c++-runtime
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   105
REQUIRED_PACKAGES += system/library/math
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   106
REQUIRED_PACKAGES += system/linker
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   107
REQUIRED_PACKAGES += x11/library/libx11
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   108
REQUIRED_PACKAGES += x11/library/libxcursor
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   109
REQUIRED_PACKAGES += x11/library/libxmu
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   110
REQUIRED_PACKAGES += x11/library/libxrender
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   111
REQUIRED_PACKAGES += x11/library/toolkit/libxaw7
20c0f21bbe1e 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 3661
diff changeset
   112
REQUIRED_PACKAGES += x11/library/toolkit/libxt