OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [m68k/] [ods68302/] [startup/] [Makefile.am] - Blame information for rev 773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
##
2
## $Id: Makefile.am,v 1.2 2001-09-27 12:00:21 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
8
 
9
PGM = $(ARCH)/startup.rel
10
 
11
C_FILES = crc.c debugport.c gdb-hooks.c bootcard.c main.c m68302scc.c \
12
    m68k-stub.c m68kpretaskinghook.c memcheck.c trace.c gnatinstallhandler.c \
13
    bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c setvec.c
14
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
 
16
OBJS = $(C_O_FILES)
17
 
18
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19
include $(top_srcdir)/../../../../../../automake/lib.am
20
 
21
#
22
# (OPTIONAL) Add local stuff here using +=
23
#
24
 
25
# USE_INIT_FINI tells main.c what C++ help we need.
26
AM_CPPFLAGS += -DUSE_INIT_FINI
27
 
28
$(PGM): $(OBJS)
29
        $(make-rel)
30
 
31
$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
32
        $(INSTALL_DATA) $< $@
33
 
34
$(PROJECT_RELEASE)/lib/rom: rom
35
        $(INSTALL_DATA) $< $@
36
 
37
$(PROJECT_RELEASE)/lib/debugger: debugger
38
        $(INSTALL_DATA) $< $@
39
 
40
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
41
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
42
    $(PROJECT_RELEASE)/lib/rom $(PROJECT_RELEASE)/lib/debugger
43
 
44
all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
45
 
46
.PRECIOUS: $(PGM)
47
 
48
EXTRA_DIST = bspclean.c bspstart.c crc.c debugger debugport.c gdb-hooks.c \
49
    linkcmds m68302scc.c m68k-stub.c memcheck.c rom trace.c
50
 
51
include $(top_srcdir)/../../../../../../automake/local.am

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.