source: rtems/cpukit/wrapup/Makefile.am @ 1960925d

4.104.114.84.95
Last change on this file since 1960925d was 1960925d, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 28, 2002 at 12:46:40 AM

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

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • include/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.0 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
26OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) \
27    $(POSIX_OBJS) $(ITRON_OBJS)
28
29$(LIB): ${OBJS}
30        $(make-library)
31
32TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a
33
34$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
35        $(INSTALL_DATA) $< $@
36
37install-hook: $(LIB)
38        @$(mkinstalldirs) $(libdir)
39        $(INSTALL_DATA) $(LIB) $(libdir)
40
41all-local: ${ARCH} $(TMPINSTALL_FILES)
42
43include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.