source: rtems/cpukit/libmisc/monitor/Makefile.am @ 1c36c3e4

4.104.114.84.95
Last change on this file since 1c36c3e4 was 45e4f321, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/11/02 at 05:51:17

2002-08-11 Ralf Corsepius <corsepiu@…>

  • capture/Makefile.am: Use .$(OBJEXT) instead of .o.
    • cpuuse/Makefile.am: Use .$(OBJEXT) instead of .o.
    • devnull/Makefile.am: Use .$(OBJEXT) instead of .o.
    • dummy/Makefile.am: Use .$(OBJEXT) instead of .o.
    • dumpbuf/Makefile.am: Use .$(OBJEXT) instead of .o.
    • monitor/Makefile.am: Use .$(OBJEXT) instead of .o.
    • mw-fb/Makefile.am: Use .$(OBJEXT) instead of .o.
    • rtmonuse/Makefile.am: Use .$(OBJEXT) instead of .o.
    • serdbg/Makefile.am: Use .$(OBJEXT) instead of .o.
    • shell/Makefile.am: Use .$(OBJEXT) instead of .o.
    • stackchk/Makefile.am: Use .$(OBJEXT) instead of .o.
    • untar/Makefile.am: Use .$(OBJEXT) instead of .o.
  • 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)/%.$(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 $(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.