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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libcpu/] [powerpc/] [shared/] [Makefile.am] - Blame information for rev 607

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:01:30 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
C_FILES = cpuIdent.c
8
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
9
 
10
H_FILES = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h
11
 
12
OBJS = $(C_O_FILES)
13
 
14
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
15
include $(top_srcdir)/../../../../../automake/lib.am
16
 
17
LIB = $(ARCH)/libcpuspec.a
18
 
19
#
20
# (OPTIONAL) Add local stuff here using +=
21
#
22
 
23
$(LIB): $(OBJS)
24
        $(make-library)
25
 
26
$(PROJECT_INCLUDE)/libcpu:
27
        $(mkinstalldirs) $@
28
 
29
$(PROJECT_INCLUDE)/libcpu/%.h: %.h
30
        $(INSTALL_DATA) $< $@
31
 
32
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
33
    $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
34
 
35
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
36
 
37
.PRECIOUS: $(LIB)
38
 
39
EXTRA_DIST = byteorder.h cpu.h cpuIdent.c io.h mmu.h page.h pgtable.h spr.h
40
 
41
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.