summaryrefslogtreecommitdiff
path: root/rtems-test-template
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-06-13 21:04:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-06-13 21:04:30 +0000
commit4b2ff222ea8038e9d669329b22701f7fcdbad942 (patch)
tree1a6ef5de6c167f9ce82a45af9a18e43f88403eac /rtems-test-template
parent500fd53e09a9880ba010a243d5687469bc005748 (diff)
2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* smptest/Makefile.am: New file.
Diffstat (limited to 'rtems-test-template')
-rw-r--r--rtems-test-template/ChangeLog4
-rw-r--r--rtems-test-template/smptest/Makefile.am26
2 files changed, 30 insertions, 0 deletions
diff --git a/rtems-test-template/ChangeLog b/rtems-test-template/ChangeLog
index e3885a6..f4b3e8f 100644
--- a/rtems-test-template/ChangeLog
+++ b/rtems-test-template/ChangeLog
@@ -1,5 +1,9 @@
2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * smptest/Makefile.am: New file.
+
+2011-06-13 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* psxtmtest_single/init.c: Fine tune a bit.
* smptest/TEST.doc, smptest/TEST.scn, smptest/init.c: New files.
diff --git a/rtems-test-template/smptest/Makefile.am b/rtems-test-template/smptest/Makefile.am
new file mode 100644
index 0000000..2b1fc2c
--- /dev/null
+++ b/rtems-test-template/smptest/Makefile.am
@@ -0,0 +1,26 @@
+##
+## $Id$
+##
+
+MANAGERS = all
+
+rtems_tests_PROGRAMS = @LOWER@
+@LOWER@_SOURCES = init.c
+
+dist_rtems_tests_DATA = @LOWER@.scn
+dist_rtems_tests_DATA += @LOWER@.doc
+
+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)/../support/include
+
+LINK_OBJS = $(@LOWER@_OBJECTS) $(@LOWER@_LDADD)
+LINK_LIBS = $(@LOWER@_LDLIBS)
+
+@LOWER@$(EXEEXT): $(@LOWER@_OBJECTS) $(@LOWER@_DEPENDENCIES)
+ @rm -f @LOWER@$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am