source: rtems/c/src/lib/libbsp/sparc/erc32/start/Makefile.am @ 5dc5398

4.104.114.84.95
Last change on this file since 5dc5398 was 5dc5398, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 18, 2003 at 11:30:51 PM

2003-12-18 Ralf Corsepius <corsepiu@…>

  • start/Makefile.am: Eliminate VPATH.
  • Property mode set to 100644
File size: 895 bytes
Line 
1##
2## $Id$
3##
4
5S_FILES = $(top_srcdir)/../shared/start.S
6S_O_FILES = $(S_FILES:$(top_srcdir)/../shared/%.S=$(ARCH)/%.$(OBJEXT))
7
8OBJS = $(S_O_FILES)
9
10include $(top_srcdir)/../../../../automake/compile.am
11include $(top_srcdir)/../../../../automake/lib.am
12
13#
14# (OPTIONAL) Add local stuff here using +=
15#
16
17project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
18
19$(ARCH)/%$(LIB_VARIANT).$(OBJEXT): $(top_srcdir)/../shared/%.S $(ARCH)/$(dirstamp)
20        ${CCASCOMPILE} -DASM -o $@ -c $<
21
22all-local: $(TMPINSTALL_FILES)
23
24$(PROJECT_LIB)/$(dirstamp):
25        @$(mkdir_p) $(PROJECT_LIB)
26        @: > $(PROJECT_LIB)/$(dirstamp)
27
28$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): $(ARCH)/start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
29        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
30TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
31
32include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.