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

4.104.114.84.95
Last change on this file since a4aaccf was a4aaccf, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 06:25:44

2002-08-11 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am: Use .$(OBJEXT) instead of .o.
    • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • shmsupp/Makefile.am: Use .$(OBJEXT) instead of .o.
    • start/Makefile.am: Use .$(OBJEXT) instead of .o.
    • startup/Makefile.am: Use .$(OBJEXT) instead of .o.
    • timer/Makefile.am: Use .$(OBJEXT) instead of .o.
    • wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 888 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 $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
16include $(top_srcdir)/../../../../../../automake/compile.am
17include $(top_srcdir)/../../../../../../automake/lib.am
18
19# bummer; have to use $foreach since % pattern subst rules only replace 1x
20OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \
21    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/$(ARCH)/*.$(OBJEXT)) \
22    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
23
24LIB = $(ARCH)/libbsp.a
25
26#
27# (OPTIONAL) Add local stuff here using +=
28#
29
30$(LIB): ${OBJS}
31        $(make-library)
32
33all-local: ${ARCH} $(LIB)
34
35include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.