source: rtems/c/src/lib/libbsp/i386/pc386/wrapup/Makefile.am @ 50b3fcf

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

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

  • Makefile.am: Misc cleanups and fixes.
  • 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: 724 bytes
Line 
1##
2## $Id$
3##
4
5# We only build the Network library if HAS_NETWORKING was defined
6# dec21140 is supported via libchip
7if HAS_NETWORKING
8NETWORK = ne2000 wd8003 3c509
9endif
10
11BSP_FILES = startup clock console timer $(NETWORK) ide
12
13# bummer; have to use $foreach since % pattern subst rules only replace 1x
14OBJS = $(foreach piece, $(BSP_FILES), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
15    $(wildcard \
16    ../../../../libcpu/i386/$(ARCH)/*.$(OBJEXT))
17LIB = $(ARCH)/libbsp.a
18
19include $(top_srcdir)/../../../../automake/compile.am
20include $(top_srcdir)/../../../../automake/lib.am
21
22#
23# (OPTIONAL) Add local stuff here using +=
24#
25
26$(LIB): $(OBJS)
27        $(make-library)
28
29all-local: $(LIB)
30
31include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.