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

4.104.114.84.95
Last change on this file since ef39005 was ef39005, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 8, 2002 at 4:41:46 PM

2002-08-07 Joel Sherrill <joel@…>

  • start/Makefile.am: Pick up rest of Ralf'f changes and use cp not make-rel since there is no point in this case.
  • start/debugreset.S: Rights were not assigned.
  • start/reset.S: Add ifdef to avoid core dump until Chris can track it down.
  • start/cpuboot.c: Moved to startup.
  • startup/Makefile.am: Account for above.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = cpuboot.c crc.c debugport.c gdb-hooks.c bootcard.c main.c \
11    m68302scc.c m68k-stub.c m68kpretaskinghook.c memcheck.c trace.c \
12    gnatinstallhandler.c bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c \
13    setvec.c
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16OBJS = $(C_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../../../../automake/compile.am
20include $(top_srcdir)/../../../../../../automake/lib.am
21
22#
23# (OPTIONAL) Add local stuff here using +=
24#
25
26# USE_INIT_FINI tells main.c what C++ help we need.
27AM_CPPFLAGS += -DUSE_INIT_FINI
28
29$(PGM): $(OBJS)
30        $(make-rel)
31
32bsplib_DATA = linkcmds rom debugger
33
34$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
35        $(INSTALL_DATA) $< $@
36
37$(PROJECT_RELEASE)/lib/rom: rom
38        $(INSTALL_DATA) $< $@
39
40$(PROJECT_RELEASE)/lib/debugger: debugger
41        $(INSTALL_DATA) $< $@
42
43# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
44TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
45    $(PROJECT_RELEASE)/lib/rom $(PROJECT_RELEASE)/lib/debugger
46
47all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
48
49.PRECIOUS: $(PGM)
50
51EXTRA_DIST = bspclean.c bspstart.c crc.c debugger debugport.c gdb-hooks.c \
52    linkcmds m68302scc.c m68k-stub.c memcheck.c rom trace.c
53
54include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.