source: rtems/c/src/lib/libbsp/mips/genmongoosev/startup/Makefile.am @ ffdc659

4.104.114.84.95
Last change on this file since ffdc659 was ffdc659, checked in by Joel Sherrill <joel.sherrill@…>, on 03/08/02 at 16:26:03

2002-03-05 Greg Menke <gregory.menke@…>

  • startup/gdb-support.c: Added calls into the mips-support gdb stub for configuring the memory regions. Any bsp that wants to use the gdbstub will need to do something similar.
  • startup/Makefile.am: Added shared/gdbstub directory to include path.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../shared/gdbstub:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
12    gnatinstallhandler.c setvec.c mips-stub.c gdb-support.c rtems-stub-glue.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
25AM_CPPFLAGS += -I @srcdir@/../../shared/gdbstub
26
27$(PGM): $(OBJS)
28        $(make-rel)
29
30$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
31        $(INSTALL_DATA) $< $@
32
33# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
34TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
35
36all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
37
38.PRECIOUS: $(PGM)
39
40EXTRA_DIST = bspclean.c bspstart.c exit.c linkcmds setvec.c
41
42include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.