source: rtems/c/src/lib/libbsp/h8300/h8sim/wrapup/Makefile.am @ b6076b01

4.104.114.84.95
Last change on this file since b6076b01 was 4a309b4f, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:41:31

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

  • console/Makefile.am, start/Makefile.am, startup/Makefile.am, wrapup/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 824 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7BSP_FILES = startup console
8
9include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
10include $(top_srcdir)/../../../../../../automake/compile.am
11include $(top_srcdir)/../../../../../../automake/lib.am
12
13# bummer; have to use $foreach since % pattern subst rules only replace 1x
14OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(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.