summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/optman/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/optman/Makefile.in')
-rw-r--r--c/src/exec/rtems/optman/Makefile.in15
1 files changed, 12 insertions, 3 deletions
diff --git a/c/src/exec/rtems/optman/Makefile.in b/c/src/exec/rtems/optman/Makefile.in
index d5276318d7..c1d2f067c5 100644
--- a/c/src/exec/rtems/optman/Makefile.in
+++ b/c/src/exec/rtems/optman/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/exec/rtems/optman
INSTALL = @INSTALL@
+RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
+PROJECT_ROOT = @PROJECT_ROOT@
+
+VPATH = @srcdir@
+
C_FILES= no-dpmem.c no-event.c no-msg.c no-mp.c \
no-part.c no-region.c no-rtmon.c no-sem.c no-signal.c no-timer.c
@@ -50,3 +55,7 @@ CLOBBER_ADDITIONS +=
all: ${ARCH} $(SRCS) $(OBJS) $(PGMS)
$(INSTALL_VARIANT) -m 555 ${PGMS} ${PROJECT_RELEASE}/lib
+
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ cd $(top_builddir) \
+ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status