source: rtems/c/src/lib/libbsp/m68k/ods68302/startup/Makefile.am @ d4ee0ce

4.104.114.84.9
Last change on this file since d4ee0ce was d4ee0ce, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 3, 2003 at 7:34:16 AM

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

  • Makefile.am: Add preinstallation dirstamp support.
  • clock/Makefile.am: Cosmetics.
  • console/Makefile.am: Cosmetics.
  • startup/Makefile.am: Cosmetics.
  • timer/Makefile.am: Cosmetics.
  • wrapup/Makefile.am: Cosmetics.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
6
7PGM = $(ARCH)/startup.rel
8
9C_FILES = cpuboot.c crc.c debugport.c gdb-hooks.c bootcard.c main.c \
10    m68302scc.c m68k-stub.c m68kpretaskinghook.c memcheck.c trace.c \
11    gnatinstallhandler.c bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c \
12    setvec.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
27bsplib_DATA = linkcmds rom debugger
28
29$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
30        $(INSTALL_DATA) $< $@
31
32$(PROJECT_RELEASE)/lib/rom: rom
33        $(INSTALL_DATA) $< $@
34
35$(PROJECT_RELEASE)/lib/debugger: debugger
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/rom $(PROJECT_RELEASE)/lib/debugger
41
42all-local: $(OBJS) $(PGM) $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(PGM)
45
46EXTRA_DIST = bspclean.c bspstart.c crc.c debugger debugport.c gdb-hooks.c \
47    linkcmds m68302scc.c m68k-stub.c memcheck.c rom trace.c
48
49include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.