source: rtems/c/src/lib/libbsp/m68k/mvme147s/start/Makefile.am @ 59a01a6e

4.104.114.84.95
Last change on this file since 59a01a6e was 59a01a6e, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 12, 2002 at 11:51:18 AM

2002-12-12 Ralf Corsepius <corsepiu@…>

  • start/Makefile.am: Use install-data-local to install startfile.
  • Property mode set to 100644
File size: 858 bytes
Line 
1##
2## $Id$
3##
4
5VPATH = @srcdir@:@srcdir@/../../shared
6
7S_FILES = start.S
8S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
9
10OBJS = $(S_O_FILES)
11
12include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
13include $(top_srcdir)/../../../../../../automake/compile.am
14include $(top_srcdir)/../../../../../../automake/lib.am
15
16#
17# (OPTIONAL) Add local stuff here using +=
18#
19
20install-data-local: $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
21        @$(mkinstalldirs) $(DESTDIR)$(bsplibdir)
22        $(INSTALL_DATA) $< $(DESTDIR)$(bsplibdir)
23
24$(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start.$(OBJEXT)
25        $(INSTALL_DATA) $< $@
26
27TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).$(OBJEXT)
28
29all-local: $(ARCH) $(OBJS) $(ARCH)/start.$(OBJEXT) $(TMPINSTALL_FILES)
30
31.PRECIOUS: $(ARCH)/start.$(OBJEXT)
32
33include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.