mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Don't build libmaxsi.a.
This should just about remove most of the old and deprecated (and now obsolete) Maxsi:: API. Of course, large parts of libc still suffer from its poor design, but I'll get around to fix that eventually.
This commit is contained in:
parent
bd8967069e
commit
838992c3d8
2 changed files with 7 additions and 10 deletions
|
@ -187,21 +187,18 @@ HEADERS:=$(patsubst include%,preproc%,$(UNPROCHEADERS))
|
|||
SORTIXOBJS:=$(addprefix sortix/,$(FREEOBJS))
|
||||
SORTIXCPPFLAGS:=-DSORTIX_KERNEL
|
||||
|
||||
BINS=libc.a libg.a libm.a libstdc++.a libmaxsi.a libmaxsi-sortix.a $(CRTOBJ)
|
||||
BINS=libc.a libg.a libm.a libstdc++.a libc-sortix.a $(CRTOBJ)
|
||||
|
||||
all: $(BINS)
|
||||
|
||||
.PHONY: all headers clean install install-include-dirs install-headers \
|
||||
install-lib-dirs install-libs
|
||||
|
||||
libmaxsi.a: $(OBJS)
|
||||
$(HOSTAR) rcs libmaxsi.a $(OBJS)
|
||||
libc.a: $(OBJS)
|
||||
$(HOSTAR) rcs $@ $(OBJS)
|
||||
|
||||
libmaxsi-sortix.a: $(SORTIXOBJS)
|
||||
$(HOSTAR) rcs libmaxsi-sortix.a $(SORTIXOBJS)
|
||||
|
||||
libc.a: libmaxsi.a
|
||||
ln -sf $< $@
|
||||
libc-sortix.a: $(SORTIXOBJS)
|
||||
$(HOSTAR) rcs $@ $(SORTIXOBJS)
|
||||
|
||||
libg.a: libc.a
|
||||
ln -sf $< $@
|
||||
|
@ -243,7 +240,7 @@ headers: $(HEADERDIRS) $(HEADERS)
|
|||
%.o: %.s
|
||||
$(HOSTAS) $(ASFLAGS) $< -o $@
|
||||
|
||||
# libmaxsi-sortix
|
||||
# libc-sortix
|
||||
sortix:
|
||||
mkdir -p sortix
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ ASFLAGS=
|
|||
NASMFLAGS=$(CPUNASMFLAGS)
|
||||
|
||||
STATICLIBS=\
|
||||
-lmaxsi-sortix \
|
||||
-lc-sortix \
|
||||
|
||||
HEADERDIRS:=$(shell find include -type d)
|
||||
HEADERS:=$(shell find include -type f)
|
||||
|
|
Loading…
Add table
Reference in a new issue