source:
rtems/c/src/lib/libcpu/i386/wrapup/Makefile.in
@
4a238002
Last change on this file since 4a238002 was e1d8abb, checked in by Joel Sherrill <joel.sherrill@…>, on 09/07/99 at 13:45:03 | |
---|---|
|
|
File size: 1.5 KB |
Rev | Line | |
---|---|---|
[67a2288] | 1 | # |
2 | # $Id$ | |
3 | # | |
4 | ||
5 | @SET_MAKE@ | |
6 | srcdir = @srcdir@ | |
[d8ff793] | 7 | top_srcdir = @top_srcdir@ |
[e1d8abb] | 8 | top_builddir = ../.. |
9 | subdir = i386/wrapup | |
[67a2288] | 10 | |
[6693a68] | 11 | RTEMS_ROOT = @RTEMS_ROOT@ |
[d8ff793] | 12 | PROJECT_ROOT = @PROJECT_ROOT@ |
13 | ||
14 | VPATH = @srcdir@ | |
15 | ||
[6693a68] | 16 | BSP_PIECES = startup clock console timer |
17 | GENERIC_PIECES = | |
[67a2288] | 18 | |
19 | # bummer; have to use $foreach since % pattern subst rules only replace 1x | |
[6693a68] | 20 | OBJS = ../$(ARCH)/libcpuspec.a |
21 | LIB = $(ARCH)/libcpu.a | |
[67a2288] | 22 | |
[6693a68] | 23 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
[67a2288] | 24 | include $(RTEMS_ROOT)/make/lib.cfg |
25 | ||
[6693a68] | 26 | INSTALL_CHANGE = @INSTALL_CHANGE@ |
27 | ||
[67a2288] | 28 | # |
29 | # (OPTIONAL) Add local stuff here using += | |
30 | # | |
31 | ||
[6693a68] | 32 | DEFINES += |
[67a2288] | 33 | CPPFLAGS += |
[6693a68] | 34 | CFLAGS += |
[67a2288] | 35 | |
[6693a68] | 36 | LD_PATHS += |
37 | LD_LIBS += | |
38 | LDFLAGS += | |
[67a2288] | 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} | |
[bd8c8b2a] | 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 ;\ | |
[6693a68] | 66 | $(RANLIB) $@ |
[67a2288] | 67 | |
[6693a68] | 68 | all: ${ARCH} $(SRCS) $(LIB) |
69 | $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib | |
[d8ff793] | 70 | |
[08b5f55] | 71 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
[d8ff793] | 72 | cd $(top_builddir) \ |
73 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
Note: See TracBrowser
for help on using the repository browser.