ref: 3f605cf71d9fa11b487c97dee9900d19ad8ae69b
dir: /lib/sys/common.mk/
.POSIX: PROJECTDIR = ../../.. include $(PROJECTDIR)/rules.mk all clean distclean: system.mk +$(MAKE) ABI=$(ABI) -f ../libsys.mk $@ system.mk: syscall.lst rm -f $@; trap "rm -f $$$$.mk" 0 2 3; \ awk 'BEGIN{printf "OBJ = "} \ ! /^#/ {printf "%s.o ", $$2}' syscall.lst > $$$$.mk && \ mv $$$$.mk $@