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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [m68k/] [efi332/] [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:02 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 = bsplibc.c bsppost.c bspstart.c bspclean.c bootcard.c \
12
    m68kpretaskinghook.c main.c sbrk.c setvec.c gnatinstallhandler.c
13
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
 
15
S_FILES = except_vect_332_ROM.S
16
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
17
 
18
OBJS = $(C_O_FILES) $(S_O_FILES)
19
 
20
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21
include $(top_srcdir)/../../../../../../automake/lib.am
22
 
23
#
24
# (OPTIONAL) Add local stuff here using +=
25
#
26
 
27
# USE_INIT_FINI tells main.c what C++ help we need.
28
AM_CPPFLAGS += -DUSE_INIT_FINI
29
 
30
$(PGM): $(OBJS)
31
        $(make-rel)
32
 
33
$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
34
        $(INSTALL_DATA) $< $@
35
 
36
$(PROJECT_RELEASE)/lib/linkcmds_ROM: linkcmds_ROM
37
        $(INSTALL_DATA) $< $@
38
 
39
$(PROJECT_RELEASE)/lib/except_vect_332_ROM$(LIB_VARIANT).o: \
40
    $(ARCH)/except_vect_332_ROM.o
41
        $(INSTALL_DATA) $< $@
42
 
43
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
44
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \
45
    $(PROJECT_RELEASE)/lib/linkcmds_ROM \
46
    $(PROJECT_RELEASE)/lib/except_vect_332_ROM$(LIB_VARIANT).o
47
 
48
all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
49
 
50
.PRECIOUS: $(PGM)
51
 
52
EXTRA_DIST = bspclean.c bspstart.c except_vect_332_ROM.S linkcmds \
53
    linkcmds_ROM
54
 
55
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.