mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-27 17:40:37 +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.
35 lines
1.2 KiB
Makefile
35 lines
1.2 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
|
|
|
|
lib_a_SOURCES = dummysys.c cpusetalloc.c cpusetfree.c
|
|
lib_a_CCASFLAGS = $(AM_CCASFLAGS)
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
|
|
|
all-local: crt0.o
|
|
|
|
ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. -I ../../../../config
|
|
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host
|
|
|
|
install-data-local:
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/arpa; \
|
|
for i in $(srcdir)/include/arpa/*.h; do \
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/arpa/`basename $$i`; \
|
|
done; \
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/net; \
|
|
for i in $(srcdir)/include/net/*.h; do \
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/net/`basename $$i`; \
|
|
done; \
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet; \
|
|
for i in $(srcdir)/include/netinet/*.h; do \
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet/`basename $$i`; \
|
|
done; \
|
|
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet6; \
|
|
for i in $(srcdir)/include/netinet6/*.h; do \
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet6/`basename $$i`; \
|
|
done
|