summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/Makefile.am
blob: daee8a185d665f2dfc5c6e4ba4df19929cbc18c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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