source: rtems/c/src/lib/libbsp/hppa1.1/simhppa/wrapup/Makefile.am @ ad5c7fe

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

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

  • wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • Property mode set to 100644
File size: 903 bytes
Line 
1##
2## $Id$
3##
4
5# pieces to pick up out of libcpu/hppa
6CPU_FILES = clock milli timer
7
8if HAS_MP
9GENERIC_MP_REL_FILES = shmdr
10endif
11GENERIC_FILES = $(GENERIC_MP_REL_FILES)
12
13if HAS_MP
14BSP_MP_O_FILES = shmsupp
15endif
16BSP_FILES = startup tty $(BSP_MP_O_FILES)
17
18include $(top_srcdir)/../../../../../../automake/compile.am
19include $(top_srcdir)/../../../../../../automake/lib.am
20
21# bummer; have to use $foreach since % pattern subst rules only replace 1x
22OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \
23    $(foreach piece, $(CPU_FILES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
24    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
25
26LIB = $(ARCH)/libbsp.a
27
28#
29# (OPTIONAL) Add local stuff here using +=
30#
31
32$(LIB): $(OBJS)
33        $(make-library)
34
35all-local: $(ARCH) $(LIB)
36
37include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.