source: rtems/c/src/lib/libbsp/or32/orp/startup/Makefile.am @ ab67810

4.104.114.84.95
Last change on this file since ab67810 was ab67810, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 6, 2002 at 8:24:47 PM

2002-08-06 Joel Sherrill <joel@…>

  • bsp_specs, configure.ac, startup/bspstart.c: Update and fix minor things so this BSP compiles and almost completely links.
  • startup/Makefile.am: New file.
  • Property mode set to 100644
File size: 961 bytes
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../../shared
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
11    gnatinstallhandler.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
13
14S_FILES =
15S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
16
17OBJS = $(C_O_FILES) $(S_O_FILES)
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../../../../../../automake/compile.am
21include $(top_srcdir)/../../../../../../automake/lib.am
22
23#
24# (OPTIONAL) Add local stuff here using +=
25#
26
27$(PGM): $(OBJS)
28        $(make-rel)
29
30bsplib_DATA = linkcmds
31
32$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
33        $(INSTALL_DATA) $< $@
34
35# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
36TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
37
38all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
39
40.PRECIOUS: $(PGM)
41
42EXTRA_DIST = bspclean.c bspstart.c exit.c linkcmds setvec.c
43
44include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.