Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-17 12:12:11 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-10 04:01:40 +0300
commit7517551007edda5b72cdab774abe0dcce835a9b9 (patch)
tree94f3e47301b46d5d6ed652bd57d9f8db644a955c /libgloss/Makefile.am
parenta49c5fcdb5423983e44567a1c23145fd9fb6e527 (diff)
libgloss: convert top level to automake
The top level dir isn't doing anything interesting, just recursing into subdirs. So this change isn't terribly exciting. But it sets us up for doing more fun stuff in follow up commits. [TODO] Check test targets
Diffstat (limited to 'libgloss/Makefile.am')
-rw-r--r--libgloss/Makefile.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/libgloss/Makefile.am b/libgloss/Makefile.am
new file mode 100644
index 000000000..0779da76d
--- /dev/null
+++ b/libgloss/Makefile.am
@@ -0,0 +1,38 @@
+## Top level makefile for libgloss
+
+ACLOCAL_AMFLAGS = -I . -I .. -I ../config
+
+# Variables that will accumulate in subdirs.
+PHONY =
+
+SUBDIRS = @subdirs@ .
+
+tooldir = $(exec_prefix)/$(target_alias)
+
+## 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