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))
|
SORTIXOBJS:=$(addprefix sortix/,$(FREEOBJS))
|
||||||
SORTIXCPPFLAGS:=-DSORTIX_KERNEL
|
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)
|
all: $(BINS)
|
||||||
|
|
||||||
.PHONY: all headers clean install install-include-dirs install-headers \
|
.PHONY: all headers clean install install-include-dirs install-headers \
|
||||||
install-lib-dirs install-libs
|
install-lib-dirs install-libs
|
||||||
|
|
||||||
libmaxsi.a: $(OBJS)
|
libc.a: $(OBJS)
|
||||||
$(HOSTAR) rcs libmaxsi.a $(OBJS)
|
$(HOSTAR) rcs $@ $(OBJS)
|
||||||
|
|
||||||
libmaxsi-sortix.a: $(SORTIXOBJS)
|
libc-sortix.a: $(SORTIXOBJS)
|
||||||
$(HOSTAR) rcs libmaxsi-sortix.a $(SORTIXOBJS)
|
$(HOSTAR) rcs $@ $(SORTIXOBJS)
|
||||||
|
|
||||||
libc.a: libmaxsi.a
|
|
||||||
ln -sf $< $@
|
|
||||||
|
|
||||||
libg.a: libc.a
|
libg.a: libc.a
|
||||||
ln -sf $< $@
|
ln -sf $< $@
|
||||||
|
@ -243,7 +240,7 @@ headers: $(HEADERDIRS) $(HEADERS)
|
||||||
%.o: %.s
|
%.o: %.s
|
||||||
$(HOSTAS) $(ASFLAGS) $< -o $@
|
$(HOSTAS) $(ASFLAGS) $< -o $@
|
||||||
|
|
||||||
# libmaxsi-sortix
|
# libc-sortix
|
||||||
sortix:
|
sortix:
|
||||||
mkdir -p sortix
|
mkdir -p sortix
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ ASFLAGS=
|
||||||
NASMFLAGS=$(CPUNASMFLAGS)
|
NASMFLAGS=$(CPUNASMFLAGS)
|
||||||
|
|
||||||
STATICLIBS=\
|
STATICLIBS=\
|
||||||
-lmaxsi-sortix \
|
-lc-sortix \
|
||||||
|
|
||||||
HEADERDIRS:=$(shell find include -type d)
|
HEADERDIRS:=$(shell find include -type d)
|
||||||
HEADERS:=$(shell find include -type f)
|
HEADERS:=$(shell find include -type f)
|
||||||
|
|
Loading…
Add table
Reference in a new issue