source: rtems/cpukit/libmisc/wrapup/Makefile.am @ 45e4f321

4.104.114.84.95
Last change on this file since 45e4f321 was 053f9f1, checked in by Joel Sherrill <joel.sherrill@…>, on 07/24/02 at 13:26:41

2002-07-24 Joel Sherrill <joel@…>

  • wrapup/Makefile.am: Temporarily don't include serdbg since it causes some BSPs to not link "main(){}" as required by autoconf.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5
6LIBNAME = libmisc
7LIB = $(ARCH)/$(LIBNAME).a
8
9include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
10include $(top_srcdir)/../../../automake/compile.am
11include $(top_srcdir)/../../../automake/lib.am
12
13## XXX temporarily remove this from the list because it causes a
14## XXX number of BSPs to not link "main(){}" used by autoconf
15##    ../serdbg/$(ARCH)/libserdbg-tmp.a
16 
17TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a \
18    ../untar/$(ARCH)/libuntar-tmp.a ../stackchk/$(ARCH)/libstackchk-tmp.a \
19    ../cpuuse/$(ARCH)/libcpuuse-tmp.a ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
20    ../shell/$(ARCH)/libshell-tmp.a ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a \
21    ../devnull/$(ARCH)/libdevnull-tmp.a ../dummy/$(ARCH)/libdummy-tmp.a \
22    ../mw-fb/$(ARCH)/libmw-fb-tmp.a ../capture/$(ARCH)/libcapture-tmp.a
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 $(AR) -xv ../$$lib; done
33        $(AR) ruv $@ $(ARCH)/*
34        $(RANLIB) $@
35
36all-local: $(ARCH) $(LIB)
37
38include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.