.PHONY: all clean distclean
-all: linux-headers libgmp libmpfr libmpc binutils gcc-static glibc gcc-final libtool setup test
+all: linux-headers libgmp libmpfr libmpc binutils gcc-static glibc gcc-final setup test
-clean: linux-headers-clean libgmp-clean libmpfr-clean libmpc-clean binutils-clean gcc-static-clean glibc-clean gcc-final-clean libtool-clean test-clean
+clean: linux-headers-clean libgmp-clean libmpfr-clean libmpc-clean binutils-clean gcc-static-clean glibc-clean gcc-final-clean test-clean
rm -rvf $(CROSSTOOLS)/* $(CLFS)/*
-distclean: clean linux-headers-distclean libgmp-distclean libmpfr-distclean libmpc-distclean binutils-distclean gcc-static-distclean glibc-distclean gcc-final-distclean libtool-distclean test-distclean
+distclean: clean linux-headers-distclean libgmp-distclean libmpfr-distclean libmpc-distclean binutils-distclean gcc-static-distclean glibc-distclean gcc-final-distclean test-distclean
# LINUX HEADERS
rm -vf $(WORK)/gcc-$(GCC_VERSION).tar.bz2
-# LIBTOOL
-
-$(WORK)/libtool-$(LIBTOOL_VERSION).tar.xz:
- wget -P $(WORK) -c http://ftp.gnu.org/gnu/libtool/libtool-$(LIBTOOL_VERSION).tar.xz
-
-$(WORK)/libtool-$(LIBTOOL_VERSION): $(WORK)/libtool-$(LIBTOOL_VERSION).tar.xz
- tar -C $(WORK) -xvJf $(WORK)/libtool-$(LIBTOOL_VERSION).tar.xz
- touch $(WORK)/libtool-$(LIBTOOL_VERSION)
-
-$(WORK)/build-libtool: $(WORK)/libtool-$(LIBTOOL_VERSION)
- mkdir -p $(WORK)/build-libtool
- touch $(WORK)/build-libtool
-
-$(CROSSTOOLS)/lib/libltdl.so: $(WORK)/build-libtool $(WORK)/libtool-$(LIBTOOL_VERSION)
- cd $(WORK)/build-libtool && \
- unset CFLAGS && unset CXXFLAGS && \
- LDFLAGS="-Wl,-rpath,$(CROSSTOOLS)/lib" && \
- $(WORK)/libtool-$(LIBTOOL_VERSION)/configure --prefix=$(CROSSTOOLS) \
- --program-prefix=$(TARGET)- && \
- make && make install || exit 1
- touch $(CROSSTOOLS)/lib/libltdl.so
-
-libtool: gcc-final $(CROSSTOOLS)/lib/libltdl.so
-
-libtool-clean:
- rm -vrf $(WORK)/build-libtool $(WORK)/libtool-$(LIBTOOL_VERSION)
-
-libtool-distclean:
- rm -vf $(WORK)/libtool-$(LIBTOOL_VERSION).tar.xz
-
-
# SETUP FOR PKGUTILS-CROSS
$(CLFS)/var/lib/pkg/db:
install -d -m 0755 $(CLFS)/var/lib/pkg