summaryrefslogtreecommitdiffstats
path: root/c/src/tests/tmtests/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/tests/tmtests/Makefile.in15
1 files changed, 12 insertions, 3 deletions
diff --git a/c/src/tests/tmtests/Makefile.in b/c/src/tests/tmtests/Makefile.in
index 7d3a1c8055..d90c3736ba 100644
--- a/c/src/tests/tmtests/Makefile.in
+++ b/c/src/tests/tmtests/Makefile.in
@@ -4,12 +4,17 @@
@SET_MAKE@
srcdir = @srcdir@
-VPATH = @srcdir@
-RTEMS_ROOT = @top_srcdir@
-PROJECT_ROOT = @PROJECT_ROOT@
+top_srcdir = @top_srcdir@
+top_builddir = ../../../..
+subdir = c/src/tests/tmtests
INSTALL = @INSTALL@
+RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
+PROJECT_ROOT = @PROJECT_ROOT@
+
+VPATH = @srcdir@
+
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
include $(RTEMS_ROOT)/make/directory.cfg
@@ -20,3 +25,7 @@ SUB_DIRS=include \
tm01 tm02 tm03 tm04 tm05 tm06 tm07 tm08 tm09 \
tm10 tm11 tm12 tm13 tm14 tm15 tm16 tm17 tm18 tm19 \
tm20 tm21 tm22 tm23 tm24 tm25 tm26 tm27 tm28 tm29
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status