source: rtems/c/src/lib/libbsp/m68k/ods68302/startup/Makefile.am @ 88a67b6

4.104.114.84.95
Last change on this file since 88a67b6 was 88a67b6, checked in by Ralf Corsepius <ralf.corsepius@…>, on Aug 11, 2002 at 6:54:29 AM

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

  • clock/Makefile.am: Use .$(OBJEXT) instead of .o.
    • console/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.4 KB
Line 
1##
2## $Id$
3##
4
5
6VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
7
8PGM = $(ARCH)/startup.rel
9
10C_FILES = cpuboot.c crc.c debugport.c gdb-hooks.c bootcard.c main.c \
11    m68302scc.c m68k-stub.c m68kpretaskinghook.c memcheck.c trace.c \
12    gnatinstallhandler.c bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c \
13    setvec.c
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
28
29$(PGM): $(OBJS)
30        $(make-rel)
31
32bsplib_DATA = linkcmds rom debugger
33
34$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
35        $(INSTALL_DATA) $< $@
36
37$(PROJECT_RELEASE)/lib/rom: rom
38        $(INSTALL_DATA) $< $@
39
40$(PROJECT_RELEASE)/lib/debugger: debugger
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/rom $(PROJECT_RELEASE)/lib/debugger
46
47all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
48
49.PRECIOUS: $(PGM)
50
51EXTRA_DIST = bspclean.c bspstart.c crc.c debugger debugport.c gdb-hooks.c \
52    linkcmds m68302scc.c m68k-stub.c memcheck.c rom trace.c
53
54include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.