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 05/28/02 at 17:21:17

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
RevLine 
[d71c6c1]1##
2## $Id$
3##
4
5
6LIBNAME = libfs
7LIB = $(ARCH)/$(LIBNAME).a
8
[47ef863a]9include $(top_srcdir)/../../../../automake/multilib.am
10include $(top_srcdir)/../../../../automake/compile.am
11include $(top_srcdir)/../../../../automake/lib.am
[d71c6c1]12
13IMFSLIB = ../src/imfs/$(ARCH)/libimfs.a
14
[2de2bec]15if !UNIX
[f36a7bfc]16DOSFSLIB = ../src/dosfs/$(ARCH)/libdosfs.a
[2de2bec]17endif
[f36a7bfc]18
19TMP_LIBS = $(IMFSLIB) $(DOSFSLIB)
[d71c6c1]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
[47ef863a]42include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.