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

4.104.114.84.95
Last change on this file since 887458a1 was 887458a1, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/19/02 at 22:09:24

2002-12-19 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • timer/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • Property mode set to 100644
File size: 1.3 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)/%.$(OBJEXT))
15
16OBJS = $(C_O_FILES)
17
18include $(top_srcdir)/../../../../../../automake/compile.am
19include $(top_srcdir)/../../../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25# USE_INIT_FINI tells main.c what C++ help we need.
26AM_CPPFLAGS += -DUSE_INIT_FINI
27
28$(PGM): $(OBJS)
29        $(make-rel)
30
31bsplib_DATA = linkcmds rom debugger
32
33$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
34        $(INSTALL_DATA) $< $@
35
36$(PROJECT_RELEASE)/lib/rom: rom
37        $(INSTALL_DATA) $< $@
38
39$(PROJECT_RELEASE)/lib/debugger: debugger
40        $(INSTALL_DATA) $< $@
41
42# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
43TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
44    $(PROJECT_RELEASE)/lib/rom $(PROJECT_RELEASE)/lib/debugger
45
46all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
47
48.PRECIOUS: $(PGM)
49
50EXTRA_DIST = bspclean.c bspstart.c crc.c debugger debugport.c gdb-hooks.c \
51    linkcmds m68302scc.c m68k-stub.c memcheck.c rom trace.c
52
53include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.