summaryrefslogtreecommitdiffstats
path: root/c/src/tests/samples
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-23 14:10:05 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-23 14:10:05 +0000
commit23e3f642e4f0753029b4bd4d444cd94b8f4bb4c6 (patch)
treee514d60d91bdb207f0ef720199ef8d1e21e80ca5 /c/src/tests/samples
parentMiscellaneous patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-23e3f642e4f0753029b4bd4d444cd94b8f4bb4c6.tar.bz2
Missed in previous automake conversion patches from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>.
Diffstat (limited to 'c/src/tests/samples')
-rw-r--r--c/src/tests/samples/sample.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/c/src/tests/samples/sample.am b/c/src/tests/samples/sample.am
new file mode 100644
index 0000000000..a294dcc949
--- /dev/null
+++ b/c/src/tests/samples/sample.am
@@ -0,0 +1,18 @@
+project_bspdir=$(PROJECT_ROOT)/@RTEMS_BSP@
+
+$(project_bspdir)/samples:
+ @$(mkinstalldirs) $@
+$(project_bspdir)/tests:
+ @$(mkinstalldirs) $@
+
+$(project_bspdir)/samples/$(SAMPLE)$(LIB_VARIANT).exe: $(PGM)
+ $(INSTALL_PROGRAM) $< $@
+
+$(project_bspdir)/tests/$(SAMPLE)$(LIB_VARIANT).exe: $(PGM)
+ $(INSTALL_PROGRAM) $< $@
+
+TMPINSTALL_FILES += \
+$(project_bspdir)/tests \
+$(project_bspdir)/tests/$(SAMPLE)$(LIB_VARIANT).exe \
+$(project_bspdir)/samples \
+$(project_bspdir)/samples/$(SAMPLE)$(LIB_VARIANT).exe