source: rtems/cpukit/libmisc/wrapup/Makefile.am @ 5a8a05b

4.104.114.84.95
Last change on this file since 5a8a05b was 5a8a05b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 24, 2003 at 12:05:44 PM

2002-01-24 Ralf Corsepius <corsepiu@…>

  • configure.ac: Add check for weak function attribute. Remove AM_CONDITIONAL([RTEMS_LIBSHELL]. Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
  • capture/Makefile.am: Use *.a instead of *-tmp.a.
  • cpuuse/Makefile.am: Use *.a instead of *-tmp.a.
  • devnull/Makefile.am: Use *.a instead of *-tmp.a.
  • dummy/Makefile.am: Use *.a instead of *-tmp.a.
  • dumpbuf/Makefile.am: Use *.a instead of *-tmp.a.
  • monitor/Makefile.am: Use *.a instead of *-tmp.a.
  • mw-fb/Makefile.am: Use *.a instead of *-tmp.a.
  • rtmonuse/Makefile.am: Use *.a instead of *-tmp.a.
  • serdbg/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSERDBG is true.
  • shell/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSHELL is true.
  • stackchk/Makefile.am: Use *.a instead of *-tmp.a.
  • untar/Makefile.am: Use *.a instead of *-tmp.a.
  • wrapup/Makefile.am: Reflect changes above.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5LIB = $(ARCH)/libmisc.a
6
7include $(top_srcdir)/../automake/compile.am
8include $(top_srcdir)/../automake/lib.am
9
10TMP_LIBS = ../monitor/$(ARCH)/libmonitor.a
11TMP_LIBS += ../untar/$(ARCH)/libuntar.a
12TMP_LIBS += ../stackchk/$(ARCH)/libstackchk.a
13TMP_LIBS += ../cpuuse/$(ARCH)/libcpuuse.a
14TMP_LIBS += ../rtmonuse/$(ARCH)/librtmonuse.a
15
16## XXX temporarily remove this from the list because it causes a
17## XXX number of BSPs to not link "main(){}" used by autoconf
18# if LIBSERDBG
19# TMP_LIBS += ../serdbg/$(ARCH)/libserdbg.a
20# endif
21
22if LIBSHELL
23TMP_LIBS += ../shell/$(ARCH)/libshell.a
24endif
25
26TMP_LIBS += ../dumpbuf/$(ARCH)/libdumpbuf.a
27TMP_LIBS += ../devnull/$(ARCH)/libdevnull.a
28TMP_LIBS += ../dummy/$(ARCH)/libdummy.a
29TMP_LIBS += ../mw-fb/$(ARCH)/libmw-fb.a
30TMP_LIBS += ../capture/$(ARCH)/libcapture.a
31
32#
33# (OPTIONAL) Add local stuff here using +=
34#
35
36$(LIB): $(TMP_LIBS)
37        $(RM) $@
38        $(RM) -r $(ARCH)
39        mkdir $(ARCH)
40        cd $(ARCH); for lib in $^; do $(AR) -xv ../$$lib; done
41        $(AR) ruv $@ $(ARCH)/*
42        $(RANLIB) $@
43
44all-local: $(ARCH) $(LIB)
45
46include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.