OSDN Git Service

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