Makefile revision 1030
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync# CDDL HEADER START
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync# The contents of this file are subject to the terms of the
2f14f4556ae74ad40719bc9690534693abb71868vboxsync# Common Development and Distribution License (the "License").
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync# You may not use this file except in compliance with the License.
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync# See the License for the specific language governing permissions
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync# and limitations under the License.
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync# When distributing Covered Code, include this CDDL HEADER in each
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync# If applicable, add the following below this CDDL HEADER, with the
94872a0e88ab4f38c786fcf617ddeb4b63a76957vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
78a072e1b56619e3230735ae073668311232ec94vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
78a072e1b56619e3230735ae073668311232ec94vboxsync# CDDL HEADER END
c3d2b15ad840b405062f4c2c6b127d6fc107c7b2vboxsync# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
b0c4bd49112a99f00ef48b7a8eae6fb310a62bdavboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
78a072e1b56619e3230735ae073668311232ec94vboxsync sha256:d3aa7973c578cae4cc26d9d6498c57ed06680cab9a4e940d0357a3c6527afc76
b0c4bd49112a99f00ef48b7a8eae6fb310a62bdavboxsyncCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)pub/graphviz/stable/SOURCES/$(COMPONENT_ARCHIVE)
cc260ed3418d1fd2771d0395f818f76808b60238vboxsync# GMP header files for the guile extension (no --with- flag)
cc260ed3418d1fd2771d0395f818f76808b60238vboxsync# The guile build is broken with studio (7073649), so we disable this for now.
78a072e1b56619e3230735ae073668311232ec94vboxsync# Java header files (--with-javaincludedir allows for only one directory)
d5d45608052fd506e4114bf112df6efae7fcd8a7vboxsyncCPPFLAGS += -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/solaris
9be72bf71509dd721ffa1df70ead200abf30afd8vboxsync# PHP header files (no --with- flag)
e7184fff6d89903aed623860629a05047960ac2dvboxsyncCPPFLAGS += $(shell PATH=$(PATH) php-config --includes)
cc260ed3418d1fd2771d0395f818f76808b60238vboxsyncCONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
78a072e1b56619e3230735ae073668311232ec94vboxsync# common targets
cc260ed3418d1fd2771d0395f818f76808b60238vboxsync env LD_LIBRARY_PATH=$(PROTO_DIR)/usr/lib GVBINDIR=$(PROTO_DIR)/usr/lib/graphviz $(PROTO_DIR)/usr/bin/dot -c
cc260ed3418d1fd2771d0395f818f76808b60238vboxsync $(PYTHON.2.6.32) -m compileall $(PROTO_DIR)/usr/lib/graphviz/python26
cc260ed3418d1fd2771d0395f818f76808b60238vboxsync $(PYTHON.2.7.32) -m compileall $(PROTO_DIR)/usr/lib/graphviz/python27
cc260ed3418d1fd2771d0395f818f76808b60238vboxsync# The test infrastructure doesn't run in a VPATHed environment.
78a072e1b56619e3230735ae073668311232ec94vboxsync# There are tests, but they fail consistently because the test samples are out
78a072e1b56619e3230735ae073668311232ec94vboxsync# of date and not generated with a known configuration. See