summaryrefslogtreecommitdiffstats
path: root/c/src/exec/sapi/headers/Makefile.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-02-17 21:39:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-02-17 21:39:36 +0000
commite810408ea72af2281e187286174c4fbaed7426ec (patch)
tree5f75989583d0d50a7d46515b72e485f0a71278e2 /c/src/exec/sapi/headers/Makefile.in
parentadded -Wno-unused to debug flags (diff)
downloadrtems-e810408ea72af2281e187286174c4fbaed7426ec.tar.bz2
First cut at automatic insertion of version information.
Diffstat (limited to 'c/src/exec/sapi/headers/Makefile.in')
-rw-r--r--c/src/exec/sapi/headers/Makefile.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/c/src/exec/sapi/headers/Makefile.in b/c/src/exec/sapi/headers/Makefile.in
index a8d70293a2..cbc9a76a0f 100644
--- a/c/src/exec/sapi/headers/Makefile.in
+++ b/c/src/exec/sapi/headers/Makefile.in
@@ -8,7 +8,7 @@ VPATH = @srcdir@
RTEMS_ROOT = @top_srcdir@
PROJECT_ROOT = @PROJECT_ROOT@
-H_PIECES= config directives extension fatal init io mptables sptables
+H_PIECES= config directives extension fatal init io mptables
H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
# H_FILES that get installed externally
@@ -30,6 +30,14 @@ include $(RTEMS_ROOT)/make/leaf.cfg
CLEAN_ADDITIONS +=
CLOBBER_ADDITIONS +=
-all: $(SRCS)
+all: $(SRCS) $(ARCH) $(PROJECT_INCLUDE)/rtems/score/sptables.h
$(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/
$(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
+
+$(PROJECT_INCLUDE)/rtems/score/sptables.h: $(ARCH)/sptables.h-tmp
+ $(INSTALL) -m 444 $(ARCH)/sptables.h-tmp $@
+
+$(ARCH)/sptables.h-tmp: $(ARCH) sptables.h
+ $(SED) -e 's?REPLACE_THIS_WITH_THE_BSP?$(RTEMS_BSP)?' \
+ < $< >$(ARCH)/sptables.h-tmp
+