mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 12:59:21 +08:00
a100e80fc9
The newlib & libgloss dirs are already generated using autoconf-2.69. To avoid merging new code and/or accidental regeneration using diff versions, leverage config/override.m4 to pin to 2.69 exactly. This matches what gcc/binutils/gdb are already doing. The README file already says to use autoconf-2.69. To accomplish this, it's just as simple as adding -I flags to the top-level config/ dir when running aclocal. This is because the override.m4 file overrides AC_INIT to first require the specific autoconf version before calling the real AC_INIT.
40 lines
1.3 KiB
Makefile
40 lines
1.3 KiB
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
|
|
|
|
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 \
|
|
$(lpfx)times.o $(lpfx)gettime.o $(lpfx)rename.o
|
|
else
|
|
extra_objs =
|
|
endif
|
|
|
|
lib_a_LIBADD = $(extra_objs)
|
|
EXTRA_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
|
|
lib_a_SOURCES =
|
|
lib_a_DEPENDENCIES = $(extra_objs)
|
|
lib_a_CCASFLAGS = $(AM_CCASFLAGS)
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
|
|
|
if MAY_SUPPLY_SYSCALLS
|
|
all-local: crt0.o
|
|
endif
|
|
|
|
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. -I ../../../../config
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|