source: rtems/c/src/libmisc/wrapup/Makefile.am @ df49c60

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on 06/12/00 at 15:00:15

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 909 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = libmisc
8LIB = $(ARCH)/$(LIBNAME).a
9
10include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
11include $(top_srcdir)/../../../automake/lib.am
12
13TMP_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
33TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
34
35all-local: $(ARCH) $(LIB) $(TMPINSTALL_FILES)
36
37.PRECIOUS: $(LIB)
38
39include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.