source: rtems/c/src/lib/libbsp/m68k/mrm332/startup/Makefile.am @ 274fa77

4.104.114.84.95
Last change on this file since 274fa77 was 274fa77, checked in by Joel Sherrill <joel.sherrill@…>, on 02/28/02 at 23:10:39

2002-02-28 Mike Panetta <ahuitzot@…>

  • console/sci.c, console/sci.h, console/console.c: Added new SCI driver.
  • start/start.c: Removed file.
  • start/start.S: New file, the asm portion of the updated start code.
  • start/configure.am: Added start.S, removed start.c
  • startup/start_c.c: New file, the C portion of the updated start code. Contains most of the code that was in the old start.c.
  • startup/configure.am: Added start_c.c to C_FILES.
  • include/bsp.h: Added include <rtems/bspIo.h>
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = start_c.c bsplibc.c bsppost.c bspstart.c bspclean.c bootcard.c \
12    m68kpretaskinghook.c main.c sbrk.c setvec.c gnatinstallhandler.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15S_FILES = except_vect_332_ROM.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# USE_INIT_FINI tells main.c what C++ help we need.
29AM_CPPFLAGS += -DUSE_INIT_FINI
30
31$(PGM): $(OBJS)
32        $(make-rel)
33
34$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
35        $(INSTALL_DATA) $< $@
36
37$(PROJECT_RELEASE)/lib/linkcmds_ROM: linkcmds_ROM
38        $(INSTALL_DATA) $< $@
39
40$(PROJECT_RELEASE)/lib/except_vect_332_ROM$(LIB_VARIANT).o: \
41    $(ARCH)/except_vect_332_ROM.o
42        $(INSTALL_DATA) $< $@
43
44# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
45TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
46    $(PROJECT_RELEASE)/lib/linkcmds_ROM \
47    $(PROJECT_RELEASE)/lib/except_vect_332_ROM$(LIB_VARIANT).o
48
49all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
50
51.PRECIOUS: $(PGM)
52
53EXTRA_DIST = bspclean.c bspstart.c except_vect_332_ROM.S linkcmds \
54    linkcmds_ROM
55
56include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.