source: rtems/c/src/exec/sapi/include/rtems/Makefile.in @ e810408

4.104.114.84.95
Last change on this file since e810408 was e810408, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 21:39:36

First cut at automatic insertion of version information.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11H_PIECES= config directives extension fatal init io mptables
12H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
13
14# H_FILES that get installed externally
15EXTERNAL_H_PIECES = confdefs
16EXTERNAL_H_FILES=$(EXTERNAL_H_PIECES:%=$(srcdir)/%.h)
17
18SRCS=$(H_FILES) $(EXTERNAL_H_FILES)
19
20include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
21include $(RTEMS_ROOT)/make/leaf.cfg
22
23#
24# Add your list of files to delete here.  The config files
25#  already know how to delete some stuff, so you may want
26#  to just run 'make clean' first to see what gets missed.
27#  'make clobber' already includes 'make clean'
28#
29
30CLEAN_ADDITIONS +=
31CLOBBER_ADDITIONS +=
32
33all:    $(SRCS) $(ARCH) $(PROJECT_INCLUDE)/rtems/score/sptables.h
34        $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/
35        $(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
Note: See TracBrowser for help on using the repository browser.