summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/samples
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-08-26 06:12:08 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-08-26 06:12:08 +0000
commit2af6056ad9129deb324cf8448c0e956d64ab4093 (patch)
tree69de2948a0856715b91d41bd05fbd897aa40b5f5 /c/src/ada-tests/samples
parent2002-08-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-2af6056ad9129deb324cf8448c0e956d64ab4093.tar.bz2
2002-08-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: New. * configure.ac: New. * ada.am: New. * support/Makefile.am: New. * samples/Makefile.am: New. * samples/base_mp/Makefile.am: New. * samples/base_sp/Makefile.am: New. * samples/hello/Makefile.am: New. * samples/ticker/Makefile.am: New.
Diffstat (limited to 'c/src/ada-tests/samples')
-rw-r--r--c/src/ada-tests/samples/Makefile.am6
-rw-r--r--c/src/ada-tests/samples/base_mp/Makefile.am20
-rw-r--r--c/src/ada-tests/samples/base_sp/Makefile.am18
-rw-r--r--c/src/ada-tests/samples/hello/Makefile.am18
-rw-r--r--c/src/ada-tests/samples/ticker/Makefile.am18
5 files changed, 80 insertions, 0 deletions
diff --git a/c/src/ada-tests/samples/Makefile.am b/c/src/ada-tests/samples/Makefile.am
new file mode 100644
index 0000000000..b32eadfc6b
--- /dev/null
+++ b/c/src/ada-tests/samples/Makefile.am
@@ -0,0 +1,6 @@
+## $Id$
+
+SUBDIRS = hello ticker base_sp base_mp
+
+include $(top_srcdir)/../../../automake/subdirs.am
+include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/ada-tests/samples/base_mp/Makefile.am b/c/src/ada-tests/samples/base_mp/Makefile.am
new file mode 100644
index 0000000000..cc62cf8c58
--- /dev/null
+++ b/c/src/ada-tests/samples/base_mp/Makefile.am
@@ -0,0 +1,20 @@
+## $Id$
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../automake/compile.am
+
+include $(top_srcdir)/ada.am
+
+mptest$(EXEEXT): mptest.adb
+ $(GNATCOMPILE) -margs -a $< -o $@
+
+if EXPADA
+noinst_PROGRAMS = mptest
+endif
+
+mptest_SOURCES = mptest.adb mptest.ads
+
+EXTRA_DIST = node1/base_mp.scn
+EXTRA_DIST += node2/base_mp.scn
+
+include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/ada-tests/samples/base_sp/Makefile.am b/c/src/ada-tests/samples/base_sp/Makefile.am
new file mode 100644
index 0000000000..94421da9e5
--- /dev/null
+++ b/c/src/ada-tests/samples/base_sp/Makefile.am
@@ -0,0 +1,18 @@
+## $Id$
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../automake/compile.am
+
+include $(top_srcdir)/ada.am
+
+base_sp$(EXEEXT): base_sp.adb
+ $(GNATCOMPILE) -margs -a $< -o $@
+
+noinst_PROGRAMS = base_sp
+
+base_sp_SOURCES = base_sp.adb \
+config.h sptest.adb sptest.ads
+
+EXTRA_DIST = base_sp.scn
+
+include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/ada-tests/samples/hello/Makefile.am b/c/src/ada-tests/samples/hello/Makefile.am
new file mode 100644
index 0000000000..e7edf3b58e
--- /dev/null
+++ b/c/src/ada-tests/samples/hello/Makefile.am
@@ -0,0 +1,18 @@
+## $Id$
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../automake/compile.am
+
+include $(top_srcdir)/ada.am
+
+hello$(EXEEXT): hello.adb
+ $(GNATCOMPILE) -margs -a $< -o $@
+
+noinst_PROGRAMS = hello
+
+hello_SOURCES = hello.adb \
+config.h sptest.adb sptest.ads
+
+EXTRA_DIST = hello.scn
+
+include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/ada-tests/samples/ticker/Makefile.am b/c/src/ada-tests/samples/ticker/Makefile.am
new file mode 100644
index 0000000000..38cac3143d
--- /dev/null
+++ b/c/src/ada-tests/samples/ticker/Makefile.am
@@ -0,0 +1,18 @@
+## $Id$
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../../../automake/compile.am
+
+include $(top_srcdir)/ada.am
+
+ticker$(EXEEXT): ticker.adb
+ $(GNATCOMPILE) -margs -a $< -o $@
+
+noinst_PROGRAMS = ticker
+
+ticker_SOURCES = ticker.adb \
+config.h sptest.adb sptest.ads
+
+EXTRA_DIST = ticker.scn
+
+include $(top_srcdir)/../../../automake/local.am