Changeset e810408 in rtems


Ignore:
Timestamp:
Feb 17, 1998, 9:39:36 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
70a88c3
Parents:
5d1ea96
Message:

First cut at automatic insertion of version information.

Location:
c/src/exec/sapi
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/sapi/headers/Makefile.in

    r5d1ea96 re810408  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 H_PIECES= config directives extension fatal init io mptables sptables
     11H_PIECES= config directives extension fatal init io mptables
    1212H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
    1313
     
    3131CLOBBER_ADDITIONS +=
    3232
    33 all:    $(SRCS)
     33all:    $(SRCS) $(ARCH) $(PROJECT_INCLUDE)/rtems/score/sptables.h
    3434        $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/
    3535        $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
     36
     37$(PROJECT_INCLUDE)/rtems/score/sptables.h: $(ARCH)/sptables.h-tmp
     38        $(INSTALL) -m 444 $(ARCH)/sptables.h-tmp $@
     39
     40$(ARCH)/sptables.h-tmp: $(ARCH) sptables.h
     41        $(SED) -e 's?REPLACE_THIS_WITH_THE_BSP?$(RTEMS_BSP)?' \
     42            < $< >$(ARCH)/sptables.h-tmp
     43
  • c/src/exec/sapi/headers/sptables.h

    r5d1ea96 re810408  
    6262 */
    6363
     64#define RTEMS_VERSION "980204"
     65
    6466const char _RTEMS_version[] =
    65   "RTEMS RELEASE V4.1.0 (" CPU_NAME "/" CPU_MODEL_NAME ")";
     67  "RTEMS RELEASE " RTEMS_VERSION
     68     "(" CPU_NAME "/" CPU_MODEL_NAME "/REPLACE_THIS_WITH_THE_BSP)";
    6669
    6770
  • c/src/exec/sapi/include/rtems/Makefile.in

    r5d1ea96 re810408  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 H_PIECES= config directives extension fatal init io mptables sptables
     11H_PIECES= config directives extension fatal init io mptables
    1212H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
    1313
     
    3131CLOBBER_ADDITIONS +=
    3232
    33 all:    $(SRCS)
     33all:    $(SRCS) $(ARCH) $(PROJECT_INCLUDE)/rtems/score/sptables.h
    3434        $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/
    3535        $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
     36
     37$(PROJECT_INCLUDE)/rtems/score/sptables.h: $(ARCH)/sptables.h-tmp
     38        $(INSTALL) -m 444 $(ARCH)/sptables.h-tmp $@
     39
     40$(ARCH)/sptables.h-tmp: $(ARCH) sptables.h
     41        $(SED) -e 's?REPLACE_THIS_WITH_THE_BSP?$(RTEMS_BSP)?' \
     42            < $< >$(ARCH)/sptables.h-tmp
     43
  • c/src/exec/sapi/include/rtems/sptables.h

    r5d1ea96 re810408  
    6262 */
    6363
     64#define RTEMS_VERSION "980204"
     65
    6466const char _RTEMS_version[] =
    65   "RTEMS RELEASE V4.1.0 (" CPU_NAME "/" CPU_MODEL_NAME ")";
     67  "RTEMS RELEASE " RTEMS_VERSION
     68     "(" CPU_NAME "/" CPU_MODEL_NAME "/REPLACE_THIS_WITH_THE_BSP)";
    6669
    6770
Note: See TracChangeset for help on using the changeset viewer.