Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/Makefile.am')
-rw-r--r--newlib/Makefile.am17
1 files changed, 13 insertions, 4 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 5a98d93a1..be01388ae 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -61,7 +61,8 @@ else
DOCDIR =
endif
-SUBDIRS = libc libm $(DOCDIR) .
+SUBDIRS = libc libm \
+ $(DOCDIR) .
tooldir = $(exec_prefix)/$(host_alias)
toollibdir = $(tooldir)/lib$(MULTISUBDIR)
@@ -69,9 +70,11 @@ toollibdir = $(tooldir)/lib$(MULTISUBDIR)
AR_FLAGS = rc
if USE_LIBTOOL
-toollib_LTLIBRARIES = libm.la libc.la
+toollib_LTLIBRARIES = libm.la \
+ libc.la
else
-toollib_LIBRARIES = libm.a libc.a
+toollib_LIBRARIES = libm.a \
+ libc.a
endif
noinst_DATA = stmp-targ-include
@@ -109,7 +112,8 @@ LIBC_OBJECTLISTS = \
libc/errno/objectlist.awk.in \
libc/stdio/objectlist.awk.in \
$(MACHINE_OBJECTLIST) \
- $(SYS_OBJECTLIST)
+ $(SYS_OBJECTLIST) \
+ $(SYS_MACH_OBJECTLIST)
LIBM_OBJECTLISTS = \
libm/$(MATHDIR)/objectlist.awk.in \
@@ -188,6 +192,11 @@ stmp-targ-include: config.status
cp $$i targ-include/sys/`basename $$i`; \
else true; fi ; \
done
+ -for i in $(srcdir)/libc/sys/$(sys_dir)/machine/$(machine_dir)/*.h; do \
+ if [ -f $$i ]; then \
+ cp $$i targ-include/machine/`basename $$i`; \
+ else true; fi ; \
+ done
touch $@
CLEANFILES = targ-include stmp-targ-include