aboutsummaryrefslogtreecommitdiff
path: root/libgloss/Makefile.am
blob: b180309ca238cdec697b5b5a1d25dbc777928ac0 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
## Top level makefile for libgloss

ACLOCAL_AMFLAGS = -I . -I .. -I ../config

# Variables that will accumulate in subdirs.
check_PROGRAMS =
info_TEXINFOS =
PHONY =

SUBDIRS = @subdirs@ .

tooldir = $(exec_prefix)/$(target_alias)

multilibtooldir = $(tooldir)/lib$(MULTISUBDIR)
multilibtool_DATA =
multilibtool_LIBRARIES =

includetooldir = $(tooldir)/include
includetool_DATA =

includesystooldir = $(tooldir)/include/sys
includesystool_DATA =

# A fake library so automake will generate rules for plain objects that we want
# to install (e.g. our crt0.o objects).
noinst_LIBRARIES = libobjs.a
libobjs_a_SOURCES =

## These are roughly topologically sorted in order to make porting more
## streamlined.
FLAGS_TO_PASS = \
	"CC=$(CC)" \
	"CFLAGS=$(CFLAGS)" \
	"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
	"CCASFLAGS=$(CCASFLAGS)" \
	"AR=$(AR)" \
	"RANLIB=$(RANLIB)" \
	"AR_FLAGS=$(AR_FLAGS)" \
	"MAKEINFO=$(MAKEINFO)" \
	"AS=$(AS)" \
	"LD=$(LD)" \
	"CROSS_CFLAGS=$(CROSS_CFLAGS)" \
	"TARGET_CFLAGS=$(TARGET_CFLAGS)" \
	"exec_prefix=$(exec_prefix)" \
	"prefix=$(prefix)" \
	"tooldir=$(tooldir)" \
	"infodir=$(infodir)" \
	"libdir=$(libdir)" \
	"top_toollibdir=$(toollibdir)" \
	"INSTALL=$(INSTALL)" \
	"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
	"INSTALL_DATA=$(INSTALL_DATA)" \
	"DESTDIR=$(DESTDIR)"

include $(top_srcdir)/../multilib.am

TEXINFO_TEX = ../texinfo/texinfo.tex

if HAVE_DOC
include doc/Makefile.inc
endif
if CONFIG_BFIN
include bfin/Makefile.inc
endif
if CONFIG_IQ2000
include iq2000/Makefile.inc
endif
if CONFIG_LIBNOSYS
include libnosys/Makefile.inc
endif