source: rtems/cpukit/libmisc/monitor/Makefile.am @ 5e622a9

4.104.114.84.95
Last change on this file since 5e622a9 was 5e622a9, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/12/02 at 03:08:54

2002-12-12 Ralf Corsepius <corsepiu@…>

Moving libmisc from rtems/c/src to rtems/cpukit.

  • Makefile.am: Reflect new path.
  • configure.ac: Reflect new path. Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP. Remove RTEMS_PROJECT_ROOT.
  • capture/Makefile.am: Reflect new path. Remove OBJS from all-local.
  • cpuuse/Makefile.am: Ditto.
  • devnull/Makefile.am: Ditto.
  • dummy/Makefile.am: Ditto.
  • dumpbuf/Makefile.am: Ditto.
  • monitor/Makefile.am: Ditto.
  • mw-fb/Makefile.am: Ditto.
  • rtmonuse/Makefile.am: Ditto.
  • serdbg/Makefile.am: Ditto.
  • shell/Makefile.am: Ditto.
  • stackchk/Makefile.am: Ditto.
  • untar/Makefile.am: Ditto.
  • wrapup/Makefile.am: Reflect new path.
  • Property mode set to 100644
File size: 1.3 KB
Line 
1##
2## $Id$
3##
4
5
6include_rtemsdir = $(includedir)/rtems
7
8LIBNAME = libmonitor-tmp
9LIB = $(ARCH)/$(LIBNAME).a
10
11# We only build multiprocessing related files if HAS_MP was defined
12MP_C_FILES = mon-mpci.c
13
14C_FILES = mon-command.c mon-symbols.c mon-prmisc.c mon-monitor.c \
15    mon-object.c mon-server.c mon-task.c mon-queue.c mon-driver.c \
16    mon-dname.c mon-itask.c mon-extension.c mon-manager.c mon-config.c
17
18if HAS_MP
19C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) $(MP_C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
20else
21C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
22endif
23
24include_rtems_HEADERS = monitor.h symbols.h
25
26OBJS = $(C_O_FILES)
27
28include $(top_srcdir)/../automake/compile.am
29include $(top_srcdir)/../automake/lib.am
30
31$(PROJECT_INCLUDE)/rtems:
32        $(mkinstalldirs) $@
33$(PROJECT_INCLUDE)/rtems/%.h: %.h
34        $(INSTALL_DATA) $< $@
35
36#
37# (OPTIONAL) Add local stuff here using +=
38#
39
40$(LIB): $(OBJS)
41        $(make-library)
42
43PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
44    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
45
46all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
47
48.PRECIOUS: $(LIB)
49
50EXTRA_DIST = README mon-command.c mon-config.c mon-dname.c mon-driver.c \
51    mon-extension.c mon-itask.c mon-manager.c mon-monitor.c mon-mpci.c \
52    mon-object.c mon-prmisc.c mon-queue.c mon-server.c mon-symbols.c \
53    mon-task.c
54
55include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.