components/graphviz/Makefile
changeset 706 6e61f0012046
parent 683 c613b3449c36
child 800 2ad056ed89ec
equal deleted inserted replaced
705:ea8fed4b5f65 706:6e61f0012046
    51 CONFIGURE_ENV +=	CPPFLAGS="$(CPPFLAGS)"
    51 CONFIGURE_ENV +=	CPPFLAGS="$(CPPFLAGS)"
    52 CONFIGURE_ENV +=	PERL=$(PERL)
    52 CONFIGURE_ENV +=	PERL=$(PERL)
    53 CONFIGURE_OPTIONS +=	--without-included-ltdl
    53 CONFIGURE_OPTIONS +=	--without-included-ltdl
    54 CONFIGURE_OPTIONS +=	--enable-python=no
    54 CONFIGURE_OPTIONS +=	--enable-python=no
    55 CONFIGURE_OPTIONS +=	--enable-python26=yes
    55 CONFIGURE_OPTIONS +=	--enable-python26=yes
       
    56 CONFIGURE_OPTIONS +=	--enable-python27=yes
    56 CONFIGURE_OPTIONS +=	--x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
    57 CONFIGURE_OPTIONS +=	--x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
    57 
    58 
    58 COMPONENT_BUILD_ARGS += 	GREP=/usr/bin/ggrep
    59 COMPONENT_BUILD_ARGS += 	GREP=/usr/bin/ggrep
    59 
    60 
    60 # common targets
    61 # common targets
    61 build:		$(BUILD_32)
    62 build:		$(BUILD_32)
    62 
    63 
    63 install:	$(INSTALL_32)
    64 install:	$(INSTALL_32)
    64 	env LD_LIBRARY_PATH=$(PROTO_DIR)/usr/lib GVBINDIR=$(PROTO_DIR)/usr/lib/graphviz $(PROTO_DIR)/usr/bin/dot -c
    65 	env LD_LIBRARY_PATH=$(PROTO_DIR)/usr/lib GVBINDIR=$(PROTO_DIR)/usr/lib/graphviz $(PROTO_DIR)/usr/bin/dot -c
    65 	$(PYTHON.2.6.32) -m compileall $(PROTO_DIR)/usr/lib/graphviz/python26
    66 	$(PYTHON.2.6.32) -m compileall $(PROTO_DIR)/usr/lib/graphviz/python26
       
    67 	$(PYTHON.2.7.32) -m compileall $(PROTO_DIR)/usr/lib/graphviz/python27
    66 
    68 
    67 # The test infrastructure doesn't run in a VPATHed environment.
    69 # The test infrastructure doesn't run in a VPATHed environment.
    68 COMPONENT_PRE_TEST_ACTION = \
    70 COMPONENT_PRE_TEST_ACTION = \
    69 	(cd $(@D)/rtest; ln -s $(SOURCE_DIR)/rtest/* .)
    71 	(cd $(@D)/rtest; ln -s $(SOURCE_DIR)/rtest/* .)
    70 
    72