source: rtems/c/src/lib/libbsp/m68k/mrm332/startup/Makefile.am @ 4d5d97b

4.104.114.84.95
Last change on this file since 4d5d97b was 4d5d97b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/10/03 at 12:37:33

2003-12-10 Ralf Corsepius <corsepiu@…>

  • start/Makefile.am: Misc cleanups and fixes.
  • startup/Makefile.am: Misc cleanups and fixes.
  • wrapup/Makefile.am: Misc cleanups and fixes.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
6
7PGM = $(ARCH)/startup.rel
8
9C_FILES = start_c.c bsplibc.c bsppost.c bspstart.c bspclean.c bootcard.c \
10    m68kpretaskinghook.c main.c sbrk.c setvec.c gnatinstallhandler.c
11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
12
13S_FILES = except_vect_332_ROM.S
14S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
15
16OBJS = $(C_O_FILES) $(S_O_FILES)
17
18include $(top_srcdir)/../../../../automake/compile.am
19include $(top_srcdir)/../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25$(PGM): $(OBJS)
26        $(make-rel)
27
28project_lib_DATA = linkcmds linkcmds_ROM
29
30# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
31
32all-local: $(PGM) $(TMPINSTALL_FILES)
33
34EXTRA_DIST = bspclean.c bspstart.c except_vect_332_ROM.S linkcmds \
35    linkcmds_ROM
36
37${PROJECT_RELEASE}/lib/linkcmds: linkcmds ${PROJECT_RELEASE}/lib/$(dirstamp)
38        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/linkcmds
39TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/linkcmds
40
41${PROJECT_RELEASE}/lib/linkcmds_ROM: linkcmds_ROM ${PROJECT_RELEASE}/lib/$(dirstamp)
42        $(INSTALL_DATA) $< ${PROJECT_RELEASE}/lib/linkcmds_ROM
43TMPINSTALL_FILES += ${PROJECT_RELEASE}/lib/linkcmds_ROM
44
45include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.