Makefiles use now $(MAKE) instead of make.

This commit is contained in:
Ohio2 2021-07-01 05:03:43 +02:00
parent 090ce0b962
commit 4dc299869a
23 changed files with 81 additions and 91 deletions

View file

@ -2,8 +2,8 @@ prepare:
git clone git://git.sv.gnu.org/autoconf
cd autoconf
autoconf:
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -1,9 +1,9 @@
prepare:
git clone https://git.savannah.gnu.org/git/automake.git
cd automake
automake:
make
git clone https://git.savannah.gnu.org/git/auto$(MAKE).git
cd auto$(MAKE)
auto$(MAKE):
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -2,8 +2,8 @@ prepare:
git clone https://git.savannah.gnu.org/git/bash.git
cd bash
bash:
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -2,7 +2,7 @@ prepare:
wget -O binutils.tar.gz https://mirrors.nav.ro/gnu/binutils/binutils-2.10.1.tar.gz
tar -xf binutils.tar.gz
cd binutils
make:
$(MAKE):
@../configure --prefix=/usr \
--enable-gold \
--enable-ld=default \
@ -11,8 +11,8 @@ make:
--disable-werror \
--enable-64-bit-bfd \
--with-system-zlib
make tooldir=${PREFIX}/usr
$(MAKE) tooldir=${PREFIX}/usr
install:
make install tooldir=${PREFIX}/usr DESTDIR="${PREFIX}"
$(MAKE) install tooldir=${PREFIX}/usr DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -2,10 +2,10 @@ prepare:
wget -O bison.tar.gz https://mirrors.nav.ro/gnu/bison/bison-1.25.tar.gz
tar -xf bison.tar.gz
cd bison
make:
$(MAKE):
@./configure --prefix=/usr
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -2,10 +2,10 @@ prepare:
git clone git://busybox.net/busybox.git
cd busybox
busybox:
make defconfig
make
$(MAKE) defconfig
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
busybox --install
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -1,14 +1,14 @@
prepare:
git clone https://www.sourceware.org/pub/bzip2/bzip2-latest.tar.gz bzip2
cd bzip2
make:
make -f Makefile-libbz2_so
make clean
make
$(MAKE):
$(MAKE) -f Makefile-libbz2_so
$(MAKE) clean
$(MAKE)
install:
make PREFIX=${PREFIX}/tools install
$(MAKE) PREFIX=${PREFIX}/tools install
cp -v bzip2-shared ${PREFIX}/tools/bin/bzip2
cp -av libbz2.so* ${PREFIX}/tools/lib
ln -sv libbz2.so.1.0 ${PREFIX}/tools/lib/libbz2.so
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -2,10 +2,10 @@ prepare:
wget -O curl.tar.gz https://curl.se/download/curl-7.77.0.tar.gz
tar -xf curl.tar.gz
cd curl
make:
$(MAKE):
@./configure --prefix=/usr --with-openssl
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -2,15 +2,15 @@ prepare:
wget -O flex.tar.gz https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
tar -xf flex.tar.gz
cd flex
make:
$(MAKE):
@./configure \
--prefix=/usr \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
ln -s flex "$1/usr/bin/lex"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -7,9 +7,9 @@ gcc:
mkdir build
cd build
./configure --prefix=${PREFIX}/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
ln -s gcc "$1/usr/bin/cc"
install -Dm755 ../c99 "$1/usr/bin/c99"
uninstall:

View file

@ -2,8 +2,8 @@ prepare:
git clone git://git.kernel.org/pub/scm/git/git.git
cd git
git:
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -1,10 +0,0 @@
prepare:
git clone https://git.savannah.gnu.org/git/gzip.git
cd gzip
make:
./configure --prefix=${PREFIX}/usr --host=$LFS_TGT
make
install:
make DESTDIR=$LFS install
uninstall:
make uninstall

View file

@ -1,11 +1,11 @@
prepare:
git clone https://git.savannah.gnu.org/git/gzip.git/
cd gzip
make:
$(MAKE):
./configure --prefix=$prefix/usr --host=$LFS_TGT
make CC="${CC:-cc} -static"
$(MAKE) CC="${CC:-cc} -static"
install:
make DESTDIR=$LFS install
$(MAKE) DESTDIR=$LFS install
install -Dm755 pigz "$1/usr/bin/pigz"
install -Dm755 unpigz "$1/usr/bin/unpigz"
install -Dm644 pigz.1 "$1/usr/share/man/man1/pigz.1"

View file

@ -5,10 +5,10 @@ prepare:
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/interlude
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/shutdown
wget https://git.hippoz.xyz/alnux/repo/src/branch/master/hummingbird/payload/usr/lib/hummingbird/tty
make:
make
$(MAKE):
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
mv fs ${PREFIX}/usr/bin/hummingbird/
mv interlude ${PREFIX}/usr/bin/hummingbird/

View file

@ -2,8 +2,8 @@ prepare:
git clone https://sourceware.org/git/glibc.git
cd glibc
libc:
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -1,11 +1,11 @@
prepare:
git clone git://git.savannah.gnu.org/libtool.git
cd libtool
make:
$(MAKE):
./configure --prefix=${PREFIX}/usr
make
make check
$(MAKE)
$(MAKE) check
install:
make install
$(MAKE) install
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -1,11 +1,11 @@
prepare:
git clone http://git.savannah.gnu.org/r/m4.git
cd m4
make:
$(MAKE):
export CFLAGS="$CFLAGS -static"
./configure
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -1,8 +1,8 @@
prepare:
git clone https://git.savannah.gnu.org/git/make.git
cd make
make:
git clone https://git.savannah.gnu.org/git/$(MAKE).git
cd $(MAKE)
$(MAKE):
./bootstrap
./build
uninstall:
rm -rf /usr/bin/make
rm -rf /usr/bin/$(MAKE)

View file

@ -1,16 +1,16 @@
prepare:
git clone https://github.com/openssl/openssl.git
cd openssl
make:
$(MAKE):
./config --prefix=${PREFIX}/usr \
--openssldir=${PREFIX}/etc/ssl \
--libdir=lib \
shared \
zlib-dynamic
make
$(MAKE)
install:
sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
make MANSUFFIX=ssl install
$(MAKE) MANSUFFIX=ssl install
mv -v /usr/share/doc/openssl /usr/share/doc/openssl-1.1.1d
cp -vfr doc/* /usr/share/doc/openssl-1.1.1d
uninstall:

View file

@ -16,6 +16,6 @@ xorg:
--enable-xorg \
--with-sha1=libcrypto \
--with-systemd-daemon=off
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"

View file

@ -1,12 +1,12 @@
prepare:
git clone https://git.tukaani.org/xz.git
cd xz
make:
$(MAKE):
./configure \
--prefix=/usr \
--disable-nls
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -1,11 +1,11 @@
prepare:
git clone https://github.com/madler/zlib
cd zlib
make:
$(MAKE):
./configure
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall

View file

@ -2,8 +2,8 @@ prepare:
git clone https://github.com/zsh-users/zsh.git
cd zsh
zsh:
make
$(MAKE)
install:
make install DESTDIR="${PREFIX}"
$(MAKE) install DESTDIR="${PREFIX}"
uninstall:
make uninstall
$(MAKE) uninstall