author | Stacey Marshall <Stacey.Marshall@Oracle.COM> |
Tue, 22 Apr 2014 11:07:09 +0100 | |
branch | s11u1-sru |
changeset 3101 | 3855f970a9cc |
parent 938 | 2c2880af6a0b |
child 1058 | 34d7aaa03423 |
permissions | -rw-r--r-- |
457 | 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 |
# |
|
683
c613b3449c36
7079363 gcc-3.p5m package manifest file shouldn't deliver .la files
Rich Burridge <rich.burridge@oracle.com>
parents:
623
diff
changeset
|
23 |
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
457 | 24 |
# |
25 |
||
26 |
include ../../make-rules/shared-macros.mk |
|
27 |
||
28 |
COMPONENT_NAME= graphviz |
|
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 | 31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
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) |
457 | 36 |
|
37 |
include ../../make-rules/prep.mk |
|
38 |
include ../../make-rules/configure.mk |
|
39 |
include ../../make-rules/ips.mk |
|
40 |
||
41 |
PATH = /usr/bin:/usr/gnu/bin:/usr/php/5.2/bin |
|
42 |
||
43 |
# GMP header files for the guile extension (no --with- flag) |
|
44 |
# The guile build is broken with studio (7073649), so we disable this for now. |
|
45 |
# CPPFLAGS += -I/usr/include/gmp |
|
46 |
# 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
|
47 |
CPPFLAGS += -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/solaris |
457 | 48 |
# PHP header files (no --with- flag) |
49 |
CPPFLAGS += $(shell PATH=$(PATH) php-config --includes) |
|
50 |
CXX += $(studio_NORUNPATH) |
|
51 |
||
52 |
CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)" |
|
53 |
CONFIGURE_ENV += PERL=$(PERL) |
|
54 |
CONFIGURE_OPTIONS += --without-included-ltdl |
|
55 |
CONFIGURE_OPTIONS += --enable-python=no |
|
56 |
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
|
57 |
CONFIGURE_OPTIONS += --enable-python27=yes |
623
15f87c23a86e
7109831 userland pkglint should audit runpaths
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS)) |
457 | 59 |
|
60 |
COMPONENT_BUILD_ARGS += GREP=/usr/bin/ggrep |
|
61 |
||
62 |
# common targets |
|
63 |
build: $(BUILD_32) |
|
64 |
||
65 |
install: $(INSTALL_32) |
|
66 |
env LD_LIBRARY_PATH=$(PROTO_DIR)/usr/lib GVBINDIR=$(PROTO_DIR)/usr/lib/graphviz $(PROTO_DIR)/usr/bin/dot -c |
|
67 |
$(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
|
68 |
$(PYTHON.2.7.32) -m compileall $(PROTO_DIR)/usr/lib/graphviz/python27 |
457 | 69 |
|
70 |
# The test infrastructure doesn't run in a VPATHed environment. |
|
71 |
COMPONENT_PRE_TEST_ACTION = \ |
|
72 |
(cd $(@D)/rtest; ln -s $(SOURCE_DIR)/rtest/* .) |
|
73 |
||
74 |
# There are tests, but they fail consistently because the test samples are out |
|
75 |
# of date and not generated with a known configuration. See |
|
76 |
# http://graphviz.org/bugs/b2063.html |
|
77 |
test: $(NO_TESTS) |
|
78 |
||
79 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |