source: rtems/c/src/lib/libbsp/unix/posix/wrapup/Makefile.am @ 036b9e2

4.104.114.84.95
Last change on this file since 036b9e2 was 036b9e2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/11/03 at 06:16:52

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

  • startup/Makefile.am: Misc cleanups and fixes.
  • wrapup/Makefile.am: Misc cleanups and fixes.
  • Property mode set to 100644
File size: 756 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), ../$(piece)/$(ARCH)/*.$(OBJEXT)) \
22    $(foreach piece, $(GENERIC_FILES), \
23    ../../../$(piece)/$(ARCH)/$(piece).rel)
24LIB = $(ARCH)/libbsp.a
25
26#
27# (OPTIONAL) Add local stuff here using +=
28#
29
30$(LIB): $(OBJS)
31        $(make-library)
32
33all-local: $(LIB)
34
35include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.