[lfs-dev] jhalfs not create proper Makefile for ch6 autoconf

xinglp xinglp at gmail.com
Fri Mar 21 17:48:26 PDT 2014


There's many things missed for "105-autoconf:" section.  with lfs_book
r10512 and jhalfs r3785

104-perl:  103-inetutils
    @$(call echo_message, Building)
#   @export BASHBIN=$(SHELL) && $(SHELL) progress_bar.sh $@ $$PPID &
    @echo "$(nl_)`date`$(nl_)" >logs/$@-5.18.2
    @$(PRT_DU_CR) >>logs/$@-5.18.2
    @$(call remove_existing_dirs2,perl-5.18.2.tar.bz2)
    @$(call unpack2,perl-5.18.2.tar.bz2)
    @$(call get_pkg_root2)
    @echo "export CFLAGS=\"-O2 -pipe\"" >> envars
    @echo "export CXXFLAGS=\"-O2 -pipe\"" >> envars
    @echo "export OTHER_CFLAGS=\"-O2 -pipe\"" >> envars
    @echo "export OTHER_CXXFLAGS=\"-O2 -pipe\"" >> envars
    @echo "export MAKEFLAGS=\"-j2\"" >> envars
    @source envars && \
    $(crCMDSDIR)/chapter06/$@ >>logs/$@-5.18.2 2>&1 && \
    $(PRT_DU_CR) >>logs/$@-5.18.2
    @$(call remove_build_dirs2,perl)
    @$(call housekeeping)

105-autoconf:  104-perl
    @$(call echo_message, Building)
#   @export BASHBIN=$(SHELL) && $(SHELL) progress_bar.sh $@ $$PPID &
    @echo "$(nl_)`date`$(nl_)" >logs/$@
    @$(PRT_DU_CR) >>logs/$@
    @source envars && \
    $(crCMDSDIR)/chapter06/$@ >>logs/$@ 2>&1 && \
    $(PRT_DU_CR) >>logs/$@
    @$(call housekeeping)

106-automake:  105-autoconf
    @$(call echo_message, Building)
#   @export BASHBIN=$(SHELL) && $(SHELL) progress_bar.sh $@ $$PPID &
    @echo "$(nl_)`date`$(nl_)" >logs/$@-1.14.1
    @$(PRT_DU_CR) >>logs/$@-1.14.1
    @$(call remove_existing_dirs2,automake-1.14.1.tar.xz)
    @$(call unpack2,automake-1.14.1.tar.xz)
    @$(call get_pkg_root2)
    @echo "export CFLAGS=\"-O2 -pipe\"" >> envars
    @echo "export CXXFLAGS=\"-O2 -pipe\"" >> envars
    @echo "export OTHER_CFLAGS=\"-O2 -pipe\"" >> envars
    @echo "export OTHER_CXXFLAGS=\"-O2 -pipe\"" >> envars
    @echo "export MAKEFLAGS=\"-j2\"" >> envars
    @source envars && \
    $(crCMDSDIR)/chapter06/$@ >>logs/$@-1.14.1 2>&1 && \
    $(PRT_DU_CR) >>logs/$@-1.14.1
    @$(call remove_build_dirs2,automake)
    @$(call housekeeping)



More information about the lfs-dev mailing list