source: rtems/c/src/lib/libbsp/arm/armulator/startup/Makefile.am @ caf88699

4.104.114.84.95
Last change on this file since caf88699 was caf88699, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 31, 2000 at 6:29:37 PM

New bsp for simulator in gdb. Does not work yet.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
12    gnatinstallhandler.c libcfunc.c syscalls.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15S_FILES = trap.S
16S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
17
18OBJS = $(C_O_FILES) $(S_O_FILES)
19
20include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21include $(top_srcdir)/../../../../../../automake/lib.am
22
23#
24# (OPTIONAL) Add local stuff here using +=
25#
26
27# From newlib
28# Select which debug protocol is being used.
29# ARM_RDP_MONITOR selects the Demon monitor.
30# ARM_RDI_MONITOR selects the Angel monitor.
31# If neither are defined, then hard coded defaults will be used
32# to create the program's environment.
33AM_CPPFLAGS += -DARM_RDI_MONITOR
34
35$(PGM): $(OBJS)
36        $(make-rel)
37
38$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
39        $(INSTALL_DATA) $< $@
40
41# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
42TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
43
44all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
45
46.PRECIOUS: $(PGM)
47
48EXTRA_DIST = bspclean.c bspstart.c exit.c linkcmds setvec.c
49
50include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.