Joren's new library make system (minus Makefiles)

This commit is contained in:
Ben Gras
2006-01-16 15:44:55 +00:00
parent c461b0c63d
commit 34d445c0af
113 changed files with 1500 additions and 4225 deletions

View File

@@ -1,7 +0,0 @@
SUBDIRS = \
end \
ieee_float \
rts \
include ../Makefile.inc

View File

@@ -1,5 +0,0 @@
all:
cd end && gmake
cd ieee_float && gmake
cd rts && gmake

7
lib/gnu/Makefile.in Normal file
View File

@@ -0,0 +1,7 @@
SUBDIRS=" \
end \
ieee_float \
rts"
TYPE=gnu

View File

@@ -1,7 +0,0 @@
LIBRARIES = end
end_OBJECTS = gnu_end.o
include ../../Makefile.gnu.inc

View File

@@ -1,16 +0,0 @@
CC=gcc
AR=gar
AS=gas
VPATH=$(SRCDIR)/gnu/end
LIBRARY=../../end.a
OBJECTS=gnu_end.o
all: $(LIBRARY)
$(LIBRARY): $(OBJECTS)
$(AR) cr $@ *.o
gnu_end.o: gnu_end.s

7
lib/gnu/end/Makefile.in Normal file
View File

@@ -0,0 +1,7 @@
LIBRARIES=end
end_FILES=gnu_end.gs
TYPE=gnu

View File

@@ -1,14 +0,0 @@
CFLAGS = -O -I..
LIBRARIES = libc
libc_OBJECTS = \
frexp.o \
isinf.o \
isnan.o \
ldexp.o \
modf.o \
fphook.o \
include ../../Makefile.gnu.inc

View File

@@ -1,58 +0,0 @@
# Makefile for lib/ieee_float.
#CC = gcc
#ARCH = eniac
CFLAGS = -O -I$(SRCDIR)/stdio
CC1 = $(CC) $(CFLAGS) -c
LIBRARY = ../../libc.a
LIBSOFT = ../../libsoft.a
OBJECTS = \
$(LIBRARY)(frexp.o) \
$(LIBRARY)(isinf.o) \
$(LIBRARY)(isnan.o) \
$(LIBRARY)(ldexp.o) \
$(LIBRARY)(modf.o) \
$(LIBRARY)(fphook.o) \
all: $(LIBRARY)
$(LIBRARY): $(OBJECTS)
$(AR) cr $@ *.o
$(LIBRARY)(frexp.o): frexp.c
$(LIBRARY)(isinf.o): isinf.c
$(LIBRARY)(isnan.o): isnan.c
$(LIBRARY)(ldexp.o): ldexp.c
$(LIBRARY)(modf.o): modf.c
$(LIBRARY)(fphook.o): fphook.c
SOFTOBJ = \
$(LIBSOFT)(frexp.o) \
$(LIBSOFT)(isinf.o) \
$(LIBSOFT)(isnan.o) \
$(LIBSOFT)(ldexp.o) \
$(LIBSOFT)(modf.o) \
soft: $(LIBSOFT)
$(LIBSOFT): $(SOFTOBJ)
$(CC) -c.a -o $@ *.o
rm *.o
$(LIBSOFT)(frexp.o): frexp.c
$(CC1) -fsoft frexp.c
$(LIBSOFT)(isinf.o): isinf.c
$(CC1) -fsoft isinf.c
$(LIBSOFT)(isnan.o): isnan.c
$(CC1) -fsoft isnan.c
$(LIBSOFT)(ldexp.o): ldexp.c
$(CC1) -fsoft ldexp.c
$(LIBSOFT)(modf.o): modf.c
$(CC1) -fsoft modf.c
# $PchId: Makefile,v 1.3 1996/02/22 21:01:39 philip Exp $

View File

@@ -0,0 +1,14 @@
CFLAGS="-O -I.."
LIBRARIES=libc
libc_FILES=" \
frexp.c \
isinf.c \
isnan.c \
ldexp.c \
modf.c \
fphook.c"
TYPE=gnu

View File

@@ -1,10 +0,0 @@
LIBRARIES = libc
libc_OBJECTS = \
_longjmp.o \
_setjmp.o \
longjmp.o \
setjmp.o \
include ../../Makefile.gnu.inc

View File

@@ -1,27 +0,0 @@
CC=gcc
AR=gar
AS=gas
VPATH=$(SRCDIR)/gnu/rts
#Makefile for lib/gcc/mach/minix.i386/libsys.
LIBRARY = ../../libc.a
OBJECTS = \
_longjmp.o \
_setjmp.o \
longjmp.o \
setjmp.o \
all: $(LIBRARY)
$(LIBRARY): $(OBJECTS)
$(AR) cr $@ *.o
_longjmp.o: _longjmp.s
_setjmp.o: _setjmp.s
longjmp.o: longjmp.s
setjmp.o: setjmp.s
# $PchId: Makefile,v 1.4 1996/02/22 21:54:11 philip Exp $

10
lib/gnu/rts/Makefile.in Normal file
View File

@@ -0,0 +1,10 @@
LIBRARIES=libc
libc_FILES=" \
_longjmp.gs \
_setjmp.gs \
longjmp.gs \
setjmp.gs"
TYPE=gnu