2020-06-15 14:18:57 +00:00
|
|
|
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐
|
|
|
|
#───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘
|
|
|
|
|
|
|
|
PKGS += LIBC
|
2020-08-25 11:23:25 +00:00
|
|
|
|
2020-06-15 14:18:57 +00:00
|
|
|
LIBC_HDRS = $(filter %.h,$(LIBC_FILES))
|
2020-08-25 11:23:25 +00:00
|
|
|
LIBC_FILES := $(wildcard libc/*) $(wildcard libc/internal/*)
|
2020-06-15 14:18:57 +00:00
|
|
|
LIBC_CHECKS = $(LIBC_HDRS:%=o/$(MODE)/%.ok)
|
|
|
|
|
|
|
|
.PHONY: o/$(MODE)/libc
|
|
|
|
o/$(MODE)/libc: o/$(MODE)/libc/alg \
|
|
|
|
o/$(MODE)/libc/bits \
|
|
|
|
o/$(MODE)/libc/calls \
|
|
|
|
o/$(MODE)/libc/conv \
|
|
|
|
o/$(MODE)/libc/crt \
|
|
|
|
o/$(MODE)/libc/dns \
|
|
|
|
o/$(MODE)/libc/elf \
|
|
|
|
o/$(MODE)/libc/escape \
|
|
|
|
o/$(MODE)/libc/fmt \
|
|
|
|
o/$(MODE)/libc/intrin \
|
2020-08-25 11:23:25 +00:00
|
|
|
o/$(MODE)/libc/linux \
|
2020-06-15 14:18:57 +00:00
|
|
|
o/$(MODE)/libc/log \
|
|
|
|
o/$(MODE)/libc/math \
|
|
|
|
o/$(MODE)/libc/mem \
|
|
|
|
o/$(MODE)/libc/nexgen32e \
|
2020-08-25 11:23:25 +00:00
|
|
|
o/$(MODE)/libc/nt \
|
2020-07-02 20:46:08 +00:00
|
|
|
o/$(MODE)/libc/ohmyplus \
|
2020-06-15 14:18:57 +00:00
|
|
|
o/$(MODE)/libc/rand \
|
|
|
|
o/$(MODE)/libc/runtime \
|
|
|
|
o/$(MODE)/libc/sock \
|
|
|
|
o/$(MODE)/libc/stdio \
|
|
|
|
o/$(MODE)/libc/str \
|
2020-08-25 11:23:25 +00:00
|
|
|
o/$(MODE)/libc/stubs \
|
|
|
|
o/$(MODE)/libc/sysv \
|
2020-06-15 14:18:57 +00:00
|
|
|
o/$(MODE)/libc/testlib \
|
|
|
|
o/$(MODE)/libc/time \
|
|
|
|
o/$(MODE)/libc/tinymath \
|
|
|
|
o/$(MODE)/libc/unicode \
|
|
|
|
o/$(MODE)/libc/x \
|
|
|
|
o/$(MODE)/libc/zipos \
|
|
|
|
$(LIBC_CHECKS)
|