source: rtems/c/src/libmisc/monitor/Makefile.am @ be2cd08

4.104.114.84.95
Last change on this file since be2cd08 was be2cd08, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 00:49:39

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

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • cpuuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • devnull/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • dummy/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • dumpbuf/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • monitor/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • mw-fb/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • rootfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • rtmonuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • shell/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • stackchk/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • untar/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.4 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)/%.o) $(MP_C_FILES:%.c=$(ARCH)/%.o)
20else
21C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
22endif
23
24include_rtems_HEADERS = monitor.h symbols.h
25
26OBJS = $(C_O_FILES)
27
28include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
29include $(top_srcdir)/../../../automake/compile.am
30include $(top_srcdir)/../../../automake/lib.am
31
32$(PROJECT_INCLUDE)/rtems:
33        $(mkinstalldirs) $@
34$(PROJECT_INCLUDE)/rtems/%.h: %.h
35        $(INSTALL_DATA) $< $@
36
37#
38# (OPTIONAL) Add local stuff here using +=
39#
40
41$(LIB): $(OBJS)
42        $(make-library)
43
44PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
45    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
46
47all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
48
49.PRECIOUS: $(LIB)
50
51EXTRA_DIST = README mon-command.c mon-config.c mon-dname.c mon-driver.c \
52    mon-extension.c mon-itask.c mon-manager.c mon-monitor.c mon-mpci.c \
53    mon-object.c mon-prmisc.c mon-queue.c mon-server.c mon-symbols.c \
54    mon-task.c
55
56include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.