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

4.104.114.84.95
Last change on this file since c1b12e6a was c1b12e6a, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/99 at 18:31:48

Moved RTEMS error and association from libmisc to libc support to
avoid cyclic dependencies generated when moving packages to the
top level.

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