source: rtems/c/src/lib/libbsp/a29k/portsw/wrapup/Makefile.am @ 4657df1f

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

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

  • console/Makefile.am, shmsupp/Makefile.am, start/Makefile.am, startup/Makefile.am, wrapup/Makefile.am: Include compile.am.
  • Property mode set to 100644
File size: 985 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7if HAS_MP
8MP_BSP_O_FILES = shmsupp
9endif
10
11BSP_FILES = startup console iic ethernet flash nvram $(MP_BSP_O_FILES)
12CPU_FILES = clock timer
13
14# bummer; have to use $foreach since % pattern subst rules only replace 1x
15OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
16    $(foreach piece, $(CPU_FILES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel)
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.