source: rtems/c/src/lib/libbsp/m68k/gen68360/startup/Makefile.am @ 2762e39a

4.104.114.84.95
Last change on this file since 2762e39a was 2762e39a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 06:38:38

2002-08-11 Ralf Corsepius <corsepiu@…>

  • clock/Makefile.am: Use .$(OBJEXT) instead of .o.
    • console/Makefile.am: Use .$(OBJEXT) instead of .o.
    • network/Makefile.am: Use .$(OBJEXT) instead of .o.
    • start/Makefile.am: Use .$(OBJEXT) instead of .o.
    • startup/Makefile.am: Use .$(OBJEXT) instead of .o.
    • timer/Makefile.am: Use .$(OBJEXT) instead of .o.
    • wrapup/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared:@srcdir@/../../shared/gdbstub::@srcdir@/../../../shared/gdbstub
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = alloc360.c bspclean.c bsplibc.c bsppost.c m68kpretaskinghook.c \
11    bspstart.c init68360.c bootcard.c main.c sbrk.c setvec.c \
12    gnatinstallhandler.c m68k-stub.c rtems-stub-glue.c
13
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
15
16OBJS = $(C_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../../../../automake/compile.am
20include $(top_srcdir)/../../../../../../automake/lib.am
21
22#
23# (OPTIONAL) Add local stuff here using +=
24#
25
26# USE_INIT_FINI tells main.c what C++ help we need.
27AM_CPPFLAGS += -DUSE_INIT_FINI -I @srcdir@/../../shared/gdbstub
28
29$(PGM): $(OBJS)
30        $(make-rel)
31
32bsplib_DATA = linkcmds linkcmds.prom linkcmds.bootp
33
34$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
35        $(INSTALL_DATA) $< $@
36
37$(PROJECT_RELEASE)/lib/linkcmds.prom: linkcmds.prom
38        $(INSTALL_DATA) $< $@
39
40$(PROJECT_RELEASE)/lib/linkcmds.bootp: linkcmds.bootp
41        $(INSTALL_DATA) $< $@
42
43# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
44TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
45    $(PROJECT_RELEASE)/lib/linkcmds.prom \
46    $(PROJECT_RELEASE)/lib/linkcmds.bootp
47
48all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
49
50.PRECIOUS: $(PGM)
51
52EXTRA_DIST = alloc360.c bspclean.c bspstart.c init68360.c linkcmds \
53    linkcmds.bootp linkcmds.prom
54
55include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.