From 2af6056ad9129deb324cf8448c0e956d64ab4093 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 26 Aug 2002 06:12:08 +0000 Subject: 2002-08-26 Ralf Corsepius * 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. --- c/src/ada-tests/ChangeLog | 12 +++ c/src/ada-tests/Makefile.am | 15 ++++ c/src/ada-tests/ada.am | 18 +++++ c/src/ada-tests/configure.ac | 117 ++++++++++++++++++++++++++++ c/src/ada-tests/samples/Makefile.am | 6 ++ c/src/ada-tests/samples/base_mp/Makefile.am | 20 +++++ c/src/ada-tests/samples/base_sp/Makefile.am | 18 +++++ c/src/ada-tests/samples/hello/Makefile.am | 18 +++++ c/src/ada-tests/samples/ticker/Makefile.am | 18 +++++ c/src/ada-tests/support/Makefile.am | 21 +++++ 10 files changed, 263 insertions(+) create mode 100644 c/src/ada-tests/Makefile.am create mode 100644 c/src/ada-tests/ada.am create mode 100644 c/src/ada-tests/configure.ac create mode 100644 c/src/ada-tests/samples/Makefile.am create mode 100644 c/src/ada-tests/samples/base_mp/Makefile.am create mode 100644 c/src/ada-tests/samples/base_sp/Makefile.am create mode 100644 c/src/ada-tests/samples/hello/Makefile.am create mode 100644 c/src/ada-tests/samples/ticker/Makefile.am create mode 100644 c/src/ada-tests/support/Makefile.am (limited to 'c') diff --git a/c/src/ada-tests/ChangeLog b/c/src/ada-tests/ChangeLog index d75de22c30..84415e9ed3 100644 --- a/c/src/ada-tests/ChangeLog +++ b/c/src/ada-tests/ChangeLog @@ -1,3 +1,15 @@ +2002-08-26 Ralf Corsepius + + * 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. + 2002-08-26 Ralf Corsepius * sptests/Makefile.am: New. diff --git a/c/src/ada-tests/Makefile.am b/c/src/ada-tests/Makefile.am new file mode 100644 index 0000000000..891aa8ddc3 --- /dev/null +++ b/c/src/ada-tests/Makefile.am @@ -0,0 +1,15 @@ +## $Id$ + +ACLOCAL_AMFLAGS = -I ../../../aclocal + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(top_srcdir)/../../../automake/compile.am +include $(top_srcdir)/../../../automake/lib.am + +SUBDIRS = support samples sptests +# SUBDIRS += sptests tmtests mptests + +EXTRA_DIST = ada.am + +include $(top_srcdir)/../../../automake/subdirs.am +include $(top_srcdir)/../../../automake/local.am diff --git a/c/src/ada-tests/ada.am b/c/src/ada-tests/ada.am new file mode 100644 index 0000000000..8cd6cb8376 --- /dev/null +++ b/c/src/ada-tests/ada.am @@ -0,0 +1,18 @@ +SUFFIXES = .adb .ali .ads + +ADACOMPILE = $(ADAC) $(AM_ADAFLAGS) $(ADAFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + +ADAC = @ADAC@ $(GCCSPECS) +GNATMAKE = @GNATMAKE@ -cargs $(GCCSPECS) -largs $(GCCSPECS) + +AM_ADAFLAGS = -I$(PROJECT_ROOT)/lib/include/adainclude \ +-I$(PROJECT_ROOT)/@RTEMS_BSP@/lib/include/adainclude \ +-I$(top_srcdir)/support + +GNATCOMPILE = $(GNATMAKE) \ +-margs $(AM_ADAFLAGS) $(ADAFLAGS) \ +-cargs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) \ +-largs $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) + +CLEANFILES = *.ali *.o b~*.adb b~*.ads + diff --git a/c/src/ada-tests/configure.ac b/c/src/ada-tests/configure.ac new file mode 100644 index 0000000000..afbb39775c --- /dev/null +++ b/c/src/ada-tests/configure.ac @@ -0,0 +1,117 @@ +## Process this file with autoconf to produce a configure script. +## +## $Id$ + +AC_PREREQ(2.52) +AC_INIT([rtems-ada-tests],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com]) +AC_CONFIG_SRCDIR([support]) +RTEMS_TOP(../../..) +AC_CONFIG_AUX_DIR(../../..) + +RTEMS_CANONICAL_TARGET_CPU +RTEMS_CANONICAL_HOST + +AM_INIT_AUTOMAKE([no-define foreign 1.6]) +AM_MAINTAINER_MODE + +RTEMS_PROG_GNAT +RTEMS_CANONICALIZE_TOOLS + +RTEMS_ENABLE_MULTILIB +RTEMS_ENABLE_MULTIPROCESSING +RTEMS_ENV_RTEMSBSP +RTEMS_CHECK_CPU +RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) +RTEMS_CHECK_BSP_CACHE(RTEMS_BSP) + +AM_CONDITIONAL([ADA],[test x"$HAVE_GNAT" = x"yes"]) + +# FIXME: Enable building the examples which are known to be broken +AM_CONDITIONAL([EXPADA], + [test x"$enable_expada" = x"yes" && test x"$HAVE_GNAT" = x"yes"]) + +RTEMS_PROJECT_ROOT + +# Explicitly list all Makefiles here +AC_CONFIG_FILES([Makefile]) + +AC_CONFIG_FILES([support/Makefile]) + +AC_CONFIG_FILES([ +samples/Makefile +samples/hello/Makefile +samples/ticker/Makefile +samples/base_sp/Makefile +samples/base_mp/Makefile +]) + +AC_CONFIG_FILES([ +sptests/Makefile +sptests/sp01/Makefile +sptests/sp02/Makefile +sptests/sp03/Makefile +sptests/sp04/Makefile +sptests/sp05/Makefile +sptests/sp06/Makefile +sptests/sp07/Makefile +sptests/sp08/Makefile +sptests/sp09/Makefile +sptests/sp11/Makefile +sptests/sp12/Makefile +sptests/sp13/Makefile +sptests/sp14/Makefile +sptests/sp15/Makefile +sptests/sp16/Makefile +sptests/sp17/Makefile +sptests/sp19/Makefile +sptests/sp20/Makefile +sptests/sp21/Makefile +sptests/sp22/Makefile +sptests/sp23/Makefile +sptests/sp24/Makefile +sptests/sp25/Makefile +sptests/spsize/Makefile +]) + +#AC_CONFIG_FILES([ +#tmtests/tm01/Makefile +#tmtests/tm02/Makefile +#tmtests/tm03/Makefile +#tmtests/tm04/Makefile +#tmtests/tm05/Makefile +#tmtests/tm06/Makefile +#tmtests/tm07/Makefile +#tmtests/tm08/Makefile +#tmtests/tm09/Makefile +#tmtests/tm10/Makefile +#tmtests/tm11/Makefile +#tmtests/tm12/Makefile +#tmtests/tm13/Makefile +#tmtests/tm14/Makefile +#tmtests/tm15/Makefile +#tmtests/tm16/Makefile +#tmtests/tm17/Makefile +#tmtests/tm18/Makefile +#tmtests/tm19/Makefile +#tmtests/tm20/Makefile +#tmtests/tm21/Makefile +#tmtests/tm22/Makefile +#tmtests/tm23/Makefile +#tmtests/tm24/Makefile +#tmtests/tm25/Makefile +#tmtests/tm26/Makefile +#tmtests/tm27/Makefile +#tmtests/tm28/Makefile +#tmtests/tm29/Makefile +#tmtests/tmck/Makefile +#tmtests/tmoverhd/Makefile +#tmtests/Makefile +#]) + +#AC_CONFIG_FILES([ +#mptests/Makefile +#mptests/mp01/Makefile +#mptests/mp02/Makefile +#]) + +AC_OUTPUT 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 diff --git a/c/src/ada-tests/support/Makefile.am b/c/src/ada-tests/support/Makefile.am new file mode 100644 index 0000000000..3dca7cb527 --- /dev/null +++ b/c/src/ada-tests/support/Makefile.am @@ -0,0 +1,21 @@ +## $Id$ + +EXTRA_DIST = +EXTRA_DIST += address_io.adb +EXTRA_DIST += address_io.ads +EXTRA_DIST += float_io.ads +EXTRA_DIST += fp.inc +EXTRA_DIST += init.c +EXTRA_DIST += integer.inc +EXTRA_DIST += rtems_calling_overhead.ads +EXTRA_DIST += status_io.ads +EXTRA_DIST += test_support.adb +EXTRA_DIST += test_support.ads +EXTRA_DIST += time_test_support.adb +EXTRA_DIST += time_test_support.ads +EXTRA_DIST += timer_driver.adb +EXTRA_DIST += timer_driver.ads +EXTRA_DIST += unsigned32_io.ads + +include $(top_srcdir)/../../../automake/local.am + -- cgit v1.2.3