summaryrefslogtreecommitdiffstats
path: root/testsuites/tmitrontests
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-11-07 08:37:18 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-11-07 08:37:18 +0000
commit91de254961a733dea87530a3fbe5ecaf690ec8b8 (patch)
treef653f651e6dc218ed1f71fb0947ba52a7016a6cc /testsuites/tmitrontests
parentb8056785eba53e1db2f58133a9a0ce88ea1848d8 (diff)
downloadrtems-91de254961a733dea87530a3fbe5ecaf690ec8b8.tar.bz2
Partial conversion to automake.
Diffstat (limited to 'testsuites/tmitrontests')
-rw-r--r--testsuites/tmitrontests/tmitronsem01/Makefile.am15
1 files changed, 6 insertions, 9 deletions
diff --git a/testsuites/tmitrontests/tmitronsem01/Makefile.am b/testsuites/tmitrontests/tmitronsem01/Makefile.am
index 087d0b6369..8acc657ece 100644
--- a/testsuites/tmitrontests/tmitronsem01/Makefile.am
+++ b/testsuites/tmitrontests/tmitronsem01/Makefile.am
@@ -6,24 +6,21 @@ TEST = tmitronsem01
MANAGERS = all
-C_FILES = init.c
-C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
-
-H_FILES = system.h
-noinst_HEADERS = $(H_FILES)
+noinst_LIBRARIES = lib.a
+lib_a_SOURCES = init.c 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)/tmitrontests.am
@@ -39,7 +36,7 @@ ${PGM}: $(OBJS) $(LINK_FILES)
all-local: $(TMPINSTALL_FILES)
-EXTRA_DIST = $(C_FILES) $(DOCS)
+EXTRA_DIST = $(DOCS)
CLEANFILES = $(TMPINSTALL_FILES)