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

4.104.114.84.95
Last change on this file since d805c496 was d805c496, checked in by Joel Sherrill <joel.sherrill@…>, on 09/28/01 at 23:15:51

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

  • dummy/dummy.c: Now a useful configuration that starts main().
  • wrapup/Makefile.am: Include a base level configuration in RTEMS library.
  • 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 ../dumpbuf/$(ARCH)/libdumpbuf-tmp.a \
22    ../devnull/$(ARCH)/libdevnull-tmp.a ../dummy/$(ARCH)/dummy.rel \
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.