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

4.104.114.84.95
Last change on this file since 5a8a05b was 5a8a05b, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 24, 2003 at 12:05:44 PM

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

  • configure.ac: Add check for weak function attribute. Remove AM_CONDITIONAL([RTEMS_LIBSHELL]. Add AM_CONDITIONAL(LIBSHELL), AM_CONDITIONAL(LIBSERDBG).
  • capture/Makefile.am: Use *.a instead of *-tmp.a.
  • cpuuse/Makefile.am: Use *.a instead of *-tmp.a.
  • devnull/Makefile.am: Use *.a instead of *-tmp.a.
  • dummy/Makefile.am: Use *.a instead of *-tmp.a.
  • dumpbuf/Makefile.am: Use *.a instead of *-tmp.a.
  • monitor/Makefile.am: Use *.a instead of *-tmp.a.
  • mw-fb/Makefile.am: Use *.a instead of *-tmp.a.
  • rtmonuse/Makefile.am: Use *.a instead of *-tmp.a.
  • serdbg/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSERDBG is true.
  • shell/Makefile.am: Use *.a instead of *-tmp.a. Build iff LIBSHELL is true.
  • stackchk/Makefile.am: Use *.a instead of *-tmp.a.
  • untar/Makefile.am: Use *.a instead of *-tmp.a.
  • wrapup/Makefile.am: Reflect changes above.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5
6include_rtemsdir = $(includedir)/rtems
7
8LIBNAME = libmonitor
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
18OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
19if HAS_MP
20OBJS += $(MP_C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
21endif
22
23include_rtems_HEADERS = monitor.h symbols.h
24
25include $(top_srcdir)/../automake/compile.am
26include $(top_srcdir)/../automake/lib.am
27
28$(PROJECT_INCLUDE)/rtems:
29        $(mkinstalldirs) $@
30$(PROJECT_INCLUDE)/rtems/%.h: %.h
31        $(INSTALL_DATA) $< $@
32
33#
34# (OPTIONAL) Add local stuff here using +=
35#
36
37$(LIB): $(OBJS)
38        $(make-library)
39
40PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
41    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
42
43all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB)
44
45.PRECIOUS: $(LIB)
46
47EXTRA_DIST = README mon-command.c mon-config.c mon-dname.c mon-driver.c \
48    mon-extension.c mon-itask.c mon-manager.c mon-monitor.c mon-mpci.c \
49    mon-object.c mon-prmisc.c mon-queue.c mon-server.c mon-symbols.c \
50    mon-task.c
51
52include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.