summaryrefslogtreecommitdiffstats
path: root/scripts-ada/gnatnewlib/Makefile.am
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-26 19:56:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-26 19:56:54 +0000
commit64ab2e9eeb87a3ea1c48cea6d74647155f5e0e44 (patch)
tree6fa94e466a217c7bebb855ccd0e52174e5d02c18 /scripts-ada/gnatnewlib/Makefile.am
parenta1f89b42a85fdc2f2a782ac41c5943b7d2ef6048 (diff)
downloadrtems-64ab2e9eeb87a3ea1c48cea6d74647155f5e0e44.tar.bz2
First cut at adding RPM scripts for building GNAT/RTEMS RPMs.
Diffstat (limited to 'scripts-ada/gnatnewlib/Makefile.am')
-rw-r--r--scripts-ada/gnatnewlib/Makefile.am61
1 files changed, 61 insertions, 0 deletions
diff --git a/scripts-ada/gnatnewlib/Makefile.am b/scripts-ada/gnatnewlib/Makefile.am
new file mode 100644
index 0000000000..60d7f0cc93
--- /dev/null
+++ b/scripts-ada/gnatnewlib/Makefile.am
@@ -0,0 +1,61 @@
+## $Id$
+
+AUTOMAKE_OPTIONS = foreign
+
+MKGNATNEWLIBSPEC = $(SHELL) $(top_builddir)/mkgnatnewlibspec
+
+MKGNATNEWLIBSPEC_DEPS = \
+ $(top_builddir)/mkgnatnewlibspec gnatnewlib.spec.in $(top_builddir)/setup.cache
+
+hppa1.1-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
+ $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . hppa1.1-rtems
+
+i386-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
+ $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i386-rtems
+
+i960-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
+ $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . i960-rtems
+
+m68k-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
+ $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtems
+
+m68k-rtemself-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
+ $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . m68k-rtemself
+
+mips64orion-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
+ $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . mips64orion-rtems
+
+powerpc-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
+ $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . powerpc-rtems
+
+sh-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
+ $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtems
+
+sh-rtemself-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
+ $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sh-rtemself
+
+sparc-rtems-$(GNATNEWLIBVERS).spec: $(MKGNATNEWLIBSPEC_DEPS)
+ $(MKGNATNEWLIBSPEC) -cfg $(top_builddir)/setup.cache -o . sparc-rtems
+
+TEMPLATES = \
+gnatnewlib.spec.in
+
+RPM_SPECS_DATA = \
+hppa1.1-rtems-$(GNATNEWLIBVERS).spec \
+i386-rtems-$(GNATNEWLIBVERS).spec \
+i960-rtems-$(GNATNEWLIBVERS).spec \
+m68k-rtems-$(GNATNEWLIBVERS).spec \
+m68k-rtemself-$(GNATNEWLIBVERS).spec \
+mips64orion-rtems-$(GNATNEWLIBVERS).spec \
+powerpc-rtems-$(GNATNEWLIBVERS).spec \
+sh-rtems-$(GNATNEWLIBVERS).spec \
+sh-rtemself-$(GNATNEWLIBVERS).spec \
+sparc-rtems-$(GNATNEWLIBVERS).spec
+
+noinst_DATA = \
+$(TEMPLATES)
+
+EXTRA_DIST = \
+$(TEMPLATES)
+
+CLEANFILES = $(RPM_SPECS_DATA)