source: rtems/c/src/libmisc/wrapup/Makefile.in @ 196094eb

4.104.114.84.95
Last change on this file since 196094eb was 196094eb, checked in by Joel Sherrill <joel.sherrill@…>, on 04/19/99 at 13:19:14

Patch from Ralf Corsepius <corsepiu@…>:

This one is an enhancement to acpolish.

It replaces some Makefile variables by others variable in Makefile.ins
(tries to use unique name for some variables). It therefore eases
parsing Makefile.ins for further automatic Makefile.in conversions in
future.

To apply:

cd <rtems-source-tree>
sh <path-to>/rtems-rc-19990407-8.sh
./autogen

  • 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.