source: rtems/c/src/lib/libbsp/i960/cvme961/wrapup/Makefile.in @ 59909bf

4.104.114.84.95
Last change on this file since 59909bf was 59909bf, checked in by Joel Sherrill <joel.sherrill@…>, on 01/10/00 at 14:09:12

Patch rtems-rc-20000104-6.diff from Ralf Corsepius <corsepiu@…>
that converts the i960 directory to automake.

The same kind of libbsp configuration as for the mips64orion, now for
the i960.

In addition to libbsp configuration this patch also contains two fixes
for cvme961.cfg and rxgen960.cfg, which contained non-functional
make-exes. (Now both bsps probably have the same issues with linking c++
applications as the gensh2 has, but this is a different open issue not
tried to be solved now).

The rxgen961 also seems to have problems with its start file, because
linking apps fails due to not finding start.o. (Note that
libbsp/i960/rxgen960 lacks a start subdirectory!). I leave solving this
issue to you :)

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[254b4450]1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
[d8ff793]7top_srcdir = @top_srcdir@
[59909bf]8top_builddir = ..
9subdir = wrapup
[254b4450]10
[6693a68]11RTEMS_ROOT = @RTEMS_ROOT@
[d8ff793]12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
[6693a68]16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
[0162910]17include $(RTEMS_ROOT)/make/lib.cfg
18
[6693a68]19INSTALL = @INSTALL@
20INSTALL_CHANGE = @INSTALL_CHANGE@
21
[1896a650]22BSP_PIECES = startup clock console timer
23GENERIC_PIECES =
24
[6693a68]25GENERIC_MP_REL_PIECES_yes_V = shmdr
26GENERIC_MP_REL_PIECES_no_V =
27GENERIC_PIECES += $(GENERIC_MP_REL_PIECES_$(HAS_MP)_V)
28
29BSP_MP_O_PIECES_yes_V = shmsupp
30BSP_MP_O_PIECES_no_V =
31BSP_PIECES += $(BSP_MP_O_PIECES_$(HAS_MP)_V)
[254b4450]32
33# bummer; have to use $foreach since % pattern subst rules only replace 1x
[6693a68]34OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
35    $(foreach piece, $(GENERIC_PIECES), \
36    ../../../$(piece)/$(ARCH)/$(piece).rel)
37LIB = $(ARCH)/libbsp.a
[254b4450]38
39#
40# (OPTIONAL) Add local stuff here using +=
41#
42
[6693a68]43DEFINES +=
[254b4450]44CPPFLAGS +=
[6693a68]45CFLAGS +=
[254b4450]46
[6693a68]47LD_PATHS +=
48LD_LIBS +=
49LDFLAGS +=
[254b4450]50
51#
52# Add your list of files to delete here.  The config files
53#  already know how to delete some stuff, so you may want
54#  to just run 'make clean' first to see what gets missed.
55#  'make clobber' already includes 'make clean'
56#
57
58CLEAN_ADDITIONS +=
59CLOBBER_ADDITIONS +=
60
61$(LIB): ${OBJS}
62        $(make-library)
63
[6693a68]64all: ${ARCH} $(SRCS) $(LIB)
65        $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
[254b4450]66
[08b5f55]67Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
[d8ff793]68        cd $(top_builddir) \
69         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.