source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.am @ 80e5391

4.104.114.84.95
Last change on this file since 80e5391 was 80e5391, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 7, 2000 at 7:36:14 PM

Moved old_exception_processing and new_exception_processing directories
from score/cpu to libcpu because the determination of which to use is
based on RTEMS_CPU_MODEL. Thus it can not be determined based solely on
multilib information.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7BSP_PIECES = clock console irq openpic pci residual startup vectors motorola
8
9# bummer; have to use $foreach since % pattern subst rules only replace 1x
10OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/*.o) \
11 $(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.o) \
12 $(wildcard ../../../../libcpu/$(RTEMS_CPU)/mpc6xx/*/$(ARCH)/*.o) \
13 $(wildcard ../../../../libcpu/powerpc/new_exception_processing/$(ARCH)/*.rel) \
14 $(wildcard ../../../../libcpu/$(RTEMS_CPU)/$(RTEMS_CPU_MODEL)/*/$(ARCH)/*.o)
15LIB = $(ARCH)/libbsp.a
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../../../../automake/lib.am
19
20#
21# (OPTIONAL) Add local stuff here using +=
22#
23
24$(LIB): $(OBJS)
25        $(make-library)
26
27$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
28        $(INSTALL_DATA) $< $@
29
30TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
31
32all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
33
34.PRECIOUS: $(LIB)
35
36include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.