forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
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.
|
||||
|
||||
2002-08-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* sptests/Makefile.am: New.
|
||||
|
||||
15
c/src/ada-tests/Makefile.am
Normal file
15
c/src/ada-tests/Makefile.am
Normal file
@@ -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
|
||||
18
c/src/ada-tests/ada.am
Normal file
18
c/src/ada-tests/ada.am
Normal file
@@ -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
|
||||
|
||||
117
c/src/ada-tests/configure.ac
Normal file
117
c/src/ada-tests/configure.ac
Normal file
@@ -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
|
||||
6
c/src/ada-tests/samples/Makefile.am
Normal file
6
c/src/ada-tests/samples/Makefile.am
Normal file
@@ -0,0 +1,6 @@
|
||||
## $Id$
|
||||
|
||||
SUBDIRS = hello ticker base_sp base_mp
|
||||
|
||||
include $(top_srcdir)/../../../automake/subdirs.am
|
||||
include $(top_srcdir)/../../../automake/local.am
|
||||
20
c/src/ada-tests/samples/base_mp/Makefile.am
Normal file
20
c/src/ada-tests/samples/base_mp/Makefile.am
Normal file
@@ -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
|
||||
18
c/src/ada-tests/samples/base_sp/Makefile.am
Normal file
18
c/src/ada-tests/samples/base_sp/Makefile.am
Normal file
@@ -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
|
||||
18
c/src/ada-tests/samples/hello/Makefile.am
Normal file
18
c/src/ada-tests/samples/hello/Makefile.am
Normal file
@@ -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
|
||||
18
c/src/ada-tests/samples/ticker/Makefile.am
Normal file
18
c/src/ada-tests/samples/ticker/Makefile.am
Normal file
@@ -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
|
||||
21
c/src/ada-tests/support/Makefile.am
Normal file
21
c/src/ada-tests/support/Makefile.am
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user