OLD | NEW |
1 ## Process this file with automake to generate Makefile.in | 1 ## Process this file with automake to generate Makefile.in |
2 | 2 |
3 AUTOMAKE_OPTIONS = cygnus | 3 AUTOMAKE_OPTIONS = cygnus |
4 | 4 |
5 SUBDIRS = $(sys_dir) . | 5 SUBDIRS = $(sys_dir) . |
6 | 6 |
7 if HAVE_SYS_DIR | 7 if HAVE_SYS_DIR |
8 SYSLIB = lib.a | 8 SYSLIB = lib.a |
9 endif | 9 endif |
10 | 10 |
11 noinst_DATA = $(CRT0) | 11 noinst_DATA = $(CRT0) |
12 | 12 |
13 if USE_LIBTOOL | 13 if USE_LIBTOOL |
14 else | 14 else |
15 noinst_LIBRARIES = $(SYSLIB) | 15 noinst_LIBRARIES = $(SYSLIB) |
16 | 16 |
17 lib.a: $(sys_dir)/lib.a | 17 lib.a: $(sys_dir)/lib.a |
18 rm -f $@ | 18 rm -f $@ |
19 ln $(sys_dir)/lib.a $@ >/dev/null 2>/dev/null \ | 19 ln $(sys_dir)/lib.a $@ >/dev/null 2>/dev/null \ |
20 || cp $(sys_dir)/lib.a $@ | 20 || cp $(sys_dir)/lib.a $@ |
21 endif # USE_LIBTOOL | 21 endif # USE_LIBTOOL |
22 | 22 |
23 $(sys_dir)/libsys.$(aext): ; @true | 23 $(sys_dir)/libsys.$(aext): ; @true |
24 | 24 |
25 $(CRT0): $(sys_dir)/$(CRT0) | 25 $(CRT0): $(wildcard $(sys_dir)/$(CRT0)) |
26 rm -f $@ | 26 rm -f $@ |
27 » ln $(sys_dir)/$(CRT0) $@ >/dev/null 2>/dev/null \ | 27 » if test -f $(sys_dir)/$(CRT0); then ln $(sys_dir)/$(CRT0) $@ >/dev/null
2>/dev/null \ |
28 » || cp $(sys_dir)/$(CRT0) $@ | 28 » || cp $(sys_dir)/$(CRT0) $@; fi |
29 | 29 |
30 $(sys_dir)/$(CRT0): ; @true | 30 $(sys_dir)/$(CRT0): ; @true |
31 | 31 |
32 CLEANFILES = $(CRT0) | 32 CLEANFILES = $(CRT0) |
33 | 33 |
34 doc: | 34 doc: |
35 | 35 |
36 ACLOCAL_AMFLAGS = -I ../.. -I ../../.. | 36 ACLOCAL_AMFLAGS = -I ../.. -I ../../.. |
37 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host | 37 CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host |
OLD | NEW |