source: rtems/cpukit/wrapup/Makefile.am @ 8a79786

4.104.114.84.95
Last change on this file since 8a79786 was 35cd6ae, checked in by Joel Sherrill <joel.sherrill@…>, on 05/28/02 at 17:21:23

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

  • configure.ac: Add libblock. Add libfs. Add AM_CONDITIONAL(UNIX).
  • wrapup/Makefile.am: Add libblock, libfs/dosfs, libfs/imfs.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1##
2## $Id$
3##
4
5
6LIBNAME = librtemscpu
7LIB = $(ARCH)/$(LIBNAME).a
8
9include $(top_srcdir)/../../../automake/multilib.am
10include $(top_srcdir)/../../../automake/compile.am
11include $(top_srcdir)/../../../automake/lib.am
12
13CPU_OBJS = $(wildcard ../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel)
14CORE_OBJS = $(wildcard ../score/src/$(ARCH)/*.o)
15SAPI_OBJS = $(wildcard ../sapi/src/$(ARCH)/*.o)
16RTEMS_OBJS = $(wildcard ../rtems/src/$(ARCH)/*.o)
17
18if HAS_POSIX
19POSIX_OBJS = $(wildcard ../posix/src/$(ARCH)/*.o)
20endif
21
22if HAS_ITRON
23ITRON_OBJS = $(wildcard ../itron/src/$(ARCH)/*.o)
24endif
25
26LIBCSUPPORT_OBJS = $(wildcard ../libcsupport/src/$(ARCH)/*.o)
27
28LIBBLOCK_OBJS = $(wildcard ../libblock/$(ARCH)/*.o)
29if !UNIX
30LIBDOSFS_OBJS = $(wildcard ../libfs/src/dosfs/$(ARCH)/*.o)
31endif
32LIBIMFS_OBJS = $(wildcard ../libfs/src/imfs/$(ARCH)/*.o)
33
34OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) \
35    $(POSIX_OBJS) $(ITRON_OBJS) $(LIBCSUPPORT_OBJS) \
36    $(LIBBLOCK_OBJS) $(LIBDOSFS_OBJS) $(LIBIMFS_OBJS)
37
38$(LIB): ${OBJS}
39        $(make-library)
40
41TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a
42
43$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
44        $(INSTALL_DATA) $< $@
45
46install-hook: $(LIB)
47        @$(mkinstalldirs) $(libdir)
48        $(INSTALL_DATA) $(LIB) $(libdir)
49
50all-local: ${ARCH} $(TMPINSTALL_FILES)
51
52include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.