source: rtems/c/src/lib/libbsp/m68k/mvme136/wrapup/Makefile.am @ 4d5d97b

4.104.114.84.95
Last change on this file since 4d5d97b was 4d5d97b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/10/03 at 12:37:33

2003-12-10 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: 803 bytes
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/../../../../automake/compile.am
6include $(top_srcdir)/../../../../automake/lib.am
7
8if HAS_MP
9GENERIC_MP_REL_PIECES = shmdr
10endif
11GENERIC_PIECES = $(GENERIC_MP_REL_PIECES)
12
13if HAS_MP
14BSP_MP_O_PIECES = shmsupp
15endif
16BSP_PIECES = startup clock console timer $(BSP_MP_O_PIECES)
17
18# bummer; have to use $foreach since % pattern subst rules only replace 1x
19OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
20    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \
21    $(foreach piece, $(GENERIC_PIECES), \
22    ../../../$(piece)/$(ARCH)/$(piece).rel)
23LIB = $(ARCH)/libbsp.a
24
25#
26# (OPTIONAL) Add local stuff here using +=
27#
28
29$(LIB): $(OBJS)
30        $(make-library)
31
32all-local: $(LIB)
33
34include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.