source: rtems/c/src/lib/libmisc/wrapup/Makefile.in @ b08d3ed9

4.104.114.84.9
Last change on this file since b08d3ed9 was b08d3ed9, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 6, 1999 at 9:45:06 PM

Untar support submitted by Jake Janovetz <janovetz@…>.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ../../../../..
9subdir = c/src/lib/libmisc/wrapup
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@
17
18LIB=$(ARCH)/libmisc.a
19
20include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
21include $(RTEMS_ROOT)/make/lib.cfg
22
23#  Using the wildcard on the Purify support makes sure it may not be there
24
25LIBS=../monitor/$(ARCH)/libmonitor-tmp.a \
26     ../untar/$(ARCH)/libuntar-tmp.a \
27     ../error/$(ARCH)/liberror-tmp.a \
28     ../assoc/$(ARCH)/libassoc-tmp.a \
29     ../stackchk/$(ARCH)/libstackchk-tmp.a \
30     ../cpuuse/$(ARCH)/libcpuuse-tmp.a \
31     ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
32     ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a
33
34RELS=
35
36CLEAN_ADDITIONS +=
37CLOBBER_ADDITIONS +=
38
39$(LIB): ${LIBS} $(RELS)
40        $(RM) -r $(ARCH)
41        mkdir $(ARCH)
42        cd $(ARCH); for lib in $(LIBS:%=../%); do \
43                         $(AR) -xv $$lib; \
44                    done
45        $(RM) $@
46        $(AR) ruv $@ $(ARCH)/*
47        $(MKLIB) $@
48
49all:    ${ARCH} $(SRCS) $(LIB)
50        $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
51
52Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
53        cd $(top_builddir) \
54         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.