source: rtems/cpukit/libmisc/wrapup/Makefile.am @ af536c96

4.104.114.84.95
Last change on this file since af536c96 was 2543311, checked in by Joel Sherrill <joel.sherrill@…>, on 09/21/01 at 14:02:27

2001-09-14 Joel Sherrill <joel@…>

  • configure.in, rootfs/Makefile.am: Added conditional to make sure rootfs does not get built with networking is disabled. Also added include of compile.am to rootfs/Makefile.am.
  • wrapup/Makefile.am: Added rootfs conditionally if networking enabled.
  • Property mode set to 100644
File size: 1.1 KB
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
14if HAS_NETWORKING
15NETLIBS=../rootfs/$(ARCH)/librootfs-tmp.a
16endif
17
18TMP_LIBS = ../monitor/$(ARCH)/libmonitor-tmp.a \
19    ../untar/$(ARCH)/libuntar-tmp.a ../stackchk/$(ARCH)/libstackchk-tmp.a \
20    ../cpuuse/$(ARCH)/libcpuuse-tmp.a ../rtmonuse/$(ARCH)/librtmonuse-tmp.a \
21    ../shell/$(ARCH)/libshell-tmp.a \
22    ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a ../devnull/$(ARCH)/libdevnull-tmp.a \
23    ../mw-fb/$(ARCH)/libmw-fb-tmp.a $(NETLIBS)
24
25$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
26        $(INSTALL_DATA) $< $@
27
28#
29# (OPTIONAL) Add local stuff here using +=
30#
31
32$(LIB): $(TMP_LIBS)
33        $(RM) $@
34        $(RM) -r $(ARCH)
35        mkdir $(ARCH)
36        cd $(ARCH); for lib in $^; do $(AR) -xv ../$$lib; done
37        $(AR) ruv $@ $(ARCH)/*
38        $(RANLIB) $@
39
40TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
41
42all-local: $(ARCH) $(LIB) $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(LIB)
45
46include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.