src/world/Makefile

114 lines
1.9 KiB
Makefile
Raw Normal View History

# Makefile - hhl - /usr/src/world
# Copyright 2020 Nathan Fisher <nfisher.sr@gmail.com>
#
default_goal = all
include src-config.mk
subdirs += fs_skeleton
subdirs += man-pages
subdirs += iana-etc
subdirs += tzdata
subdirs += libz
subdirs += libbz2_static
subdirs += libbz2_shared
subdirs += xz
subdirs += file
subdirs += m4
subdirs += bc
subdirs += gmp
subdirs += mpfr
subdirs += mpc
subdirs += binutils
subdirs += attr
subdirs += acl
subdirs += shadow
subdirs += gcc
subdirs += pkg-config
subdirs += ncurses
subdirs += libcap
subdirs += psmisc
subdirs += bison
subdirs += flex
subdirs += libtool
subdirs += gdbm
#subdirs += pcre
#subdirs += zsh
subdirs += inetutils
subdirs += autoconf
subdirs += automake
#subdirs += gperf
subdirs += expat
subdirs += kmod
subdirs += gettext
# for musl
2022-12-31 02:17:37 -05:00
subdirs += argp-standalone
# for musl
subdirs += musl-fts
# for musl
subdirs += musl-obstack
subdirs += elfutils
subdirs += libffi
subdirs += gawk
subdirs += openssl
subdirs += wget
subdirs += findutils
subdirs += groff
subdirs += gzip
subdirs += zstd
subdirs += lib
subdirs += iproute2
subdirs += kbd
subdirs += make
subdirs += mandoc
subdirs += texinfo
subdirs += procps-ng
subdirs += e2fsprogs
subdirs += util-linux
subdirs += grep
subdirs += sed
subdirs += eudev
subdirs += skalibs
subdirs += execline
subdirs += s6
subdirs += s6-rc
subdirs += s6-linux-init
subdirs += s6-scripts
subdirs += udev-lfs
subdirs += bin
subdirs += sbin
subdirs += usr.bin
subdirs += usr.sbin
ifeq ($(arch),x86_64)
subdirs += grub
else ifeq ($(arch),aarch64)
ifeq ($(rpi),1)
subdirs += u-boot-rpi64
endif
endif
ifeq ($(_dhcpcd),1)
subdirs += dhcpcd
endif
ifeq ($(_wireless),1)
subdirs += wireless_tools
subdirs += libnl
subdirs += wpa_supplicant
endif
all: $(subdirs)
$(subdirs):
$(MAKE) -C $@
clean:
for subdir in $(subdirs) ; \
do $(MAKE) -C $${subdir} clean ; done
distclean: clean
for subdir in $(subdirs) ; \
do $(MAKE) -C $${subdir} distclean ; done
.PHONY: $(subdirs) all clean distclean