4.104.114.84.95
Last change
on this file since 0162910 was
0162910,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/14/98 at 23:15:38
|
Patch from Ralf Corsepius <corsepiu@…> to rename all
.s files to .S in conformance with GNU conventions. This is a
minor step along the way to supporting automake.
|
-
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 | BSP_PIECES=startup clock console timer |
---|
12 | GENERIC_PIECES= |
---|
13 | |
---|
14 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
15 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
16 | |
---|
17 | ifeq ($(HAS_MP),yes) |
---|
18 | GENERIC_PIECES += shmdr |
---|
19 | BSP_PIECES += shmsupp |
---|
20 | endif |
---|
21 | |
---|
22 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
23 | OBJS=$(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \ |
---|
24 | $(foreach piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel) |
---|
25 | LIB=$(ARCH)/libbsp.a |
---|
26 | |
---|
27 | # |
---|
28 | # (OPTIONAL) Add local stuff here using += |
---|
29 | # |
---|
30 | |
---|
31 | DEFINES += |
---|
32 | CPPFLAGS += |
---|
33 | CFLAGS += |
---|
34 | |
---|
35 | LD_PATHS += |
---|
36 | LD_LIBS += |
---|
37 | LDFLAGS += |
---|
38 | |
---|
39 | # |
---|
40 | # Add your list of files to delete here. The config files |
---|
41 | # already know how to delete some stuff, so you may want |
---|
42 | # to just run 'make clean' first to see what gets missed. |
---|
43 | # 'make clobber' already includes 'make clean' |
---|
44 | # |
---|
45 | |
---|
46 | CLEAN_ADDITIONS += |
---|
47 | CLOBBER_ADDITIONS += |
---|
48 | |
---|
49 | $(LIB): ${OBJS} |
---|
50 | $(make-library) |
---|
51 | |
---|
52 | all: ${ARCH} $(SRCS) $(LIB) |
---|
53 | $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib |
---|
54 | |
---|
55 | install: all |
---|
56 | |
---|
Note: See
TracBrowser
for help on using the repository browser.