4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-23 23:47:22 +08:00
Mike Frysinger a100e80fc9 require autoconf-2.69 exactly
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.
2022-01-14 15:24:33 -05:00

98 lines
1.6 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
COPYOFILES = \
Ovfork.o \
_exit.o \
_sigvec.o \
abort.o \
access.o \
cerror.o \
chmod.o \
chown.o \
close.o \
creat.o \
dup.o \
dup2.o \
errlst.o \
execl.o \
execle.o \
execv.o \
execve.o \
execvp.o \
fork.o \
fstat.o \
getdtablesize.o \
getpid.o \
getrusage.o \
gettimeofday.o \
ieee_globals.o \
ioctl.o \
isatty.o \
kill.o \
link.o \
lseek.o \
open.o \
pipe.o \
popen.o \
read.o \
sbrk.o \
setitimer.o \
sigblock.o \
signal.o \
sigpause.o \
sigsetjmp.o \
sigsetmask.o \
sigtramp.o \
sigvec.o \
sleep.o \
start_float.o \
stat.o \
time.o \
times.o \
umask.o \
unlink.o \
utime.o \
utimes.o \
wait.o \
wait3.o \
wait4.o \
write.o \
rem.o \
multiply.o \
umultiply.o
# These files are from Sun's libc.a, but the must be renamed because they
# conflict with other library .o's. They are renamed to xxxS.o.
COPYRENAMEOFILES = divS.o
COPYOMFILES = ieee_flags.o
lib_a_SOURCES = _main.c ieee.c
lib_a_LIBADD = $(COPYOFILES) $(COPYOMFILES) $(COPYRENAMEOFILES)
lib_a_CCASFLAGS = $(AM_CCASFLAGS)
lib_a_CFLAGS = $(AM_CFLAGS)
$(COPYOFILES):
$(AR) x /lib/libc.a $(COPYOFILES)
$(COPYRENAMEOFILES):
$(AR) x /lib/libc.a $(COPYRENAMEFILES:S.o=.o)
for f in $(COPYRENAMEOFILES); do mv `basename $$f S.o`.o $$f; done
$(COPYOMFILES):
$(AR) x /lib/libm.a $(COPYOMFILES)
all-local: crt0.o
crt0.o:
cp /lib/crt0.o crt0.o
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. -I ../../../../config
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host