46 lines
682 B
Makefile
46 lines
682 B
Makefile
|
## Process this file with automake to generate Makefile.in
|
||
|
|
||
|
AUTOMAKE_OPTIONS = cygnus
|
||
|
|
||
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
||
|
|
||
|
noinst_LIBRARIES = lib.a
|
||
|
|
||
|
COPYOFILES = \
|
||
|
read.o \
|
||
|
open.o \
|
||
|
_exit.o \
|
||
|
write.o \
|
||
|
lseek.o \
|
||
|
close.o \
|
||
|
sbrk.o \
|
||
|
cerror.o \
|
||
|
fork.o \
|
||
|
isatty.o \
|
||
|
ioctl.o \
|
||
|
getpid.o \
|
||
|
time.o \
|
||
|
kill.o \
|
||
|
wait.o \
|
||
|
execve.o \
|
||
|
gettimeofday.o \
|
||
|
link.o \
|
||
|
unlink.o \
|
||
|
fstat.o \
|
||
|
times.o \
|
||
|
getrusage.o
|
||
|
|
||
|
lib_a_SOURCES = _main.c
|
||
|
lib_a_LIBADD = $(COPYOFILES)
|
||
|
|
||
|
$(COPYOFILES):
|
||
|
ar x /lib/libc.a $(COPYOFILES)
|
||
|
|
||
|
all: crt0.o
|
||
|
|
||
|
crt0.o:
|
||
|
cp /lib/crt0.o crt0.o
|
||
|
|
||
|
ACLOCAL_AMFLAGS = -I ../../..
|
||
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|