Joren's new library make system (minus Makefiles)
This commit is contained in:
@@ -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
|
||||
@@ -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 $
|
||||
14
lib/gnu/ieee_float/Makefile.in
Normal file
14
lib/gnu/ieee_float/Makefile.in
Normal 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
|
||||
Reference in New Issue
Block a user