summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-05 21:19:18 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-05 21:19:18 +0000
commitb416b45eb37e12bd58412d255f47f05d6abda863 (patch)
treed1c19bc438623821f2397db8bbb720d32c2d85b5 /libc/sysdeps/linux/common/Makefile
parent400e90780632415c45984bcf80f133aa8b890669 (diff)
stat and mknod cleanup, take two. Put all the needed junk into syscalls.c
for clarity. -Erik
Diffstat (limited to 'libc/sysdeps/linux/common/Makefile')
-rw-r--r--libc/sysdeps/linux/common/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index 85949988f..c54f7cd1d 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -25,7 +25,7 @@ TOPDIR=../../../
include $(TOPDIR)Rules.mak
LIBC=$(TOPDIR)libc.a
-CSRC= _xmknod.c waitpid.c getdents.c kernel_version.c rewinddir.c \
+CSRC= waitpid.c getdents.c kernel_version.c rewinddir.c \
statfix.c getdnnm.c seekdir.c telldir.c tell.c gethstnm.c \
mkfifo.c setegid.c wait.c errno.c closedir.c getpagesize.c \
opendir.c seteuid.c wait3.c dirfd.c readdir.c setpgrp.c \
@@ -33,13 +33,10 @@ CSRC= _xmknod.c waitpid.c getdents.c kernel_version.c rewinddir.c \
COBJS=$(patsubst %.c,%.o, $(CSRC))
-NISRC= _fxstat.c _lxstat.c _xstat.c
-NIOBJS=$(patsubst %.c,%.o, $(NISRC))
-
MSRC=syscalls.c
MOBJ=$(shell ./list_syscalls.sh)
-OBJ=$(COBJS) $(NIOBJS) $(MOBJ)
+OBJ=$(COBJS) $(MOBJ)
UNIFIED_SYSCALL_HEADER = /dev/null
STR_SYSCALLS =
@@ -65,10 +62,6 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
-$(NIOBJS):
- $(CC) $(CFLAGS) $< -c $*.c -o $*.o -fno-inline
- $(STRIPTOOL) -x -R .note -R .comment $*.o
-
str_syscalls:
/bin/sh ./str_syscalls.sh > str_syscalls.c
gcc str_syscalls.c -o str_syscalls