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

Subversion Repositories openrisc

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

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 11:59:30 chris 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
11
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
 
13
H_FILES = asm.h erc32.h
14
 
15
S_FILES = cpu_asm.S
16
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
17
 
18
REL = $(ARCH)/rtems-cpu.rel
19
 
20
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21
include $(top_srcdir)/../../../../../../automake/lib.am
22
 
23
rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
24
 
25
$(PROJECT_INCLUDE):
26
        $(mkinstalldirs) $@
27
 
28
$(PROJECT_INCLUDE)/%.h: %.h
29
        $(INSTALL_DATA) $< $@
30
 
31
$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
32
        $(INSTALL_DATA) $< $@
33
 
34
$(REL): $(rtems_cpu_rel_OBJECTS)
35
        $(make-rel)
36
 
37
PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
38
 
39
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
40
 
41
all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
42
    $(TMPINSTALL_FILES)
43
 
44
.PRECIOUS: $(REL)
45
 
46
EXTRA_DIST = asm.h cpu.c cpu_asm.S erc32.h rtems.S
47
 
48
include $(top_srcdir)/../../../../../../automake/subdirs.am
49
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.