2022-01-17 17:12:11 +08:00
|
|
|
## Top level makefile for libgloss
|
|
|
|
|
|
|
|
ACLOCAL_AMFLAGS = -I . -I .. -I ../config
|
|
|
|
|
|
|
|
# Variables that will accumulate in subdirs.
|
2022-02-12 17:58:24 +08:00
|
|
|
bin_PROGRAMS =
|
2022-02-02 13:01:43 +08:00
|
|
|
check_PROGRAMS =
|
2022-02-02 12:46:57 +08:00
|
|
|
info_TEXINFOS =
|
2022-01-17 17:12:11 +08:00
|
|
|
PHONY =
|
|
|
|
|
|
|
|
SUBDIRS = @subdirs@ .
|
|
|
|
|
|
|
|
tooldir = $(exec_prefix)/$(target_alias)
|
|
|
|
|
2022-02-02 13:01:43 +08:00
|
|
|
multilibtooldir = $(tooldir)/lib$(MULTISUBDIR)
|
|
|
|
multilibtool_DATA =
|
|
|
|
multilibtool_LIBRARIES =
|
|
|
|
|
2022-02-02 14:06:21 +08:00
|
|
|
includetooldir = $(tooldir)/include
|
|
|
|
includetool_DATA =
|
|
|
|
|
|
|
|
includesystooldir = $(tooldir)/include/sys
|
|
|
|
includesystool_DATA =
|
|
|
|
|
2022-02-02 13:01:43 +08:00
|
|
|
# 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 =
|
|
|
|
|
2022-01-17 17:12:11 +08:00
|
|
|
## 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)" \
|
|
|
|
"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
|
2022-02-02 12:46:57 +08:00
|
|
|
|
|
|
|
TEXINFO_TEX = ../texinfo/texinfo.tex
|
|
|
|
|
|
|
|
if HAVE_DOC
|
|
|
|
include doc/Makefile.inc
|
|
|
|
endif
|
2022-02-02 14:06:21 +08:00
|
|
|
if CONFIG_BFIN
|
|
|
|
include bfin/Makefile.inc
|
|
|
|
endif
|
2022-02-02 13:23:50 +08:00
|
|
|
if CONFIG_IQ2000
|
|
|
|
include iq2000/Makefile.inc
|
|
|
|
endif
|
2022-02-02 13:01:43 +08:00
|
|
|
if CONFIG_LIBNOSYS
|
|
|
|
include libnosys/Makefile.inc
|
|
|
|
endif
|
2022-03-01 15:03:17 +08:00
|
|
|
if CONFIG_LM32
|
|
|
|
include lm32/Makefile.inc
|
|
|
|
endif
|
2022-02-12 17:58:24 +08:00
|
|
|
if CONFIG_WINCE
|
|
|
|
include wince/Makefile.inc
|
|
|
|
endif
|