diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-10-25 07:12:13 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-10-25 07:12:13 +0000 |
commit | 539adfd7c7cbc7d6d3bea94eb1aa2a7103ca71c0 (patch) | |
tree | 69b3a3e6727a2ed28608acc0a2f41f32787404a6 /libc/sysdeps/linux/common/Makefile | |
parent | b7aed1d7020298382852a718726b218afe7dfcc7 (diff) |
Move syscalls to sysdeps/linux/common (since they are common).
Remove _start.S since I now have a portable C version.
Diffstat (limited to 'libc/sysdeps/linux/common/Makefile')
-rw-r--r-- | libc/sysdeps/linux/common/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile index 06f4651b9..dd891d176 100644 --- a/libc/sysdeps/linux/common/Makefile +++ b/libc/sysdeps/linux/common/Makefile @@ -28,7 +28,10 @@ LIBC=$(TOPDIR)libc.a #The file makefile.objs defines $(COBJS) include makefile.objs -OBJ=$(COBJS) +MSRC=syscalls.c +MOBJ=$(shell ./list_syscalls.sh) + +OBJ=$(COBJS) $(MOBJ) all: $(OBJ) $(LIBC) @@ -37,6 +40,10 @@ $(LIBC): ar-target ar-target: $(OBJ) $(AR) $(ARFLAGS) $(LIBC) $(OBJ) +$(MOBJ): $(MSRC) + $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o + $(STRIPTOOL) -x -R .note -R .comment $*.o + $(COBJS): $(CC) $(CFLAGS) $< -c $*.c -o $*.o $(STRIPTOOL) -x -R .note -R .comment $*.o |