summaryrefslogtreecommitdiff
path: root/newlib/libc/machine/Makefile.am
blob: 54dfb82350fbf04cfb87064549f28c654b403e90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Process this file with automake to generate Makefile.in

AUTOMAKE_OPTIONS = cygnus

SUBDIRS = $(machine_dir)

if HAVE_MACHINE_DIR
MACHLIB = lib.a
endif

noinst_LIBRARIES = $(MACHLIB)

lib.a: $(machine_dir)/lib.a
	rm -f $@
	ln $(machine_dir)/lib.a $@ >/dev/null 2>/dev/null || \
	 cp $(machine_dir)/lib.a $@

$(machine_dir)/lib.a: all-recursive

doc:

ACLOCAL_AMFLAGS = -I ../..
CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host