summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/tools/sh/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/score/tools/sh/Makefile.in')
-rw-r--r--c/src/exec/score/tools/sh/Makefile.in15
1 files changed, 12 insertions, 3 deletions
diff --git a/c/src/exec/score/tools/sh/Makefile.in b/c/src/exec/score/tools/sh/Makefile.in
index 75537ef4ca..93fe29cfcf 100644
--- a/c/src/exec/score/tools/sh/Makefile.in
+++ b/c/src/exec/score/tools/sh/Makefile.in
@@ -6,12 +6,17 @@
@SET_MAKE@
srcdir = @srcdir@
-VPATH = @srcdir@
-RTEMS_ROOT = @top_srcdir@
-PROJECT_ROOT = @PROJECT_ROOT@
+top_srcdir = @top_srcdir@
+top_builddir = ../../../../../..
+subdir = c/src/exec/score/tools/sh
INSTALL = @INSTALL@
+RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
+PROJECT_ROOT = @PROJECT_ROOT@
+
+VPATH = @srcdir@
+
# we use the host compiler here
USE_HOST_COMPILER=yes
@@ -62,3 +67,7 @@ $(DESTDIR):
# Install the program
install: $(DESTDIR) $(PGMS)
$(INSTALL) $(INSTBINFLAGS) ${PGMS} $(DESTDIR)
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status