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

4.104.114.84.95
Last change on this file since e6dc43d was 695b353, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:40:45

2000-09-04 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am, console/Makefile.am, start/Makefile.am, startup/Makefile.am, wrapup/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 1.3 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/compile.am
22include $(top_srcdir)/../../../../../../automake/lib.am
23
24#
25# (OPTIONAL) Add local stuff here using +=
26#
27
28# From newlib
29# Select which debug protocol is being used.
30# ARM_RDP_MONITOR selects the Demon monitor.
31# ARM_RDI_MONITOR selects the Angel monitor.
32# If neither are defined, then hard coded defaults will be used
33# to create the program's environment.
34AM_CPPFLAGS += -DARM_RDI_MONITOR
35
36$(PGM): $(OBJS)
37        $(make-rel)
38
39$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
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
45all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
46
47.PRECIOUS: $(PGM)
48
49EXTRA_DIST = bspclean.c bspstart.c exit.c linkcmds setvec.c
50
51include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.