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

4.104.114.84.9
Last change on this file since be2cd08 was be2cd08, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 28, 2002 at 12:49:39 AM

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • cpuuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • devnull/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • dummy/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • dumpbuf/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • monitor/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • mw-fb/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • rootfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • rtmonuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • shell/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • stackchk/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • untar/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • 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
13if HAS_NETWORKING
14NETLIBS=../rootfs/$(ARCH)/librootfs-tmp.a
15endif
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)/dummy.rel \
22    ../mw-fb/$(ARCH)/libmw-fb-tmp.a $(NETLIBS)
23
24$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
25        $(INSTALL_DATA) $< $@
26
27#
28# (OPTIONAL) Add local stuff here using +=
29#
30
31$(LIB): $(TMP_LIBS)
32        $(RM) $@
33        $(RM) -r $(ARCH)
34        mkdir $(ARCH)
35        cd $(ARCH); for lib in $^; do $(AR) -xv ../$$lib; done
36        $(AR) ruv $@ $(ARCH)/*
37        $(RANLIB) $@
38
39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
40
41all-local: $(ARCH) $(LIB) $(TMPINSTALL_FILES)
42
43.PRECIOUS: $(LIB)
44
45include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.