diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-11 07:36:47 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-11-11 07:36:47 +0000 |
commit | b669ec7ba530a2b66cfd6e2ea0bd4ec3011dcd2d (patch) | |
tree | 4227c88bc335134e65e85e38be3b81575260099a /testsuites/samples/hello/Makefile.am | |
parent | 2005-11-11 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-b669ec7ba530a2b66cfd6e2ea0bd4ec3011dcd2d.tar.bz2 |
Expand sample.am.
Diffstat (limited to '')
-rw-r--r-- | testsuites/samples/hello/Makefile.am | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/testsuites/samples/hello/Makefile.am b/testsuites/samples/hello/Makefile.am index b6d07c6464..ffc86c89a2 100644 --- a/testsuites/samples/hello/Makefile.am +++ b/testsuites/samples/hello/Makefile.am @@ -18,7 +18,26 @@ OBJS = $(lib_a_OBJECTS) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am -include $(top_srcdir)/sample.am + +project_bspdir=$(PROJECT_ROOT) + +$(project_bspdir)/samples/$(dirstamp): + @$(mkdir_p) $(project_bspdir)/samples + @: > $(project_bspdir)/samples/$(dirstamp) +$(project_bspdir)/tests/$(dirstamp): + @$(mkdir_p) $(project_bspdir)/tests + @: > $(project_bspdir)/tests/$(dirstamp) + +$(project_bspdir)/samples/$(TEST).exe: $(PGM) $(project_bspdir)/samples/$(dirstamp) + $(INSTALL_PROGRAM) $< $@ + +$(project_bspdir)/tests/$(TEST).exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) + $(INSTALL_PROGRAM) $< $@ + +TMPINSTALL_FILES = $(project_bspdir)/tests/$(TEST).exe +TMPINSTALL_FILES += $(project_bspdir)/samples/$(TEST).exe + +$(PGM): ${ARCH}/$(dirstamp) # # (OPTIONAL) Add local stuff here using += |