components/graphviz/Makefile
changeset 1482 7a1f84fbc2d7
parent 1058 34d7aaa03423
child 1948 2d1537e7942d
equal deleted inserted replaced
1481:246d38ae4b93 1482:7a1f84fbc2d7
    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))