source: rtems/c/src/exec/libfs/wrapup/Makefile.am @ 2de2bec

4.104.114.84.95
Last change on this file since 2de2bec was 2de2bec, checked in by Joel Sherrill <joel.sherrill@…>, on 03/15/02 at 18:55:09

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

Reported and tracked as PR130.

  • src/dosfs/Makefile.am: Reworked, Disable dosfs for UNIX.
  • wrapup/Makefile.am: Disable dosfs for UNIX.
  • Property mode set to 100644
File size: 849 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.5
6
7LIBNAME = libfs
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
14IMFSLIB = ../src/imfs/$(ARCH)/libimfs.a
15
16if !UNIX
17DOSFSLIB = ../src/dosfs/$(ARCH)/libdosfs.a
18endif
19
20TMP_LIBS = $(IMFSLIB) $(DOSFSLIB)
21
22$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
23        $(INSTALL_DATA) $< $@
24
25#
26# (OPTIONAL) Add local stuff here using +=
27#
28
29$(LIB): $(TMP_LIBS)
30        $(RM) $@
31        $(RM) -r $(ARCH)
32        mkdir $(ARCH)
33        cd $(ARCH); for lib in $^; do $(AR) -xv ../$$lib; done
34        $(AR) ruv $@ $(ARCH)/*
35        $(RANLIB) $@
36
37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
38
39all-local: $(ARCH) $(LIB) $(TMPINSTALL_FILES)
40
41.PRECIOUS: $(LIB)
42
43include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.