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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [score/] [cpu/] [or1k/] [Makefile.am] - Blame information for rev 389

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.3 2002-02-01 17:58:19 ivang Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
7
 
8
SUBDIRS = rtems
9
 
10
C_FILES = cpu.c cpu_asm.c
11
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
 
13
H_FILES = asm.h
14
 
15
S_FILES = rtems.s
16
S_O_FILES = $(S_FILES:%.s=$(ARCH)/%.o)
17
o-optimize/rtems.o: $(VPATH)/rtems.s
18
        $(AS) $(VPATH)/rtems.s -o o-optimize/rtems.o
19
 
20
REL = $(ARCH)/rtems-cpu.rel
21
 
22
rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
23
 
24
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
25
include $(top_srcdir)/../../../../../../automake/lib.am
26
 
27
$(PROJECT_INCLUDE):
28
        $(mkinstalldirs) $@
29
 
30
$(PROJECT_INCLUDE)/%.h: %.h
31
        $(INSTALL_DATA) $< $@
32
 
33
$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
34
        $(INSTALL_DATA) $< $@
35
 
36
$(REL): $(rtems_cpu_rel_OBJECTS)
37
        $(make-rel)
38
 
39
PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
40
 
41
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
42
 
43
all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
44
    $(TMPINSTALL_FILES)
45
 
46
.PRECIOUS: $(REL)
47
 
48
EXTRA_DIST = asm.h cpu.c cpu_asm.c rtems.s
49
SUFFIXES = .s
50
 
51
include $(top_srcdir)/../../../../../../automake/subdirs.am
52
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.