source: rtems/c/src/lib/libbsp/sh/shsim/wrapup/Makefile.am @ b804d632

4.104.114.84.95
Last change on this file since b804d632 was b9f84f1, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 20, 2001 at 5:25:24 PM

2001-12-19 Ralf Corsepius <corsepiu@…>

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