diff options
Diffstat (limited to 'newlib/libc/sys/Makefile.am')
-rw-r--r-- | newlib/libc/sys/Makefile.am | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/newlib/libc/sys/Makefile.am b/newlib/libc/sys/Makefile.am new file mode 100644 index 0000000..daee8a1 --- /dev/null +++ b/newlib/libc/sys/Makefile.am @@ -0,0 +1,35 @@ +## Process this file with automake to generate Makefile.in + +AUTOMAKE_OPTIONS = cygnus + +SUBDIRS = $(sys_dir) + +EXTRA_DATA = crt0.o + +if HAVE_SYS_DIR +SYSLIB = lib.a +endif + +noinst_LIBRARIES = $(SYSLIB) +noinst_DATA = $(CRT0) + +lib.a: $(sys_dir)/lib.a + rm -f $@ + ln $(sys_dir)/lib.a $@ >/dev/null 2>/dev/null \ + || cp $(sys_dir)/lib.a $@ + +$(sys_dir)/lib.a: all-recursive ; @true + +crt0.o: $(sys_dir)/crt0.o + rm -f $@ + ln $(sys_dir)/crt0.o $@ >/dev/null 2>/dev/null \ + || cp $(sys_dir)/crt0.o $@ + +$(sys_dir)/crt0.o: all-recursive ; @true + +CLEANFILES = crt0.o + +doc: + +ACLOCAL_AMFLAGS = -I ../.. +CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host |