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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [unix/] [posix/] [wrapup/] [Makefile.am] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
##
2
## Makefile.am,v 1.6 2002/07/04 08:55:22 ralf Exp
3
##
4
 
5
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
6
include $(top_srcdir)/../../../../../../automake/compile.am
7
include $(top_srcdir)/../../../../../../automake/lib.am
8
 
9
if HAS_MP
10
BSP_MP_O_FILES = shmsupp
11
endif
12
BSP_FILES = startup clock console timer $(BSP_MP_O_FILES)
13
 
14
# pieces to pick up out of libcpu/unix
15
 
16
if HAS_MP
17
GENERIC_MP_REL_FILES = shmdr
18
endif
19
GENERIC_FILES = $(GENERIC_MP_REL_FILES)
20
 
21
# bummer; have to use $foreach since % pattern subst rules only replace 1x
22
OBJS = $(foreach piece, $(BSP_FILES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \
23
    $(foreach piece, $(GENERIC_FILES), ../../../$(piece)/$(ARCH)/$(piece).rel)
24
LIB = $(ARCH)/libbsp.a
25
 
26
#
27
# (OPTIONAL) Add local stuff here using +=
28
#
29
 
30
$(LIB): $(OBJS)
31
        $(make-library)
32
 
33
all-local: $(ARCH) $(LIB)
34
 
35
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.