components/graphviz/Makefile
branchs11-update
changeset 2813 db0bfa0fa498
parent 2434 6c9bb5cf5610
child 1948 2d1537e7942d
equal deleted inserted replaced
2812:8dd40225690f 2813:db0bfa0fa498
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../make-rules/shared-macros.mk
    26 include ../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		graphviz
    28 COMPONENT_NAME=		graphviz
    50 CPPFLAGS +=	$(shell PATH=$(PATH) php-config --includes)
    50 CPPFLAGS +=	$(shell PATH=$(PATH) php-config --includes)
    51 CXX +=		$(studio_NORUNPATH)
    51 CXX +=		$(studio_NORUNPATH)
    52 
    52 
    53 CONFIGURE_ENV +=	CPPFLAGS="$(CPPFLAGS)"
    53 CONFIGURE_ENV +=	CPPFLAGS="$(CPPFLAGS)"
    54 CONFIGURE_ENV +=	PERL=$(PERL)
    54 CONFIGURE_ENV +=	PERL=$(PERL)
       
    55 # Explicitly use Ruby 1.8.  Allows switching Ruby default without
       
    56 # affecting graphviz build.
       
    57 CONFIGURE_ENV +=	RUBY=$(RUBY.1.8)
    55 CONFIGURE_OPTIONS +=	--without-included-ltdl
    58 CONFIGURE_OPTIONS +=	--without-included-ltdl
    56 CONFIGURE_OPTIONS +=	--enable-python=no
    59 CONFIGURE_OPTIONS +=	--enable-python=no
    57 CONFIGURE_OPTIONS +=	--enable-python26=yes
    60 CONFIGURE_OPTIONS +=	--enable-python26=yes
    58 CONFIGURE_OPTIONS +=	--enable-python27=yes
    61 CONFIGURE_OPTIONS +=	--enable-python27=yes
    59 CONFIGURE_OPTIONS +=	--x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
    62 CONFIGURE_OPTIONS +=	--x-libraries=$(CONFIGURE_LIBDIR.$(BITS))