From 6e9ad6ced3264a314058cd241055f93f3ea80eb5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 23 Nov 1999 13:32:07 +0000 Subject: Patch rtems-rc-19991117-12.diff from Ralf Corsepius to convert the tmtests directory from Makefile.in to Makefile.am. --- c/src/tests/tmtests/tm14/Makefile.am | 45 ++++++++++++++++++++++ c/src/tests/tmtests/tm14/Makefile.in | 74 ------------------------------------ 2 files changed, 45 insertions(+), 74 deletions(-) create mode 100644 c/src/tests/tmtests/tm14/Makefile.am delete mode 100644 c/src/tests/tmtests/tm14/Makefile.in (limited to 'c/src/tests/tmtests/tm14') diff --git a/c/src/tests/tmtests/tm14/Makefile.am b/c/src/tests/tmtests/tm14/Makefile.am new file mode 100644 index 0000000000..2df922be77 --- /dev/null +++ b/c/src/tests/tmtests/tm14/Makefile.am @@ -0,0 +1,45 @@ +## +## $Id$ +## + +AUTOMAKE_OPTIONS = foreign 1.4 +TEST = tm14 + +MANAGERS = io message + +# C source names, if any, go here -- minus the .c +C_FILES = task1.c +C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) + +H_FILES = system.h +noinst_HEADERS =$(H_FILES) + +DOCTYPES = doc +DOCS = $(DOCTYPES:%=$(TEST).%) + +SRCS = $(DOCS) $(C_FILES) $(H_FILES) +OBJS = $(C_O_FILES) + +PRINT_SRCS = $(DOCS) + +PGM = ${ARCH}/$(TEST).exe + +include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg +include $(RTEMS_ROOT)/make/leaf.cfg +include $(top_srcdir)/tmtests.am + +# +# (OPTIONAL) Add local stuff here using += +# + +OPERATION_COUNT = @OPERATION_COUNT@ +AM_CPPFLAGS += -I$(top_srcdir)/include -DOPERATION_COUNT=$(OPERATION_COUNT) + +${PGM}: $(OBJS) $(LINK_FILES) + $(make-exe) + +all-local: $(ARCH) $(TMPINSTALL_FILES) + +EXTRA_DIST = $(C_FILES) $(DOCS) + +include $(top_srcdir)/../../../../automake/local.am diff --git a/c/src/tests/tmtests/tm14/Makefile.in b/c/src/tests/tmtests/tm14/Makefile.in deleted file mode 100644 index 3add509490..0000000000 --- a/c/src/tests/tmtests/tm14/Makefile.in +++ /dev/null @@ -1,74 +0,0 @@ -# -# $Id$ -# - -@SET_MAKE@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -subdir = tm14 - -RTEMS_ROOT = @RTEMS_ROOT@ -PROJECT_ROOT = @PROJECT_ROOT@ - -VPATH = @srcdir@ - -TEST = tm14 - -MANAGERS = io message - -# C source names, if any, go here -- minus the .c -C_PIECES = task1 -C_FILES = $(C_PIECES:%=%.c) -C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) - -H_FILES = system.h - -DOCTYPES = doc -DOCS = $(DOCTYPES:%=$(TEST).%) - -SRCS = $(DOCS) $(C_FILES) $(H_FILES) -OBJS = $(C_O_FILES) - -PRINT_SRCS = $(DOCS) - -PGM = ${ARCH}/$(TEST).exe - -include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(RTEMS_ROOT)/make/leaf.cfg - -INSTALL_CHANGE = @INSTALL_CHANGE@ -PACKHEX = @PACKHEX@ - -# -# (OPTIONAL) Add local stuff here using += -# - -OPERATION_COUNT = @OPERATION_COUNT@ -DEFINES += -CPPFLAGS += -I$(srcdir)/../include -DOPERATION_COUNT=$(OPERATION_COUNT) -CFLAGS += - -LD_PATHS += -LD_LIBS += -LDFLAGS += - -# -# Add your list of files to delete here. The config files -# already know how to delete some stuff, so you may want -# to just run 'make clean' first to see what gets missed. -# 'make clobber' already includes 'make clean' -# - -CLEAN_ADDITIONS += -CLOBBER_ADDITIONS += - -all: ${ARCH} $(SRCS) $(PGM) - @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests - -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status -- cgit v1.2.3