mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 22:54:14 +08:00
testsuites/ada: Introduce init.c files
Provide an init.c for each Ada test instead of the #include <config.h> magic which works only due to hand crafted include paths. Update #3818.
This commit is contained in:
@@ -25,6 +25,6 @@
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
#include "../../support/initimpl.h"
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp01_ada_mp01_node1
|
||||
mp01_ada_mp01_node1_SOURCES = mp01_node1.adb ../mptest.adb config.h
|
||||
mp01_ada_mp01_node1_SOURCES += ../mptest.ads
|
||||
mp01_ada_mp01_node1_SOURCES += ../../../support/init.c
|
||||
mp01_ada_mp01_node1_SOURCES += init.c
|
||||
|
||||
mp01_ada_mp01_node1$(EXEEXT): mp01_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp01_ada_mp01_node2
|
||||
mp01_ada_mp01_node2_SOURCES = mp01_node2.adb ../mptest.adb config.h
|
||||
mp01_ada_mp01_node2_SOURCES += ../mptest.ads
|
||||
mp01_ada_mp01_node2_SOURCES += ../../../support/init.c
|
||||
mp01_ada_mp01_node2_SOURCES += init.c
|
||||
|
||||
mp01_ada_mp01_node2$(EXEEXT): mp01_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
#include "../../support/initimpl.h"
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp03_ada_mp03_node1
|
||||
mp03_ada_mp03_node1_SOURCES = mp03_node1.adb ../mptest.adb config.h
|
||||
mp03_ada_mp03_node1_SOURCES += ../mptest.ads
|
||||
mp03_ada_mp03_node1_SOURCES += ../../../support/init.c
|
||||
mp03_ada_mp03_node1_SOURCES += init.c
|
||||
|
||||
mp03_ada_mp03_node1$(EXEEXT): mp03_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp03_ada_mp03_node2
|
||||
mp03_ada_mp03_node2_SOURCES = mp03_node2.adb ../mptest.adb config.h
|
||||
mp03_ada_mp03_node2_SOURCES += ../mptest.ads
|
||||
mp03_ada_mp03_node2_SOURCES += ../../../support/init.c
|
||||
mp03_ada_mp03_node2_SOURCES += init.c
|
||||
|
||||
mp03_ada_mp03_node2$(EXEEXT): mp03_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
#include "../../support/initimpl.h"
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp04_ada_mp04_node1
|
||||
mp04_ada_mp04_node1_SOURCES = mp04_node1.adb ../mptest.adb config.h
|
||||
mp04_ada_mp04_node1_SOURCES += ../mptest.ads
|
||||
mp04_ada_mp04_node1_SOURCES += ../../../support/init.c
|
||||
mp04_ada_mp04_node1_SOURCES += init.c
|
||||
|
||||
mp04_ada_mp04_node1$(EXEEXT): mp04_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp04_ada_mp04_node2
|
||||
mp04_ada_mp04_node2_SOURCES = mp04_node2.adb ../mptest.adb config.h
|
||||
mp04_ada_mp04_node2_SOURCES += ../mptest.ads
|
||||
mp04_ada_mp04_node2_SOURCES += ../../../support/init.c
|
||||
mp04_ada_mp04_node2_SOURCES += init.c
|
||||
|
||||
mp04_ada_mp04_node2$(EXEEXT): mp04_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
#include "../../support/initimpl.h"
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp05_ada_mp05_node1
|
||||
mp05_ada_mp05_node1_SOURCES = mp05_node1.adb ../mptest.adb config.h
|
||||
mp05_ada_mp05_node1_SOURCES += ../mptest.ads
|
||||
mp05_ada_mp05_node1_SOURCES += ../../../support/init.c
|
||||
mp05_ada_mp05_node1_SOURCES += init.c
|
||||
|
||||
mp05_ada_mp05_node1$(EXEEXT): mp05_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp05_ada_mp05_node2
|
||||
mp05_ada_mp05_node2_SOURCES = mp05_node2.adb ../mptest.adb config.h
|
||||
mp05_ada_mp05_node2_SOURCES += ../mptest.ads
|
||||
mp05_ada_mp05_node2_SOURCES += ../../../support/init.c
|
||||
mp05_ada_mp05_node2_SOURCES += init.c
|
||||
|
||||
mp05_ada_mp05_node2$(EXEEXT): mp05_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
#include "../../support/initimpl.h"
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp06_ada_mp06_node1
|
||||
mp06_ada_mp06_node1_SOURCES = mp06_node1.adb ../mptest.adb config.h
|
||||
mp06_ada_mp06_node1_SOURCES += ../mptest.ads
|
||||
mp06_ada_mp06_node1_SOURCES += ../../../support/init.c
|
||||
mp06_ada_mp06_node1_SOURCES += init.c
|
||||
|
||||
mp06_ada_mp06_node1$(EXEEXT): mp06_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp06_ada_mp06_node2
|
||||
mp06_ada_mp06_node2_SOURCES = mp06_node2.adb ../mptest.adb config.h
|
||||
mp06_ada_mp06_node2_SOURCES += ../mptest.ads
|
||||
mp06_ada_mp06_node2_SOURCES += ../../../support/init.c
|
||||
mp06_ada_mp06_node2_SOURCES += init.c
|
||||
|
||||
mp06_ada_mp06_node2$(EXEEXT): mp06_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
#include "../../support/initimpl.h"
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp07_ada_mp07_node1
|
||||
mp07_ada_mp07_node1_SOURCES = mp07_node1.adb ../mptest.adb config.h
|
||||
mp07_ada_mp07_node1_SOURCES += ../mptest.ads
|
||||
mp07_ada_mp07_node1_SOURCES += ../../../support/init.c
|
||||
mp07_ada_mp07_node1_SOURCES += init.c
|
||||
|
||||
mp07_ada_mp07_node1$(EXEEXT): mp07_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp07_ada_mp07_node2
|
||||
mp07_ada_mp07_node2_SOURCES = mp07_node2.adb ../mptest.adb config.h
|
||||
mp07_ada_mp07_node2_SOURCES += ../mptest.ads
|
||||
mp07_ada_mp07_node2_SOURCES += ../../../support/init.c
|
||||
mp07_ada_mp07_node2_SOURCES += init.c
|
||||
|
||||
mp07_ada_mp07_node2$(EXEEXT): mp07_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
#include "../../support/initimpl.h"
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp08_ada_mp08_node1
|
||||
mp08_ada_mp08_node1_SOURCES = mp08_node1.adb ../mptest.adb config.h
|
||||
mp08_ada_mp08_node1_SOURCES += ../mptest.ads
|
||||
mp08_ada_mp08_node1_SOURCES += ../../../support/init.c
|
||||
mp08_ada_mp08_node1_SOURCES += init.c
|
||||
|
||||
mp08_ada_mp08_node1$(EXEEXT): mp08_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp08_ada_mp08_node2
|
||||
mp08_ada_mp08_node2_SOURCES = mp08_node2.adb ../mptest.adb config.h
|
||||
mp08_ada_mp08_node2_SOURCES += ../mptest.ads
|
||||
mp08_ada_mp08_node2_SOURCES += ../../../support/init.c
|
||||
mp08_ada_mp08_node2_SOURCES += init.c
|
||||
|
||||
mp08_ada_mp08_node2$(EXEEXT): mp08_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
#include "../../support/initimpl.h"
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp09_ada_mp09_node1
|
||||
mp09_ada_mp09_node1_SOURCES = mp09_node1.adb ../mptest.adb config.h
|
||||
mp09_ada_mp09_node1_SOURCES += ../mptest.ads
|
||||
mp09_ada_mp09_node1_SOURCES += ../../../support/init.c
|
||||
mp09_ada_mp09_node1_SOURCES += init.c
|
||||
|
||||
mp09_ada_mp09_node1$(EXEEXT): mp09_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp09_ada_mp09_node2
|
||||
mp09_ada_mp09_node2_SOURCES = mp09_node2.adb ../mptest.adb config.h
|
||||
mp09_ada_mp09_node2_SOURCES += ../mptest.ads
|
||||
mp09_ada_mp09_node2_SOURCES += ../../../support/init.c
|
||||
mp09_ada_mp09_node2_SOURCES += init.c
|
||||
|
||||
mp09_ada_mp09_node2$(EXEEXT): mp09_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
#include "../../support/initimpl.h"
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp10_ada_mp10_node1
|
||||
mp10_ada_mp10_node1_SOURCES = mp10_node1.adb ../mptest.adb config.h
|
||||
mp10_ada_mp10_node1_SOURCES += ../mptest.ads
|
||||
mp10_ada_mp10_node1_SOURCES += ../../../support/init.c
|
||||
mp10_ada_mp10_node1_SOURCES += init.c
|
||||
|
||||
mp10_ada_mp10_node1$(EXEEXT): mp10_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp10_ada_mp10_node2
|
||||
mp10_ada_mp10_node2_SOURCES = mp10_node2.adb ../mptest.adb config.h
|
||||
mp10_ada_mp10_node2_SOURCES += ../mptest.ads
|
||||
mp10_ada_mp10_node2_SOURCES += ../../../support/init.c
|
||||
mp10_ada_mp10_node2_SOURCES += init.c
|
||||
|
||||
mp10_ada_mp10_node2$(EXEEXT): mp10_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -25,6 +25,6 @@
|
||||
#define CONFIGURE_MAXIMUM_POSIX_THREADS 10
|
||||
#define CONFIGURE_MAXIMUM_POSIX_KEYS 10
|
||||
|
||||
#include <rtems/confdefs.h>
|
||||
#include "../../support/initimpl.h"
|
||||
|
||||
/* end of include file */
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp11_ada_mp11_node1
|
||||
mp11_ada_mp11_node1_SOURCES = mp11_node1.adb ../mptest.adb config.h
|
||||
mp11_ada_mp11_node1_SOURCES += ../mptest.ads
|
||||
mp11_ada_mp11_node1_SOURCES += ../../../support/init.c
|
||||
mp11_ada_mp11_node1_SOURCES += init.c
|
||||
|
||||
mp11_ada_mp11_node1$(EXEEXT): mp11_node1.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
@@ -8,7 +8,7 @@ AM_ADAFLAGS += -I$(srcdir)/..
|
||||
noinst_PROGRAMS = mp11_ada_mp11_node2
|
||||
mp11_ada_mp11_node2_SOURCES = mp11_node2.adb ../mptest.adb config.h
|
||||
mp11_ada_mp11_node2_SOURCES += ../mptest.ads
|
||||
mp11_ada_mp11_node2_SOURCES += ../../../support/init.c
|
||||
mp11_ada_mp11_node2_SOURCES += init.c
|
||||
|
||||
mp11_ada_mp11_node2$(EXEEXT): mp11_node2.adb ../mptest.adb init.$(OBJEXT)
|
||||
$(GNATCOMPILE) -margs -a $< -o $@
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user