source: rtems/c/src/lib/libbsp/no_cpu/no_bsp/wrapup/Makefile.am @ 0ab65474

4.104.114.84.95
Last change on this file since 0ab65474 was 4e36a2f, checked in by Joel Sherrill <joel.sherrill@…>, on 01/31/00 at 15:27:02

Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@…> that contain:

  • Modifications, (minor) corrections, cleanups to most existing Makefile.ams
  • Adds automake support to all remaining BSPs which have not yet been converted to automake.
  • Makefile.am for all remaining wrapup/Makefile.ams
  • Property mode set to 100644
File size: 970 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7BSP_FILES = startup clock console timer
8
9if HAS_MP
10GENERIC_MP_REL_FILES = shmdr
11endif
12GENERIC_FILES = $(GENERIC_MP_REL_FILES)
13
14if HAS_MP
15BSP_MP_O_FILES = shmsupp
16endif
17BSP_FILES = $(BSP_MP_O_FILES)
18
19# bummer; have to use $foreach since % pattern subst rules only replace 1x
20OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
21    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
22
23LIB = $(ARCH)/libbsp.a
24
25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
26include $(top_srcdir)/../../../../../../automake/lib.am
27
28#
29# (OPTIONAL) Add local stuff here using +=
30#
31
32$(LIB): $(OBJS)
33        $(make-library)
34
35$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
36        $(INSTALL_DATA) $< $@
37
38TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
39
40all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
41
42.PRECIOUS: $(LIB)
43
44include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.