mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-27 17:40:37 +08:00
4574c60378
Let automake manage whether the objects are included in lib.a. This fixes failures after to commit 71086e8b2d70c1e71a8372f35d9901505fc72905 ("newlib: delete (most) redundant lib_a_CCASFLAGS=$(AM_CCASFLAGS)") due to automake generating different set of implicit rules, and the code in here assuming the names of the generated objects.
23 lines
571 B
Makefile
23 lines
571 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
|
|
|
|
lib_a_SOURCES =
|
|
if MAY_SUPPLY_SYSCALLS
|
|
lib_a_SOURCES += \
|
|
_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 \
|
|
times.c gettime.c rename.c
|
|
endif
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
|
|
|
if MAY_SUPPLY_SYSCALLS
|
|
all-local: crt0.o
|
|
endif
|