source: rtems/c/src/lib/libbsp/sh/gensh4/startup/Makefile.am @ b734d83e

4.104.114.84.95
Last change on this file since b734d83e was b734d83e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 05:48:19

2002-08-11 Ralf Corsepius <corsepiu@…>

  • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • hw_init/Makefile.am: Use .$(OBJEXT) instead of .o.
    • start/Makefile.am: Use .$(OBJEXT) instead of .o.
    • startup/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c \
11    bootcard.c main.c gnatinstallhandler.c
12
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
14
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../../../../automake/compile.am
19include $(top_srcdir)/../../../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25bsplib_DATA = linkcmds linkcmds.rom linkcmds.rom2ram
26
27$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
28        $(INSTALL_DATA) $< $@
29
30$(PROJECT_RELEASE)/lib/linkcmds.rom: linkcmds.rom
31        $(INSTALL_DATA) $< $@
32
33$(PROJECT_RELEASE)/lib/linkcmds.rom2ram: linkcmds.rom2ram
34        $(INSTALL_DATA) $< $@
35
36$(PGM): $(OBJS)
37        $(make-rel)
38
39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds $(PROJECT_RELEASE)/lib/linkcmds.rom \
40                    $(PROJECT_RELEASE)/lib/linkcmds.rom2ram
41
42all-local: $(ARCH) $(TMPINSTALL_FILES) $(OBJS) $(PGM)
43
44.PRECIOUS: $(PGM)
45
46EXTRA_DIST = bspclean.c bspstart.c linkcmds linkcmds.rom linkcmds.rom2ram
47
48include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.