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

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