diff options
Diffstat (limited to 'testsuites/samples/iostream')
-rw-r--r-- | testsuites/samples/iostream/Makefile.am | 34 |
1 files changed, 7 insertions, 27 deletions
diff --git a/testsuites/samples/iostream/Makefile.am b/testsuites/samples/iostream/Makefile.am index b2d24fddec..3b18f6120a 100644 --- a/testsuites/samples/iostream/Makefile.am +++ b/testsuites/samples/iostream/Makefile.am @@ -9,43 +9,23 @@ MANAGERS = io noinst_LIBRARIES = lib.a lib_a_SOURCES = init.cc system.h -DOCS = iostream.doc iostream.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = iostream.scn +docdir = $(testsdir) +dist_doc_DATA = iostream.doc OBJS = $(lib_a_OBJECTS) - include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.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/iostream.exe: $(PGM) $(project_bspdir)/samples/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/iostream.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/iostream.exe -TMPINSTALL_FILES += $(project_bspdir)/samples/iostream.exe - $(PGM): ${ARCH}/$(dirstamp) +tests_SCRIPTS = $(PGM) -all-local: $(TMPINSTALL_FILES) - -${PGM}: $(OBJS) $(LINK_FILES) +$(PGM): $(OBJS) $(LINK_FILES) $(make-cxx-exe) -EXTRA_DIST = $(DOCS) - -CLEANFILES = $(TMPINSTALL_FILES) - include $(top_srcdir)/../automake/local.am |