4.104.114.84.95
Last change
on this file since 2a6a029f was
e7792b25,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/01/99 at 22:07:32
|
Cleaned up to behave properly -- does not make a directory in the
install tree and does not "cd wrapup."
|
-
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 | |
---|
12 | # C source names, if any, go here -- minus the .c |
---|
13 | C_PIECES= |
---|
14 | C_FILES=$(C_PIECES:%=%.c) |
---|
15 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
16 | |
---|
17 | H_FILES=$(srcdir)/cpu.h $(srcdir)/spr.h $(srcdir)/io.h $(srcdir)/mmu.h $(srcdir)/page.h $(srcdir)/byteorder.h $(srcdir)/pgtable.h $(srcdir)/processor.h |
---|
18 | |
---|
19 | # Assembly source names, if any, go here -- minus the .s |
---|
20 | S_PIECES= |
---|
21 | S_FILES=$(S_PIECES:%=%.S) |
---|
22 | S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) |
---|
23 | |
---|
24 | SRCS=$(C_FILES) $(H_FILES) |
---|
25 | OBJS=$(C_O_FILES) $(S_O_FILES) |
---|
26 | |
---|
27 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
28 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
29 | |
---|
30 | LIB=${ARCH}/libcpuspec.a |
---|
31 | |
---|
32 | # |
---|
33 | # (OPTIONAL) Add local stuff here using += |
---|
34 | # |
---|
35 | |
---|
36 | DEFINES += |
---|
37 | CPPFLAGS += |
---|
38 | CFLAGS += |
---|
39 | |
---|
40 | LD_PATHS += |
---|
41 | LD_LIBS += |
---|
42 | LDFLAGS += |
---|
43 | |
---|
44 | # |
---|
45 | # Add your list of files to delete here. The config files |
---|
46 | # already know how to delete some stuff, so you may want |
---|
47 | # to just run 'make clean' first to see what gets missed. |
---|
48 | # 'make clobber' already includes 'make clean' |
---|
49 | # |
---|
50 | |
---|
51 | CLEAN_ADDITIONS += |
---|
52 | CLOBBER_ADDITIONS += |
---|
53 | |
---|
54 | ${LIB}: ${SRCS} ${OBJS} |
---|
55 | $(make-library) |
---|
56 | |
---|
57 | preinstall : |
---|
58 | $(INSTALL_CHANGE) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/libcpu |
---|
59 | |
---|
60 | all: ${ARCH} $(SRCS) preinstall $(OBJ) $(LIB) |
---|
61 | # cd wrapup; $(MAKE) |
---|
62 | |
---|
63 | # the .rel file built here will be put into libcpu.a by ../wrapup/Makefile |
---|
64 | install: all |
---|
Note: See
TracBrowser
for help on using the repository browser.