Update of /cvsroot/leaf/src/bering-uclibc4/source/autoconf
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv1381

Added Files:
        autoconf-2.59.tar.bz2 buildtool.cfg buildtool.mk 
Log Message:
fix autoconf with perl in BT_STATGING_DIR


--- NEW FILE: autoconf-2.59.tar.bz2 ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
  Server = cvs4-sourceforge
  Revision = HEAD
  Directory = autoconf
</File>

<File autoconf-2.59.tar.bz2>
  Server = cvs4-sourceforge
  Directory = autoconf
  Revision = HEAD  
  envname = AUTOCONF_SOURCE
</File>


--- NEW FILE: buildtool.mk ---
#############################################################
#
# autoconf
#
#############################################################

include $(MASTERMAKEFILE)
AUTOCONF_DIR:=autoconf-2.59
export CC=$(TARGET_CC)
CFLAGS=-Os -s -I$(BT_STAGING_DIR)/include:$(BT_STAGING_DIR)/include/include
export CFLAGS
STRIP_OPTIONS=-s --remove-section=.note --remove-section=.comment 
PERLVER=$(shell ls $(BT_STAGING_DIR)/usr/lib/perl5) 


$(AUTOCONF_DIR)/.source:                
        bzcat $(AUTOCONF_SOURCE) |  tar -xvf -  
        touch $(AUTOCONF_DIR)/.source


$(AUTOCONF_DIR)/.configured: $(AUTOCONF_DIR)/.source
        (cd $(AUTOCONF_DIR); rm -rf config.cache; CC=$(TARGET_CC)  \
        ./configure \
                --prefix=$(BT_STAGING_DIR) );
        touch $(AUTOCONF_DIR)/.configured


source: $(AUTOCONF_DIR)/.source

build: $(AUTOCONF_DIR)/.configured
        export PERLLIB=$(BT_STAGING_DIR)/usr/lib/perl5/$(PERLVER); \
        $(MAKE) CC=$(TARGET_CC) -C $(AUTOCONF_DIR) 
        $(MAKE) CC=$(TARGET_CC) -C $(AUTOCONF_DIR) install
        

clean:
        -rm $(AUTOCONF_DIR)/.configured
        $(MAKE) -C $(AUTOCONF_DIR) uninstall
        $(MAKE) -C $(AUTOCONF_DIR) clean
  

srcclean:
        rm -rf $(AUTOCONF_DIR)
        

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
leaf-cvs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to