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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libcpu/] [i386/] [Makefile.am] - Blame information for rev 173

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:01:22 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
7
 
8
LIBNAME = libcpu
9
LIB = $(ARCH)/$(LIBNAME).a
10
 
11
C_FILES = cpu.c displayCpu.c page.c
12
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
13
 
14
H_FILES = cpu.h registers.h cpuModel.h
15
 
16
S_FILES = cpu_asm.S cpuModel.S
17
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
18
 
19
OBJS = $(C_O_FILES) $(S_O_FILES)
20
 
21
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
22
include $(top_srcdir)/../../../../../automake/lib.am
23
 
24
$(LIB): $(OBJS)
25
        $(make-library)
26
 
27
$(PROJECT_INCLUDE)/libcpu:
28
        $(mkinstalldirs) $@
29
 
30
$(PROJECT_INCLUDE)/libcpu/%.h: %.h
31
        $(INSTALL_DATA) $< $@
32
 
33
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
34
        $(INSTALL_DATA) $< $@
35
 
36
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
37
    $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
38
 
39
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
40
 
41
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
42
 
43
.PRECIOUS: $(LIB)
44
 
45
EXTRA_DIST = cpu.c cpu.h cpuModel.S cpuModel.h cpu_asm.S displayCpu.c page.c \
46
    registers.h
47
 
48
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.