4.104.114.84.95
Last change
on this file since 28861e8d was
28861e8d,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/01/99 at 22:05:10
|
Remove mkdir command. It should be at the top level of the tree.
|
-
Property mode set to
100644
|
File size:
1.3 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 | INSTALL = @INSTALL@ |
---|
12 | |
---|
13 | PGM=${ARCH}/exceptions.rel |
---|
14 | |
---|
15 | # C source names, if any, go here -- minus the .c |
---|
16 | C_PIECES=raw_exception |
---|
17 | C_FILES=$(C_PIECES:%=%.c) |
---|
18 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
19 | |
---|
20 | H_FILES=$(wildcard $(srcdir)/*.h) |
---|
21 | |
---|
22 | # Assembly source names, if any, go here -- minus the .S |
---|
23 | S_PIECES=asm_utils |
---|
24 | S_FILES=$(S_PIECES:%=%.S) |
---|
25 | S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) |
---|
26 | |
---|
27 | SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) |
---|
28 | OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) |
---|
29 | |
---|
30 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
31 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
32 | |
---|
33 | |
---|
34 | # |
---|
35 | # (OPTIONAL) Add local stuff here using += |
---|
36 | # |
---|
37 | |
---|
38 | DEFINES += |
---|
39 | CPPFLAGS += |
---|
40 | CFLAGS += |
---|
41 | |
---|
42 | LD_PATHS += |
---|
43 | LD_LIBS += |
---|
44 | LDFLAGS += |
---|
45 | |
---|
46 | # |
---|
47 | # Add your list of files to delete here. The config files |
---|
48 | # already know how to delete some stuff, so you may want |
---|
49 | # to just run 'make clean' first to see what gets missed. |
---|
50 | # 'make clobber' already includes 'make clean' |
---|
51 | # |
---|
52 | |
---|
53 | CLEAN_ADDITIONS += |
---|
54 | CLOBBER_ADDITIONS += |
---|
55 | |
---|
56 | ${PGM}: ${SRCS} ${OBJS} |
---|
57 | $(make-rel) |
---|
58 | |
---|
59 | preinstall: |
---|
60 | $(INSTALL_CHANGE) -m 444 $(H_FILES) $(PROJECT_INCLUDE)/libcpu |
---|
61 | |
---|
62 | all: ${ARCH} $(SRCS) preinstall $(PGM) |
---|
63 | |
---|
64 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
65 | install: all |
---|
Note: See
TracBrowser
for help on using the repository browser.