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

4.104.114.84.95
Last change on this file since d5b004b was d5b004b, checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/99 at 13:52:59

Patch from Ralf Corsepius <corsepiu@…>
to convert the libmisc directory from Makefile.in to Makefile.am.

  • Property mode set to 100644
File size: 936 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 ../untar/$(ARCH)/libuntar-tmp.a \
14    ../stackchk/$(ARCH)/libstackchk-tmp.a ../cpuuse/$(ARCH)/libcpuuse-tmp.a \
15    ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
16    ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a
17
18TMPINSTALL_FILES += \
19$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
20
21$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
22        $(INSTALL_DATA) $< $@
23
24#
25# (OPTIONAL) Add local stuff here using +=
26#
27
28$(LIB): $(TMP_LIBS)
29        $(RM) $@
30        $(RM) -r $(ARCH)
31        mkdir $(ARCH)
32        cd $(ARCH); for lib in $^; do \
33                         $(AR) -xv ../$$lib; \
34                    done
35        $(AR) ruv $@ $(ARCH)/*
36        $(RANLIB) $@
37
38all: ${ARCH} $(LIB) $(TMPINSTALL_FILES)
39
40include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.