source: rtems/c/src/lib/libbsp/m68k/sim68000/wrapup/Makefile.am @ 14b7d360

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

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