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@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | VPATH = @srcdir@ |
---|
8 | RTEMS_ROOT = @top_srcdir@ |
---|
9 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
10 | |
---|
11 | H_PIECES= config directives extension fatal init io mptables |
---|
12 | H_FILES=$(H_PIECES:%=$(srcdir)/%.h) |
---|
13 | |
---|
14 | # H_FILES that get installed externally |
---|
15 | EXTERNAL_H_PIECES = confdefs |
---|
16 | EXTERNAL_H_FILES=$(EXTERNAL_H_PIECES:%=$(srcdir)/%.h) |
---|
17 | |
---|
18 | SRCS=$(H_FILES) $(EXTERNAL_H_FILES) |
---|
19 | |
---|
20 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
21 | include $(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 | |
---|
30 | CLEAN_ADDITIONS += |
---|
31 | CLOBBER_ADDITIONS += |
---|
32 | |
---|
33 | all: $(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.