source: rtems/c/src/lib/libbsp/hppa1.1/simhppa/wrapup/Makefile.am @ 743d9548

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

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

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