source: rtems/c/src/lib/libbsp/i386/pc386/wrapup/Makefile.am @ 69537ca9

4.104.114.84.95
Last change on this file since 69537ca9 was 69537ca9, checked in by Joel Sherrill <joel.sherrill@…>, on 01/12/00 at 16:38:56

Patch rtems-rc-20000104-16.diff from Ralf Corsepius <corsepiu@…>
that converts the libbsp/i386 subdirectory to full automake.

  • Property mode set to 100644
File size: 994 bytes
RevLine 
[69537ca9]1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7# We only build the Network library if HAS_NETWORKING was defined
8# dec21140 is supported via libchip
9if HAS_NETWORKING
10NETWORK = ne2000 wd8003 3c509
11endif
12
13BSP_FILES = startup clock console timer $(NETWORK)
14GENERIC_FILES =
15
16# bummer; have to use $foreach since % pattern subst rules only replace 1x
17OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
18    $(foreach piece, $(GENERIC_FILES), \
19    ../../../$(piece)/$(ARCH)/$(piece).rel)
20LIB = $(ARCH)/libbsp.a
21
22include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
23include $(top_srcdir)/../../../../../../automake/lib.am
24
25#
26# (OPTIONAL) Add local stuff here using +=
27#
28
29$(LIB): ${OBJS}
30        $(make-library)
31
32$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
33        $(INSTALL_DATA) $< $@
34
35TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
36
37all-local: ${ARCH} $(PREINSTALL_FILES) $(LIB) $(TMPINSTALL_FILES)
38
39include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.