2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for lib/i386/rts.
|
|
|
|
|
|
|
|
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -Was-ack
|
|
|
|
CC1 = $(CC) $(CFLAGS) -c
|
|
|
|
|
|
|
|
LIBRARY = ../../libc.a
|
|
|
|
|
|
|
|
all: \
|
|
|
|
../../crtso.o \
|
|
|
|
../../m2rtso.o \
|
|
|
|
../../prtso.o \
|
|
|
|
$(LIBRARY)
|
|
|
|
|
|
|
|
../../crtso.o: crtso.s
|
|
|
|
$(CC1) -c crtso.s
|
|
|
|
mv crtso.o $@
|
|
|
|
|
|
|
|
../../m2rtso.o: m2rtso.s
|
|
|
|
$(CC1) -c m2rtso.s
|
|
|
|
mv m2rtso.o $@
|
|
|
|
|
|
|
|
../../prtso.o: prtso.s
|
|
|
|
$(CC1) -c prtso.s
|
|
|
|
mv prtso.o $@
|
|
|
|
|
|
|
|
OBJECTS = \
|
|
|
|
$(LIBRARY)(__sigreturn.o) \
|
2005-05-19 11:36:44 +02:00
|
|
|
$(LIBRARY)(_ipc.o) \
|
2005-04-21 16:53:53 +02:00
|
|
|
$(LIBRARY)(brksize.o) \
|
|
|
|
|
|
|
|
$(LIBRARY): $(OBJECTS)
|
|
|
|
aal cr $@ *.o
|
|
|
|
rm *.o
|
|
|
|
|
|
|
|
$(LIBRARY)(__sigreturn.o): __sigreturn.s
|
|
|
|
$(CC1) __sigreturn.s
|
|
|
|
|
2005-05-19 11:36:44 +02:00
|
|
|
$(LIBRARY)(_ipc.o): _ipc.s
|
|
|
|
$(CC1) _ipc.s
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
$(LIBRARY)(brksize.o): brksize.s
|
|
|
|
$(CC1) brksize.s
|