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

4.104.114.84.95
Last change on this file since ff716ea0 was ff716ea0, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/14/04 at 07:11:35

2004-01-14 Ralf Corsepius <corsepiu@…>

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