source: rtems/c/src/lib/libbsp/i960/cvme961/wrapup/Makefile.am @ 8865bbf

4.104.114.84.95
Last change on this file since 8865bbf was 8865bbf, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/09/03 at 15:38:50

2003-12-09 Ralf Corsepius <corsepiu@…>

  • start/Makefile.am: Misc cleanups and fixes.
  • startup/Makefile.am: Misc cleanups and fixes.
  • wrapup/Makefile.am: Misc cleanups and fixes.
  • Property mode set to 100644
File size: 812 bytes
Line 
1##
2## $Id$
3##
4
5if HAS_MP
6GENERIC_MP_REL_FILES = shmdr
7endif
8GENERIC_FILES = $(GENERIC_MP_REL_FILES)
9
10if HAS_MP
11BSP_MP_O_FILES = shmsupp
12endif
13BSP_FILES = startup clock console timer $(BSP_MP_O_FILES)
14
15include $(top_srcdir)/../../../../automake/compile.am
16include $(top_srcdir)/../../../../automake/lib.am
17
18# bummer; have to use $foreach since % pattern subst rules only replace 1x
19OBJS = $(foreach piece, $(BSP_FILES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
20    $(wildcard \
21    ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
22    $(foreach piece, $(GENERIC_FILES), \
23    ../../../$(piece)/$(ARCH)/$(piece).rel)
24
25LIB = $(ARCH)/libbsp.a
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31$(LIB): ${OBJS}
32        $(make-library)
33
34all-local: $(LIB)
35
36include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.