source: rtems/c/src/lib/libbsp/i960/i960sim/wrapup/Makefile.am @ bc85fd5a

4.104.114.84.95
Last change on this file since bc85fd5a was bc85fd5a, checked in by Joel Sherrill <joel.sherrill@…>, on 07/11/00 at 19:31:04

Reworked score/cpu/i960 so it can be safely compiled multilib. All
routines and structures that require CPU model specific information
are now in libcpu. This required significant rework of the
score/cpu header files and the creation of multiple header files
and subdirectories in libcpu/i960.

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