components/libtool/Makefile
changeset 725 c3d04b0fa1ca
parent 708 2cb7fdf18c3d
child 800 2ad056ed89ec
equal deleted inserted replaced
724:2168b2449dc8 725:c3d04b0fa1ca
    52 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    52 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
    53 CONFIGURE_OPTIONS  +=		PERL="$(PERL)"
    53 CONFIGURE_OPTIONS  +=		PERL="$(PERL)"
    54 
    54 
    55 COMPONENT_PREP_ACTION = (cd $(@D) ; ./bootstrap)
    55 COMPONENT_PREP_ACTION = (cd $(@D) ; ./bootstrap)
    56 
    56 
       
    57 # Remove the hard-wired compiler locations in the LTCC and two CC lines
       
    58 # in the two versions of the libtool script.
       
    59 COMPONENT_POST_INSTALL_ACTION = \
       
    60 	(for dir in $(PROTOUSRBINDIR) $(PROTOUSRBINDIR)/$(MACH64) ; do \
       
    61 		cd $$dir; \
       
    62 		/usr/gnu/bin/sed -i \
       
    63 			-e 's|^LTCC="/.*$$|LTCC="cc"|' \
       
    64 			-e 's|^CC="/.*$$|CC="cc"|' libtool ; \
       
    65 	done)
       
    66 
    57 # Macros to configure, build, and install the old version for the time being.
    67 # Macros to configure, build, and install the old version for the time being.
    58 BUILD_OLD_DIR_32 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH32)
    68 BUILD_OLD_DIR_32 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH32)
    59 BUILD_OLD_DIR_64 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH64)
    69 BUILD_OLD_DIR_64 = $(COMPONENT_DIR)/build/$(COMPONENT_VERSION_1)-$(MACH64)
    60 
    70 
    61 $(BUILD_OLD_DIR_32)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure
    71 $(BUILD_OLD_DIR_32)/.configured: CONFIGURE_SCRIPT = $(SOURCE_DIR_1)/configure