diff options
Diffstat (limited to 'testsuites/tmtests/tm23')
-rw-r--r-- | testsuites/tmtests/tm23/Makefile.am | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/testsuites/tmtests/tm23/Makefile.am b/testsuites/tmtests/tm23/Makefile.am index b5fe2e5718..b5e1efcc3b 100644 --- a/testsuites/tmtests/tm23/Makefile.am +++ b/testsuites/tmtests/tm23/Makefile.am @@ -6,24 +6,23 @@ TEST = tm23 MANAGERS = io event timer -C_FILES = task1.c -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT)) +noinst_LIBRARIES = lib.a +lib_a_SOURCES = task1.c -H_FILES = system.h -noinst_HEADERS = $(H_FILES) +lib_a_SOURCES += system.h DOCTYPES = doc DOCS = $(DOCTYPES:%=$(TEST).%) -SRCS = $(DOCS) $(C_FILES) $(H_FILES) -OBJS = $(C_O_FILES) +SRCS = $(DOCS) +OBJS = $(lib_a_OBJECTS) PRINT_SRCS = $(DOCS) PGM = ${ARCH}/$(TEST).exe include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/compile.am +include $(top_srcdir)/../automake/amcompile.am include $(top_srcdir)/../automake/leaf.am include $(top_srcdir)/tmtests.am @@ -39,7 +38,7 @@ ${PGM}: $(OBJS) $(LINK_FILES) all-local: $(TMPINSTALL_FILES) -EXTRA_DIST = $(C_FILES) $(DOCS) +EXTRA_DIST = $(DOCS) CLEANFILES = $(TMPINSTALL_FILES) |