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:
Jonas 'Sortie' Termansen 2012-09-23 14:04:53 +02:00
parent bd8967069e
commit 838992c3d8
2 changed files with 7 additions and 10 deletions

View File

@ -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

View File

@ -78,7 +78,7 @@ ASFLAGS=
NASMFLAGS=$(CPUNASMFLAGS)
STATICLIBS=\
-lmaxsi-sortix \
-lc-sortix \
HEADERDIRS:=$(shell find include -type d)
HEADERS:=$(shell find include -type f)