2000-02-18 03:39:52 +08:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
|
2006-04-12 03:02:16 +08:00
|
|
|
AM_CCASFLAGS = $(INCLUDES)
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
noinst_LIBRARIES = lib.a
|
|
|
|
|
2010-07-24 02:11:27 +08:00
|
|
|
if MAY_SUPPLY_SYSCALLS
|
|
|
|
extra_objs = $(lpfx)_exit.o $(lpfx)access.o $(lpfx)chmod.o \
|
|
|
|
$(lpfx)chown.o $(lpfx)close.o $(lpfx)creat.o $(lpfx)crt1.o \
|
|
|
|
$(lpfx)execv.o $(lpfx)execve.o $(lpfx)fork.o $(lpfx)fstat.o \
|
|
|
|
$(lpfx)getpid.o $(lpfx)isatty.o $(lpfx)kill.o $(lpfx)lseek.o \
|
|
|
|
$(lpfx)open.o $(lpfx)pipe.o $(lpfx)read.o $(lpfx)link.o \
|
|
|
|
$(lpfx)sbrk.o $(lpfx)stat.o $(lpfx)time.o $(lpfx)trap.o \
|
|
|
|
$(lpfx)unlink.o $(lpfx)utime.o $(lpfx)wait.o $(lpfx)write.o \
|
2011-03-22 06:11:14 +08:00
|
|
|
$(lpfx)times.o $(lpfx)gettime.o $(lpfx)rename.o
|
2010-07-24 02:11:27 +08:00
|
|
|
else
|
|
|
|
extra_objs =
|
|
|
|
endif
|
|
|
|
|
|
|
|
lib_a_LIBADD = $(extra_objs)
|
|
|
|
EXTRA_lib_a_SOURCES = \
|
2000-02-18 03:39:52 +08:00
|
|
|
_exit.c access.c chmod.c chown.c close.c creat.c crt1.c \
|
|
|
|
execv.c execve.c fork.c fstat.c getpid.c isatty.c \
|
|
|
|
kill.c lseek.c open.c pipe.c read.c link.c \
|
|
|
|
sbrk.c stat.c time.c trap.S unlink.c utime.c wait.c write.c \
|
2011-03-22 06:11:14 +08:00
|
|
|
times.c gettime.c rename.c
|
2010-09-09 22:54:24 +08:00
|
|
|
lib_a_SOURCES =
|
2010-07-24 02:11:27 +08:00
|
|
|
lib_a_DEPENDENCIES = $(extra_objs)
|
2006-05-02 06:01:07 +08:00
|
|
|
lib_a_CCASFLAGS = $(AM_CCASFLAGS)
|
|
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2010-07-24 02:11:27 +08:00
|
|
|
if MAY_SUPPLY_SYSCALLS
|
2009-08-20 04:04:45 +08:00
|
|
|
all-local: crt0.o
|
2010-07-24 02:11:27 +08:00
|
|
|
endif
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2007-05-25 01:33:42 +08:00
|
|
|
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../..
|
2000-02-18 03:39:52 +08:00
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|