forked from Imagelibrary/rtems
testsuite/irhealstone: Merged nested Makefile.am files into one Makefile.am
This change is part of the testsuite Makefile.am reorganization. Update #3382
This commit is contained in:
@@ -1,12 +1,73 @@
|
||||
#
|
||||
# Real-time Benchmarking
|
||||
#
|
||||
|
||||
ACLOCAL_AMFLAGS = -I ../aclocal
|
||||
|
||||
_SUBDIRS =
|
||||
_SUBDIRS += rhdeadlockbrk
|
||||
_SUBDIRS += rhilatency
|
||||
_SUBDIRS += rhmlatency
|
||||
_SUBDIRS += rhsemshuffle
|
||||
_SUBDIRS += rhtaskpreempt
|
||||
_SUBDIRS += rhtaskswitch
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
|
||||
rhealstones =
|
||||
rhealstone_screens =
|
||||
rhealstone_docs =
|
||||
|
||||
support_includes = -I$(top_srcdir)/../support/include
|
||||
|
||||
if TEST_rhdeadlockbrk
|
||||
rhealstones += rhdeadlockbrk
|
||||
rhealstone_docs += rhdeadlockbrk/rhdeadlockbrk.adoc
|
||||
rhdeadlockbrk_SOURCES = rhdeadlockbrk/deadlockbrk.c \
|
||||
../tmtests/include/timesys.h
|
||||
rhdeadlockbrk_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhdeadlockbrk) \
|
||||
$(support_includes) -I$(top_srcdir)/../tmtests/include
|
||||
endif
|
||||
|
||||
if TEST_rhilatency
|
||||
rhealstones += rhilatency
|
||||
rhealstone_docs += rhilatency/rhilatency.adoc
|
||||
rhilatency_SOURCES = rhilatency/ilatency.c \
|
||||
../tmtests/include/timesys.h
|
||||
rhilatency_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhilatency) \
|
||||
$(support_includes) -I$(top_srcdir)/../tmtests/include
|
||||
endif
|
||||
|
||||
if TEST_rhmlatency
|
||||
rhealstones += rhmlatency
|
||||
rhealstone_docs += rhmlatency/rhmlatency.adoc
|
||||
rhmlatency_SOURCES = rhmlatency/mlatency.c \
|
||||
../tmtests/include/timesys.h
|
||||
rhmlatency_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhmlatency) \
|
||||
$(support_includes) -I$(top_srcdir)/../tmtests/include
|
||||
endif
|
||||
|
||||
if TEST_rhsemshuffle
|
||||
rhealstones += rhsemshuffle
|
||||
rhealstone_docs += rhsemshuffle/rhsemshuffle.adoc
|
||||
rhsemshuffle_SOURCES = rhsemshuffle/semshuffle.c \
|
||||
../tmtests/include/timesys.h
|
||||
rhsemshuffle_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhsemshuffle) \
|
||||
$(support_includes) -I$(top_srcdir)/../tmtests/include
|
||||
endif
|
||||
|
||||
if TEST_rhtaskpreempt
|
||||
rhealstones += rhtaskpreempt
|
||||
rhealstone_docs += rhtaskpreempt/rhtaskpreempt.adoc
|
||||
rhtaskpreempt_SOURCES = rhtaskpreempt/taskpreempt.c \
|
||||
../tmtests/include/timesys.h
|
||||
rhtaskpreempt_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhtaskpreempt) \
|
||||
$(support_includes) -I$(top_srcdir)/../tmtests/include
|
||||
endif
|
||||
|
||||
if TEST_rhtaskswitch
|
||||
rhealstones += rhtaskswitch
|
||||
rhealstone_docs += rhtaskswitch/rhtaskswitch.adoc
|
||||
rhtaskswitch_SOURCES = rhtaskswitch/taskswitch.c \
|
||||
../tmtests/include/timesys.h
|
||||
rhtaskswitch_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_rhtaskswitch) \
|
||||
$(support_includes) -I$(top_srcdir)/../tmtests/include
|
||||
endif
|
||||
|
||||
rtems_tests_PROGRAMS = $(rhealstones)
|
||||
dist_rtems_tests_DATA = $(rhealstone_screens) $(rhealstone_docs)
|
||||
|
||||
include $(top_srcdir)/../automake/subdirs.am
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
|
||||
@@ -25,13 +25,13 @@ RTEMS_CANONICALIZE_TOOLS
|
||||
|
||||
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
|
||||
|
||||
# Explicitly list all Makefiles here
|
||||
AC_CONFIG_FILES([Makefile
|
||||
rhdeadlockbrk/Makefile
|
||||
rhilatency/Makefile
|
||||
rhmlatency/Makefile
|
||||
rhsemshuffle/Makefile
|
||||
rhtaskpreempt/Makefile
|
||||
rhtaskswitch/Makefile
|
||||
])
|
||||
# BSP Test configuration
|
||||
RTEMS_TEST_CHECK([rhdeadlockbrk])
|
||||
RTEMS_TEST_CHECK([rhilatency])
|
||||
RTEMS_TEST_CHECK([rhmlatency])
|
||||
RTEMS_TEST_CHECK([rhsemshuffle])
|
||||
RTEMS_TEST_CHECK([rhtaskpreempt])
|
||||
RTEMS_TEST_CHECK([rhtaskswitch])
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
MANAGERS = all
|
||||
|
||||
rtems_tests_PROGRAMS = rhdeadlockbrk
|
||||
rhdeadlockbrk_SOURCES = deadlockbrk.c
|
||||
rhdeadlockbrk_SOURCES += ../../tmtests/include/timesys.h
|
||||
|
||||
dist_rtems_tests_DATA = rhdeadlockbrk.adoc
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
||||
|
||||
LINK_OBJS = $(rhdeadlockbrk_OBJECTS) $(rhdeadlockbrk_LDADD)
|
||||
LINK_LIBS = $(rhdeadlockbrk_LDLIBS)
|
||||
|
||||
rhdeadlockbrk$(EXEEXT): $(rhdeadlockbrk_OBJECTS) $(rhdeadlockbrk_DEPENDENCIES)
|
||||
@rm -f rhdeadlockbrk$(EXEEXT)
|
||||
$(make-exe)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
@@ -1,23 +0,0 @@
|
||||
MANAGERS = all
|
||||
|
||||
rtems_tests_PROGRAMS = rhilatency
|
||||
rhilatency_SOURCES = ilatency.c
|
||||
rhilatency_SOURCES += ../../tmtests/include/timesys.h
|
||||
|
||||
dist_rtems_tests_DATA = rhilatency.adoc
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
||||
|
||||
LINK_OBJS = $(rhilatency_OBJECTS) $(rhilatency_ldaDD)
|
||||
LINK_LIBS = $(rhilatency_LDLIBS)
|
||||
|
||||
rhilatency$(EXEEXT): $(rhilatency_OBJECTS) $(rhilatency_DEPENDENCIES)
|
||||
@rm -f rhilatency$(EXEEXT)
|
||||
$(make-exe)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
@@ -1,23 +0,0 @@
|
||||
MANAGERS = all
|
||||
|
||||
rtems_tests_PROGRAMS = rhmlatency
|
||||
rhmlatency_SOURCES = mlatency.c
|
||||
rhmlatency_SOURCES += ../../tmtests/include/timesys.h
|
||||
|
||||
dist_rtems_tests_DATA = rhmlatency.adoc
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
||||
|
||||
LINK_OBJS = $(rhmlatency_OBJECTS) $(rhmlatency_ldaDD)
|
||||
LINK_LIBS = $(rhmlatency_LDLIBS)
|
||||
|
||||
rhmlatency$(EXEEXT): $(rhmlatency_OBJECTS) $(rhmlatency_DEPENDENCIES)
|
||||
@rm -f rhmlatency$(EXEEXT)
|
||||
$(make-exe)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
@@ -1,23 +0,0 @@
|
||||
MANAGERS = all
|
||||
|
||||
rtems_tests_PROGRAMS = rhsemshuffle
|
||||
rhsemshuffle_SOURCES = semshuffle.c
|
||||
rhsemshuffle_SOURCES += ../../tmtests/include/timesys.h
|
||||
|
||||
dist_rtems_tests_DATA = rhsemshuffle.adoc
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
||||
|
||||
LINK_OBJS = $(rhsemshuffle_OBJECTS) $(rhsemshuffle_LDADD)
|
||||
LINK_LIBS = $(rhsemshuffle_LDLIBS)
|
||||
|
||||
rhsemshuffle$(EXEEXT): $(rhsemshuffle_OBJECTS) $(rhsemshuffle_DEPENDENCIES)
|
||||
@rm -f rhsemshuffle$(EXEEXT)
|
||||
$(make-exe)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
@@ -1,23 +0,0 @@
|
||||
MANAGERS = all
|
||||
|
||||
rtems_tests_PROGRAMS = rhtaskpreempt
|
||||
rhtaskpreempt_SOURCES = taskpreempt.c
|
||||
rhtaskpreempt_SOURCES += ../../tmtests/include/timesys.h
|
||||
|
||||
dist_rtems_tests_DATA = rhtaskpreempt.adoc
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
||||
|
||||
LINK_OBJS = $(rhtaskpreempt_OBJECTS) $(rhtaskpreempt_LDADD)
|
||||
LINK_LIBS = $(rhtaskpreempt_LDLIBS)
|
||||
|
||||
rhtaskpreempt$(EXEEXT): $(rhtaskpreempt_OBJECTS) $(rhtaskpreempt_DEPENDENCIES)
|
||||
@rm -f rhtaskpreempt$(EXEEXT)
|
||||
$(make-exe)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
@@ -1,23 +0,0 @@
|
||||
MANAGERS = all
|
||||
|
||||
rtems_tests_PROGRAMS = rhtaskswitch
|
||||
rhtaskswitch_SOURCES = taskswitch.c
|
||||
rhtaskswitch_SOURCES += ../../tmtests/include/timesys.h
|
||||
|
||||
dist_rtems_tests_DATA = rhtaskswitch.adoc
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../tmtests/include
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
||||
|
||||
LINK_OBJS = $(rhtaskswitch_OBJECTS) $(rhtaskswitch_LDADD)
|
||||
LINK_LIBS = $(rhtaskswitch_LDLIBS)
|
||||
|
||||
rhtaskswitch$(EXEEXT): $(rhtaskswitch_OBJECTS) $(rhtaskswitch_DEPENDENCIES)
|
||||
@rm -f rhtaskswitch$(EXEEXT)
|
||||
$(make-exe)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
Reference in New Issue
Block a user