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

4.104.114.84.95
Last change on this file since 25cdd2b was 25cdd2b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 20, 2002 at 5:34:11 AM

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

  • startup/Makefile.am: Add bsplib_DATA = linkcmds rom debugger.
  • 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 = crc.c debugport.c gdb-hooks.c bootcard.c main.c m68302scc.c \
11    m68k-stub.c m68kpretaskinghook.c memcheck.c trace.c gnatinstallhandler.c \
12    bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c setvec.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
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.