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