source: rtems/cpukit/libmisc/monitor/Makefile.am @ 9fae0f87

4.104.114.84.95
Last change on this file since 9fae0f87 was 620e8263, checked in by Joel Sherrill <joel.sherrill@…>, on 02/05/01 at 18:26:26

2001-02-03 Ralf Corsepius <corsepiu@…>

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