diff options
Diffstat (limited to 'testsuites/libtests/malloctest/Makefile.am')
-rw-r--r-- | testsuites/libtests/malloctest/Makefile.am | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/testsuites/libtests/malloctest/Makefile.am b/testsuites/libtests/malloctest/Makefile.am index 6dfa369e6e..e539b38d2a 100644 --- a/testsuites/libtests/malloctest/Makefile.am +++ b/testsuites/libtests/malloctest/Makefile.am @@ -2,46 +2,30 @@ ## $Id$ ## - MANAGERS = io noinst_LIBRARIES = lib.a lib_a_SOURCES = init.c task1.c system.h -DOCS = malloctest.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = malloctest.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/malloctest.exe 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)/tests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests - @: > $(project_bspdir)/tests/$(dirstamp) - -$(project_bspdir)/tests/malloctest.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/malloctest.exe - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/../support/include -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) - -all-local: $(TMPINSTALL_FILES) +tests_SCRIPTS = $(PGM) -EXTRA_DIST = $(DOCS) - -CLEANFILES = $(TMPINSTALL_FILES) +$(PGM): $(OBJS) $(LINK_FILES) + $(make-exe) include $(top_srcdir)/../automake/local.am |