4.104.114.84.95
Last change
on this file since 4a238002 was
e1d8abb,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/07/99 at 13:45:03
|
Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@…> which converted many
Makefile.in's to Makefile.am's. This added a lot of files.
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | top_builddir = ../.. |
---|
9 | subdir = i386/wrapup |
---|
10 | |
---|
11 | RTEMS_ROOT = @RTEMS_ROOT@ |
---|
12 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
13 | |
---|
14 | VPATH = @srcdir@ |
---|
15 | |
---|
16 | BSP_PIECES = startup clock console timer |
---|
17 | GENERIC_PIECES = |
---|
18 | |
---|
19 | # bummer; have to use $foreach since % pattern subst rules only replace 1x |
---|
20 | OBJS = ../$(ARCH)/libcpuspec.a |
---|
21 | LIB = $(ARCH)/libcpu.a |
---|
22 | |
---|
23 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
24 | include $(RTEMS_ROOT)/make/lib.cfg |
---|
25 | |
---|
26 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
---|
27 | |
---|
28 | # |
---|
29 | # (OPTIONAL) Add local stuff here using += |
---|
30 | # |
---|
31 | |
---|
32 | DEFINES += |
---|
33 | CPPFLAGS += |
---|
34 | CFLAGS += |
---|
35 | |
---|
36 | LD_PATHS += |
---|
37 | LD_LIBS += |
---|
38 | LDFLAGS += |
---|
39 | |
---|
40 | # |
---|
41 | # Add your list of files to delete here. The config files |
---|
42 | # already know how to delete some stuff, so you may want |
---|
43 | # to just run 'make clean' first to see what gets missed. |
---|
44 | # 'make clobber' already includes 'make clean' |
---|
45 | # |
---|
46 | |
---|
47 | CLEAN_ADDITIONS += |
---|
48 | CLOBBER_ADDITIONS += |
---|
49 | |
---|
50 | $(LIB): ${OBJS} |
---|
51 | @ list_of_o_files=""; \ |
---|
52 | for i in ${OBJS}; \ |
---|
53 | do \ |
---|
54 | DIRNAME=`dirname ${OBJS}` ; \ |
---|
55 | temp=`$(AR) t $$i`; \ |
---|
56 | echo $$temp ;\ |
---|
57 | echo $$DIRNAME ;\ |
---|
58 | for j in $$temp; \ |
---|
59 | do \ |
---|
60 | list_of_o_files="$$list_of_o_files $$DIRNAME/$$j"; \ |
---|
61 | done ;\ |
---|
62 | echo $$list_of_o_files ;\ |
---|
63 | done ;\ |
---|
64 | $(RM) $@ ;\ |
---|
65 | $(AR) $(ARFLAGS) $@ $$list_of_o_files ;\ |
---|
66 | $(RANLIB) $@ |
---|
67 | |
---|
68 | all: ${ARCH} $(SRCS) $(LIB) |
---|
69 | $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib |
---|
70 | |
---|
71 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
72 | cd $(top_builddir) \ |
---|
73 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
---|
Note: See
TracBrowser
for help on using the repository browser.