mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-12 09:17:53 +00:00
- Python static hello world now 1.8mb - Python static fully loaded now 10mb - Python HTTPS client now uses MbedTLS - Python REPL now completes import stmts - Increase stack size for Python for now - Begin synthesizing posixpath and ntpath - Restore Python \N{UNICODE NAME} support - Restore Python NFKD symbol normalization - Add optimized code path for Intel SHA-NI - Get more Python unit tests passing faster - Get Python help() pagination working on NT - Python hashlib now supports MbedTLS PBKDF2 - Make memcpy/memmove/memcmp/bcmp/etc. faster - Add Mersenne Twister and Vigna to LIBC_RAND - Provide privileged __printf() for error code - Fix zipos opendir() so that it reports ENOTDIR - Add basic chmod() implementation for Windows NT - Add Cosmo's best functions to Python cosmo module - Pin function trace indent depth to that of caller - Show memory diagram on invalid access in MODE=dbg - Differentiate stack overflow on crash in MODE=dbg - Add stb_truetype and tools for analyzing font files - Upgrade to UNICODE 13 and reduce its binary footprint - COMPILE.COM now logs resource usage of build commands - Start implementing basic poll() support on bare metal - Set getauxval(AT_EXECFN) to GetModuleFileName() on NT - Add descriptions to strerror() in non-TINY build modes - Add COUNTBRANCH() macro to help with micro-optimizations - Make error / backtrace / asan / memory code more unbreakable - Add fast perfect C implementation of μ-Law and a-Law audio codecs - Make strtol() functions consistent with other libc implementations - Improve Linenoise implementation (see also github.com/jart/bestline) - COMPILE.COM now suppresses stdout/stderr of successful build commands
73 lines
2 KiB
Makefile
73 lines
2 KiB
Makefile
#-*-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 += DSP_CORE
|
|
|
|
DSP_CORE_ARTIFACTS += DSP_CORE_A
|
|
DSP_CORE = $(DSP_CORE_A_DEPS) $(DSP_CORE_A)
|
|
DSP_CORE_A = o/$(MODE)/dsp/core/core.a
|
|
DSP_CORE_A_FILES := $(wildcard dsp/core/*)
|
|
DSP_CORE_A_HDRS = $(filter %.h,$(DSP_CORE_A_FILES))
|
|
DSP_CORE_A_SRCS_S = $(filter %.S,$(DSP_CORE_A_FILES))
|
|
DSP_CORE_A_SRCS_C = $(filter %.c,$(DSP_CORE_A_FILES))
|
|
|
|
DSP_CORE_A_SRCS = \
|
|
$(DSP_CORE_A_SRCS_S) \
|
|
$(DSP_CORE_A_SRCS_C)
|
|
|
|
DSP_CORE_A_OBJS = \
|
|
$(DSP_CORE_A_SRCS_S:%.S=o/$(MODE)/%.o) \
|
|
$(DSP_CORE_A_SRCS_C:%.c=o/$(MODE)/%.o)
|
|
|
|
DSP_CORE_A_CHECKS = \
|
|
$(DSP_CORE_A).pkg \
|
|
$(DSP_CORE_A_HDRS:%=o/$(MODE)/%.ok)
|
|
|
|
DSP_CORE_A_DIRECTDEPS = \
|
|
LIBC_INTRIN \
|
|
LIBC_MEM \
|
|
LIBC_NEXGEN32E \
|
|
LIBC_STR \
|
|
LIBC_TINYMATH \
|
|
LIBC_STUBS
|
|
|
|
DSP_CORE_A_DEPS := \
|
|
$(call uniq,$(foreach x,$(DSP_CORE_A_DIRECTDEPS),$($(x))))
|
|
|
|
$(DSP_CORE_A): dsp/core/ \
|
|
$(DSP_CORE_A).pkg \
|
|
$(DSP_CORE_A_OBJS)
|
|
|
|
$(DSP_CORE_A).pkg: \
|
|
$(DSP_CORE_A_OBJS) \
|
|
$(foreach x,$(DSP_CORE_A_DIRECTDEPS),$($(x)_A).pkg)
|
|
|
|
o/$(MODE)/dsp/core/dct.o \
|
|
o/$(MODE)/dsp/core/c1331.o \
|
|
o/$(MODE)/dsp/core/magikarp.o \
|
|
o/$(MODE)/dsp/core/c93654369.o \
|
|
o/$(MODE)/dsp/core/float2short.o \
|
|
o/$(MODE)/dsp/core/scalevolume.o: \
|
|
OVERRIDE_CFLAGS += \
|
|
$(MATHEMATICAL)
|
|
|
|
o/$(MODE)/dsp/core/alaw.o: \
|
|
CC = clang
|
|
|
|
o/tiny/dsp/core/scalevolume.o: \
|
|
OVERRIDE_CFLAGS += \
|
|
-Os
|
|
|
|
o/$(MODE)/dsp/core/det3.o: \
|
|
OVERRIDE_CFLAGS += \
|
|
-ffast-math
|
|
|
|
DSP_CORE_LIBS = $(foreach x,$(DSP_CORE_ARTIFACTS),$($(x)))
|
|
DSP_CORE_SRCS = $(foreach x,$(DSP_CORE_ARTIFACTS),$($(x)_SRCS))
|
|
DSP_CORE_HDRS = $(foreach x,$(DSP_CORE_ARTIFACTS),$($(x)_HDRS))
|
|
DSP_CORE_CHECKS = $(foreach x,$(DSP_CORE_ARTIFACTS),$($(x)_CHECKS))
|
|
DSP_CORE_OBJS = $(foreach x,$(DSP_CORE_ARTIFACTS),$($(x)_OBJS))
|
|
$(DSP_CORE_OBJS): $(BUILD_FILES) dsp/core/core.mk
|
|
|
|
.PHONY: o/$(MODE)/dsp/core
|
|
o/$(MODE)/dsp/core: $(DSP_CORE_CHECKS)
|