source: rtems/cpukit/wrapup/Makefile.am @ dd2906e

4.104.114.84.95
Last change on this file since dd2906e was dd2906e, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 8, 2002 at 12:04:22 PM

2002-01-07 Ralf Corsepius <corsepiu@…>

  • wrapup/Makefile.am: Add install-hook. Remove SIZE_RTEMS.
  • include/rtems/fs.h: New, extracted from libio_.h.
  • include/rtems/userenv.h: New. extracted from libio_.h.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = librtemscpu
8LIB = $(ARCH)/$(LIBNAME).a
9
10include $(top_srcdir)/../../../automake/multilib.am
11include $(top_srcdir)/../../../automake/compile.am
12include $(top_srcdir)/../../../automake/lib.am
13
14CPU_OBJS = $(wildcard ../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.rel)
15CORE_OBJS = $(wildcard ../score/src/$(ARCH)/*.o)
16SAPI_OBJS = $(wildcard ../sapi/src/$(ARCH)/*.o)
17RTEMS_OBJS = $(wildcard ../rtems/src/$(ARCH)/*.o)
18
19if HAS_POSIX
20POSIX_OBJS = $(wildcard ../posix/src/$(ARCH)/*.o)
21endif
22
23if HAS_ITRON
24ITRON_OBJS = $(wildcard ../itron/src/$(ARCH)/*.o)
25endif
26
27OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) \
28    $(POSIX_OBJS) $(ITRON_OBJS)
29
30$(LIB): ${OBJS}
31        $(make-library)
32
33TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a
34
35$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
36        $(INSTALL_DATA) $< $@
37
38install-hook: $(LIB)
39        @$(mkinstalldirs) $(libdir)
40        $(INSTALL_DATA) $(LIB) $(libdir)
41
42all-local: ${ARCH} $(TMPINSTALL_FILES)
43
44include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.