source: rtems/cpukit/libfs/wrapup/Makefile.am @ 47ef863a

4.104.114.84.95
Last change on this file since 47ef863a was 47ef863a, checked in by Joel Sherrill <joel.sherrill@…>, on May 28, 2002 at 5:21:17 PM

2002-05-18 Ralf Corsepius <corsepiu@…>

Move from c/src/libfs to c/src/exec/libfs

  • configure.ac: Reflect move.
  • Makefile.am: Ditto.
  • src/Makefile.am: Ditto.
  • src/dosfs/Makefile.am: Ditto.
  • src/imfs/Makefile.am: Ditto.
  • wrapup/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 832 bytes
Line 
1##
2## $Id$
3##
4
5
6LIBNAME = libfs
7LIB = $(ARCH)/$(LIBNAME).a
8
9include $(top_srcdir)/../../../../automake/multilib.am
10include $(top_srcdir)/../../../../automake/compile.am
11include $(top_srcdir)/../../../../automake/lib.am
12
13IMFSLIB = ../src/imfs/$(ARCH)/libimfs.a
14
15if !UNIX
16DOSFSLIB = ../src/dosfs/$(ARCH)/libdosfs.a
17endif
18
19TMP_LIBS = $(IMFSLIB) $(DOSFSLIB)
20
21$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
22        $(INSTALL_DATA) $< $@
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
36TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
37
38all-local: $(ARCH) $(LIB) $(TMPINSTALL_FILES)
39
40.PRECIOUS: $(LIB)
41
42include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.