4.104.114.84.95
Last change
on this file since 5fa14794 was
5fa14794,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/00 at 14:31:16
|
Patch rtems-rc-20000104-11.diff from Ralf Corsepius <corsepiu@…>
that converts the i386 directory to automake.
NOTE: Ralf is unable to build any i386 BSPs. This was true before and
after this patch and appears (to Joel) to be a tool issue unrelated since
others can build i386 BSPs.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | top_builddir = .. |
---|
9 | subdir = wrapup |
---|
10 | |
---|
11 | RTEMS_ROOT = @RTEMS_ROOT@ |
---|
12 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
13 | |
---|
14 | VPATH = @srcdir@ |
---|
15 | |
---|
16 | BSP_PIECES = startup clock console timer $(NETWORK) |
---|
17 | GENERIC_PIECES = |
---|
18 | |
---|
19 | # We only build the Network library if HAS_NETWORKING was defined |
---|
20 | NETWORK_yes_V = network |
---|
21 | NETWORK = $(NETWORK_$(HAS_NETWORKING)_V) |
---|
22 | |
---|
23 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
24 | OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ |
---|
25 | $(foreach piece, $(GENERIC_PIECES), \ |
---|
26 | ../../../$(piece)/$(ARCH)/$(piece).rel) |
---|
27 | LIB = $(ARCH)/libbsp.a |
---|
28 | |
---|
29 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
30 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
31 | |
---|
32 | INSTALL = @INSTALL@ |
---|
33 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
---|
34 | |
---|
35 | # |
---|
36 | # (OPTIONAL) Add local stuff here using += |
---|
37 | # |
---|
38 | |
---|
39 | DEFINES += |
---|
40 | CPPFLAGS += |
---|
41 | CFLAGS += |
---|
42 | |
---|
43 | LD_PATHS += |
---|
44 | LD_LIBS += |
---|
45 | LDFLAGS += |
---|
46 | |
---|
47 | # |
---|
48 | # Add your list of files to delete here. The config files |
---|
49 | # already know how to delete some stuff, so you may want |
---|
50 | # to just run 'make clean' first to see what gets missed. |
---|
51 | # 'make clobber' already includes 'make clean' |
---|
52 | # |
---|
53 | |
---|
54 | CLEAN_ADDITIONS += |
---|
55 | CLOBBER_ADDITIONS += |
---|
56 | |
---|
57 | $(LIB): ${OBJS} |
---|
58 | $(make-library) |
---|
59 | |
---|
60 | all: ${ARCH} $(SRCS) $(LIB) |
---|
61 | $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib |
---|
62 | |
---|
63 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
64 | cd $(top_builddir) \ |
---|
65 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
---|
Note: See
TracBrowser
for help on using the repository browser.