source: rtems/c/src/lib/libbsp/unix/posix/wrapup/Makefile.am @ df25c998

4.104.114.84.95
Last change on this file since df25c998 was 0dcf5e12, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:55:53

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

  • clock/Makefile.am, console/Makefile.am, shmsupp/Makefile.am, startup/Makefile.am, timer/Makefile.am, wrapup/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
8include $(top_srcdir)/../../../../../../automake/compile.am
9include $(top_srcdir)/../../../../../../automake/lib.am
10
11if HAS_MP
12BSP_MP_O_FILES = shmsupp
13endif
14BSP_FILES = startup clock console timer $(BSP_MP_O_FILES)
15
16# pieces to pick up out of libcpu/unix
17
18if HAS_MP
19GENERIC_MP_REL_FILES = shmdr
20endif
21GENERIC_FILES = $(GENERIC_MP_REL_FILES)
22
23# bummer; have to use $foreach since % pattern subst rules only replace 1x
24OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
25    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
26LIB = $(ARCH)/libbsp.a
27
28#
29# (OPTIONAL) Add local stuff here using +=
30#
31
32$(LIB): $(OBJS)
33        $(make-library)
34
35$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
36        $(INSTALL_DATA) $< $@
37
38TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
39
40all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
41
42.PRECIOUS: $(LIB)
43
44include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.