source: rtems/c/src/lib/libbsp/unix/posix/wrapup/Makefile.am @ 14fb972

4.104.114.84.95
Last change on this file since 14fb972 was ad5c7fe, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/10/02 at 12:08:14

2002-12-10 Ralf Corsepius <corsepiu@…>

  • wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • Property mode set to 100644
File size: 788 bytes
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/../../../../../../automake/compile.am
6include $(top_srcdir)/../../../../../../automake/lib.am
7
8if HAS_MP
9BSP_MP_O_FILES = shmsupp
10endif
11BSP_FILES = startup clock console timer $(BSP_MP_O_FILES)
12
13# pieces to pick up out of libcpu/unix
14
15if HAS_MP
16GENERIC_MP_REL_FILES = shmdr
17endif
18GENERIC_FILES = $(GENERIC_MP_REL_FILES)
19
20# bummer; have to use $foreach since % pattern subst rules only replace 1x
21OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \
22    $(foreach piece, $(GENERIC_FILES), ../../../$(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: $(ARCH) $(LIB)
33
34include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.