From a9d3b94d6c54e89ad9f609a3931abc488ca624e5 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 28 Oct 2000 00:28:47 +0000 Subject: _start.c is a failed experiment. Go back to using asm... --- libc/sysdeps/linux/common/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/common/Makefile') diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile index dd891d176..fa8936af8 100644 --- a/libc/sysdeps/linux/common/Makefile +++ b/libc/sysdeps/linux/common/Makefile @@ -25,8 +25,13 @@ TOPDIR=../../../ include $(TOPDIR)Rules.mak LIBC=$(TOPDIR)libc.a -#The file makefile.objs defines $(COBJS) -include makefile.objs + +CSRC =closedir.o dirfd.o getdnnm.o gethstnm.o getpagesize.o \ +isatty.o kernel_version.o mkfifo.o opendir.o rewinddir.o \ +seekdir.o setegid.o seteuid.o setpgrp.o tcgetatr.o tell.o \ +telldir.o wait.o wait3.o _fxstat.o _lxstat.o _xstat.o _xmknod.o +COBJS=$(patsubst %.c,%.o, $(CSRC)) + MSRC=syscalls.c MOBJ=$(shell ./list_syscalls.sh) @@ -45,8 +50,8 @@ $(MOBJ): $(MSRC) $(STRIPTOOL) -x -R .note -R .comment $*.o $(COBJS): - $(CC) $(CFLAGS) $< -c $*.c -o $*.o - $(STRIPTOOL) -x -R .note -R .comment $*.o + $(CC) $(CFLAGS) -g $< -c $*.c -o $*.o + #$(STRIPTOOL) -x -R .note -R .comment $*.o clean: rm -f *.[oa] *~ core -- cgit v1.2.3