source: rtems/c/src/lib/libbsp/sh/simsh4/startup/Makefile.am @ 832d4bfd

4.104.114.84.95
Last change on this file since 832d4bfd was 832d4bfd, checked in by Joel Sherrill <joel.sherrill@…>, on 01/28/03 at 17:54:14

2003-01-28 Joel Sherrill <joel@…>

  • startup/Makefile.am, startup/linkcmds, startup/linkcmds-le, startup/linkcmds-le.coff: Fix to work around truncated section names.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = hw_init.c bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c \
11    bootcard.c main.c gnatinstallhandler.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14OBJS = $(C_O_FILES)
15
16include $(top_srcdir)/../../../../../../automake/compile.am
17include $(top_srcdir)/../../../../../../automake/lib.am
18
19#
20# (OPTIONAL) Add local stuff here using +=
21#
22
23bsplib_DATA = linkcmds linkcmds-le linkcmds-le.coff
24
25$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
26        $(INSTALL_DATA) $< $@
27
28$(PROJECT_RELEASE)/lib/linkcmds-le: linkcmds-le
29        $(INSTALL_DATA) $< $@
30
31$(PROJECT_RELEASE)/lib/linkcmds-le.coff: linkcmds-le.coff
32        $(INSTALL_DATA) $< $@
33
34$(PGM): $(OBJS)
35        $(make-rel)
36
37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
38                    $(PROJECT_RELEASE)/lib/linkcmds-le \
39                    $(PROJECT_RELEASE)/lib/linkcmds-le.coff
40
41all-local: $(ARCH) $(TMPINSTALL_FILES) $(OBJS) $(PGM)
42
43.PRECIOUS: $(PGM)
44
45EXTRA_DIST = bspclean.c bspstart.c hw_init.c linkcmds linkcmds-le \
46    linkcmds-le.coff
47
48include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.