source: rtems/c/src/lib/libbsp/sh/gensh4/wrapup/Makefile.am @ f61a85a8

4.104.114.84.95
Last change on this file since f61a85a8 was f61a85a8, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 00:42:21

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • console/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • hw_init/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • include/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • start/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • startup/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 972 bytes
Line 
1##
2## $Id$
3##
4## build and install libbsp
5##
6
7
8BSP_PIECES = startup hw_init console
9
10# pieces to pick up out of libcpu/sh/sh7750
11CPU_PIECES = clock sci timer score
12
13# bummer; have to use $foreach since % pattern subst rules only replace 1x
14OBJS = $(foreach piece, $(BSP_PIECES), ../$(piece)/$(ARCH)/$(piece).rel) \
15    $(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/sh7750/$(piece)/$(ARCH)/$(piece).rel)
16
17LIB = $(ARCH)/libbsp.a
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../../../../../../automake/compile.am
21include $(top_srcdir)/../../../../../../automake/lib.am
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) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
36
37.PRECIOUS: $(LIB)
38
39include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.