source: rtems/c/src/lib/libbsp/powerpc/mvme5500/start/Makefile.am @ 7be6ad9

4.104.114.84.95
Last change on this file since 7be6ad9 was 7be6ad9, checked in by Eric Norum <WENorum@…>, on Oct 20, 2004 at 3:21:05 PM

Add MVME550 BSP

  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5## use a prefix for sake of clarity.
6## mvme5500start contains both, the preloader and the
7## start file
8MVME5500_PREFIX = mvme5500
9
10VPATH = @srcdir@:@srcdir@/../../shared/start
11
12PGM = $(ARCH)/$(MVME5500_PREFIX)start.$(OBJEXT)
13
14S_FILES = preload.S start.S rtems_crti.S
15S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
16
17EXTRA_DIST = preload.S
18
19OBJS = $(ARCH)/preload.$(OBJEXT) $(ARCH)/start.$(OBJEXT)
20
21include $(top_srcdir)/../../../../../../automake/compile.am
22include $(top_srcdir)/../../../../../../automake/lib.am
23
24#
25# (OPTIONAL) Add local stuff here using +=
26#
27bsplib_DATA =  $(PROJECT_RELEASE)/lib/$(MVME5500_PREFIX)start$(LIB_VARIANT).$(OBJEXT)
28bsplib_DATA += $(PROJECT_RELEASE)/lib/rtems_crti.$(OBJEXT)
29
30$(PROJECT_RELEASE)/lib/$(MVME5500_PREFIX)start$(LIB_VARIANT).$(OBJEXT): $(PGM)
31        $(INSTALL_DATA) $< $@
32
33$(PROJECT_RELEASE)/lib/rtems_crti.$(OBJEXT): $(ARCH)/rtems_crti.$(OBJEXT)
34        $(INSTALL_DATA) $< $@
35
36TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(MVME5500_PREFIX)start$(LIB_VARIANT).$(OBJEXT)
37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems_crti.$(OBJEXT)
38
39all-local: $(ARCH) $(S_O_FILES) $(PGM) $(TMPINSTALL_FILES)
40
41$(OBJS):$(ARCH)
42
43$(PGM): $(OBJS)
44        $(LD) -r -o $@ $^
45
46include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.