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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libmisc/] [wrapup/] [Makefile.am] - Blame information for rev 30

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:47 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
LIBNAME = libmisc
8
LIB = $(ARCH)/$(LIBNAME).a
9
 
10
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
11
include $(top_srcdir)/../../../automake/lib.am
12
 
13
TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a \
14
    ../untar/$(ARCH)/libuntar-tmp.a ../stackchk/$(ARCH)/libstackchk-tmp.a \
15
    ../cpuuse/$(ARCH)/libcpuuse-tmp.a ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
16
    ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a
17
 
18
$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
19
        $(INSTALL_DATA) $< $@
20
 
21
#
22
# (OPTIONAL) Add local stuff here using +=
23
#
24
 
25
$(LIB): $(TMP_LIBS)
26
        $(RM) $@
27
        $(RM) -r $(ARCH)
28
        mkdir $(ARCH)
29
        cd $(ARCH); for lib in $^; do $(AR) -xv ../$$lib; done
30
        $(AR) ruv $@ $(ARCH)/*
31
        $(RANLIB) $@
32
 
33
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
34
 
35
all-local: $(ARCH) $(LIB) $(TMPINSTALL_FILES)
36
 
37
.PRECIOUS: $(LIB)
38
 
39
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.