summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-08-03 17:28:22 +0000
committerEric Andersen <andersen@codepoet.org>2000-08-03 17:28:22 +0000
commitf70b581e6b902d11abdf2b9645f1cb8a3f495591 (patch)
tree8e7251512efd3c02527d182d153c8a5c396a1d76 /libc/sysdeps
parentf3a9360625bca4fb0b5fe9730d6e25431ac4704b (diff)
Updated to new scheme for handling syscalls.
-Erik
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/i386/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile
index bfb8d82ff..ee14d0af6 100644
--- a/libc/sysdeps/linux/i386/Makefile
+++ b/libc/sysdeps/linux/i386/Makefile
@@ -14,13 +14,19 @@ LIBC=$(TOPDIR)libc.a
.S.o:
$(CC) $(CFLAGS) -c -o $*.o $<
+SSRC=syscall.S
+OBJ= setjmp.o longjmp.o readdir.o _start.o _exit.o #select.o
include makefile.objs
all: $(LIBC)
-$(LIBC): $(OBJ)
+$(LIBC): $(OBJ) $(LIBC)($(SOBJ))
$(AR) $(ARFLAGS) $@ $(OBJ)
+$(LIBC)($(SOBJ)): $(SSRC)
+ $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(AR) $(ARFLAGS) $@ $*.o
+
transfer:
-@rm -f ../include/stdio.h
cp -p stdio.h ../include/.