source: rtems/c/src/lib/libbsp/c4x/c4xsim/wrapup/Makefile.am @ a059062a

4.104.114.84.95
Last change on this file since a059062a was a059062a, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 5, 2000 at 3:41:13 PM

2000-09-04 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am, console/Makefile.am, start/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 944 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7BSP_PIECES = startup console clock timer
8# pieces to pick up out of libcpu/sparc
9CPU_PIECES =
10
11# bummer; have to use $foreach since % pattern subst rules only replace 1x
12OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
13    $(foreach piece, $(CPU_PIECES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel)
14LIB = $(ARCH)/libbsp.a
15
16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17include $(top_srcdir)/../../../../../../automake/compile.am
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.