source: rtems/c/src/lib/libbsp/m68k/mcf5206elite/startup/Makefile.am @ 317458ce

4.104.114.84.95
Last change on this file since 317458ce was 317458ce, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/03 at 16:07:24

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

  • startup/Makefile.am: Remove USE_INIT_FINI.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = bspclean.c bsplibc.c bsppost.c m68kpretaskinghook.c \
11    bspstart.c init5206e.c bootcard.c main.c sbrk.c setvec.c \
12    gnatinstallhandler.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
14
15OBJS = $(C_O_FILES)
16
17include $(top_srcdir)/../../../../../../automake/compile.am
18include $(top_srcdir)/../../../../../../automake/lib.am
19
20#
21# (OPTIONAL) Add local stuff here using +=
22#
23
24$(PGM): $(OBJS)
25        $(make-rel)
26
27$(PROJECT_RELEASE)/lib/gdbinit: gdbinit
28        $(INSTALL_DATA) $< $@
29
30bsplib_DATA = linkcmds gdbinit linkcmds.flash
31
32$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
33        $(INSTALL_DATA) $< $@
34
35$(PROJECT_RELEASE)/lib/linkcmds.flash: linkcmds.flash
36        $(INSTALL_DATA) $< $@
37
38# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
40    $(PROJECT_RELEASE)/lib/linkcmds.flash \
41    $(PROJECT_RELEASE)/lib/gdbinit
42
43all: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
44
45.PRECIOUS: $(PGM)
46
47EXTRA_DIST = bspclean.c bspstart.c init5206e.c linkcmds linkcmds.flash \
48             gdbinit
49
50include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.