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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [hppa1.1/] [simhppa/] [wrapup/] [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 11:59:45 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
# pieces to pick up out of libcpu/hppa
8
CPU_FILES = clock milli timer
9
 
10
if HAS_MP
11
GENERIC_MP_REL_FILES = shmdr
12
endif
13
GENERIC_FILES = $(GENERIC_MP_REL_FILES)
14
 
15
if HAS_MP
16
BSP_MP_O_FILES = shmsupp
17
endif
18
BSP_FILES = start tty $(BSP_MP_O_FILES)
19
 
20
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
21
include $(top_srcdir)/../../../../../../automake/lib.am
22
 
23
# bummer; have to use $foreach since % pattern subst rules only replace 1x
24
OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
25
    $(foreach piece, $(CPU_FILES), ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \
26
    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
27
 
28
LIB = $(ARCH)/libbsp.a
29
 
30
#
31
# (OPTIONAL) Add local stuff here using +=
32
#
33
 
34
$(LIB): $(OBJS)
35
        $(make-library)
36
 
37
$(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a: $(LIB)
38
        $(INSTALL_DATA) $< $@
39
 
40
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a
41
 
42
all-local: $(ARCH) $(OBJS) $(LIB) $(TMPINSTALL_FILES)
43
 
44
.PRECIOUS: $(LIB)
45
 
46
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.