source: rtems/c/src/lib/libcpu/i386/wrapup/Makefile.in @ a24c280

4.104.114.84.95
Last change on this file since a24c280 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@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../..
9subdir = i386/wrapup
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16BSP_PIECES = startup clock console timer
17GENERIC_PIECES =
18
19# bummer; have to use $foreach since % pattern subst rules only replace 1x
20OBJS = ../$(ARCH)/libcpuspec.a
21LIB = $(ARCH)/libcpu.a
22
23include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
24include $(RTEMS_ROOT)/make/lib.cfg
25
26INSTALL_CHANGE = @INSTALL_CHANGE@
27
28#
29# (OPTIONAL) Add local stuff here using +=
30#
31
32DEFINES +=
33CPPFLAGS +=
34CFLAGS +=
35
36LD_PATHS +=
37LD_LIBS +=
38LDFLAGS +=
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
47CLEAN_ADDITIONS +=
48CLOBBER_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
68all: ${ARCH} $(SRCS) $(LIB)
69        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
70
71Makefile: $(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.