source: rtems/c/src/lib/libbsp/m68k/gen68302/wrapup/Makefile.am @ 2762e39a

4.104.114.84.95
Last change on this file since 2762e39a was 2762e39a, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 11, 2002 at 6:38:38 AM

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

  • clock/Makefile.am: Use .$(OBJEXT) instead of .o.
    • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • network/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: 810 bytes
Line 
1##
2## $Id$
3##
4
5# We only build the networking device driver if HAS_NETWORKING was defined
6if HAS_NETWORKING
7NETWORKING_DRIVER = network
8endif
9
10BSP_PIECES = startup clock console timer $(NETWORKING_DRIVER)
11
12# bummer; have to use $foreach since % pattern subst rules only replace 1x
13OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \
14    $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/misc/$(ARCH)/memcpy.$(OBJEXT))
15LIB = $(ARCH)/libbsp.a
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../../../../automake/compile.am
19include $(top_srcdir)/../../../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25$(LIB): $(OBJS)
26        $(make-library)
27
28all-local: $(ARCH) $(LIB)
29
30include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.