source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/start/Makefile.am @ 88272b70

4.104.114.84.95
Last change on this file since 88272b70 was 88272b70, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 30, 2003 at 2:15:15 AM

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

  • start/Makefile.am: Add BUILD-VARIANTS.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/../../../../automake/compile.am
6include $(top_srcdir)/../../../../automake/lib.am
7include $(top_srcdir)/../../bspstart.am
8
9powerpc_shared_start_S_FILES = \
10    $(top_srcdir)/../../powerpc/shared/start/start.S \
11    $(top_srcdir)/../../powerpc/shared/start/rtems_crti.S
12
13OBJS = \
14    $(powerpc_shared_start_S_FILES:$(top_srcdir)/../../powerpc/shared/start/%.S=$(ARCH)/%$(LIB_VARIANT).$(OBJEXT))
15
16$(ARCH)/%$(LIB_VARIANT).$(OBJEXT): $(top_srcdir)/../../powerpc/shared/start/%.S $(ARCH)/$(dirstamp)
17        ${CCASCOMPILE} -o $@ -c $<
18
19project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
20project_lib_DATA += $(ARCH)/rtems_crti$(LIB_VARIANT).$(OBJEXT)
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
32$(PROJECT_LIB)/rtems_crti$(LIB_VARIANT).$(OBJEXT): $(ARCH)/rtems_crti$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
33        $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti$(LIB_VARIANT).$(OBJEXT)
34TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti$(LIB_VARIANT).$(OBJEXT)
35
36include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.