4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-09 10:39:11 +08:00
Mike Frysinger 8bee45444f newlib: libc: merge most sys/ configure scripts up a level
The sys configure scripts are almost all effectively stub scripts that
pass the higher level options to its own makefile.  The phoenix & linux
ones are a bit more complicated with nested subdirs, so those have been
left alone for now.  Plus, I don't really have a way of testing them.
2022-01-26 03:11:21 -05:00

43 lines
602 B
Makefile

## Process this file with automake to generate Makefile.in
AM_CPPFLAGS = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
AM_CCASFLAGS = $(AM_CPPFLAGS)
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-local: crt0.o
crt0.o:
cp /lib/crt0.o crt0.o