source: rtems/cpukit/libmisc/wrapup/Makefile.am @ 7fcc26ac

4.104.114.84.95
Last change on this file since 7fcc26ac was 7fcc26ac, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 5, 2000 at 3:32:34 PM

2000-09-04 Ralf Corsepius <corsepiu@…>

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