summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spwatchdog/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/spwatchdog/Makefile.am')
-rw-r--r--testsuites/sptests/spwatchdog/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/testsuites/sptests/spwatchdog/Makefile.am b/testsuites/sptests/spwatchdog/Makefile.am
new file mode 100644
index 0000000000..ca389bc7c8
--- /dev/null
+++ b/testsuites/sptests/spwatchdog/Makefile.am
@@ -0,0 +1,27 @@
+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = spwatchdog.exe
+spwatchdog_exe_SOURCES = init.c task1.c system.h prtime.c delay.c
+
+dist_rtems_tests_DATA = spwatchdog.scn
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+spwatchdog_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)
+
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+
+LINK_OBJS = $(spwatchdog_exe_OBJECTS) $(spwatchdog_exe_LDADD)
+LINK_LIBS = $(spwatchdog_exe_LDLIBS)
+
+spwatchdog.exe$(EXEEXT): $(spwatchdog_exe_OBJECTS) $(spwatchdog_exe_DEPENDENCIES)
+ @rm -f spwatchdog.exe$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am