summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/i386/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/i386/Makefile.in')
-rw-r--r--c/src/lib/libcpu/i386/Makefile.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/i386/Makefile.in b/c/src/lib/libcpu/i386/Makefile.in
index a4fa7e9f05..becc038bb0 100644
--- a/c/src/lib/libcpu/i386/Makefile.in
+++ b/c/src/lib/libcpu/i386/Makefile.in
@@ -4,12 +4,16 @@
@SET_MAKE@
srcdir = @srcdir@
-VPATH = @srcdir@
-RTEMS_ROOT = @top_srcdir@
-PROJECT_ROOT = @PROJECT_ROOT@
+top_srcdir = @top_srcdir@
+top_builddir = ../../../../..
+subdir = c/src/lib/libcpu/i386
INSTALL = @INSTALL@
+RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
+PROJECT_ROOT = @PROJECT_ROOT@
+
+VPATH = @srcdir@
# C source names, if any, go here -- minus the .c
C_PIECES=cpu displayCpu page
@@ -65,3 +69,7 @@ all: ${ARCH} $(SRCS) preinstall $(OBJ) $(LIB)
# the .rel file built here will be put into libcpu.a by ../wrapup/Makefile
install: all
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status