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,13 +0,0 @@
# Makefile for lib/ack/math.
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE
LIBRARIES = libc
libc_OBJECTS = \
frexp.o \
modf.o \
isnan.o \
ldexp.o \
include ../../Makefile.ack.inc

View File

@@ -1,29 +0,0 @@
# Makefile for lib/math.
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE
CC1 = $(CC) $(CFLAGS) -c
LIBRARY = ../../libc.a
all: $(LIBRARY)
OBJECTS = \
$(LIBRARY)(frexp.o) \
$(LIBRARY)(modf.o) \
$(LIBRARY)(isnan.o) \
$(LIBRARY)(ldexp.o) \
$(LIBRARY): $(OBJECTS)
aal cr $@ *.o
rm *.o
$(LIBRARY)(frexp.o): frexp.s
$(CC1) frexp.s
$(LIBRARY)(modf.o): modf.s
$(CC1) modf.s
$(LIBRARY)(isnan.o): isnan.c
$(CC1) isnan.c
$(LIBRARY)(ldexp.o): ldexp.c
$(CC1) ldexp.c

13
lib/ack/math/Makefile.in Normal file
View File

@@ -0,0 +1,13 @@
# Makefile for lib/ack/math.
CFLAGS="-O -D_MINIX -D_POSIX_SOURCE"
LIBRARIES=libc
libc_FILES=" \
frexp.s \
modf.s \
isnan.c \
ldexp.c"
TYPE=ack