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

4.104.114.84.95
Last change on this file since aea9bb46 was aea9bb46, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 28, 2001 at 1:34:40 PM

2001-09-28 Ralf Corsepius <corsepiu@…>

  • untar/Makefile.am: Use 'PREINSTALL_FILES ='.
  • monitor/Makefile.am: Use 'PREINSTALL_FILES ='.
  • shell/Makefile.am: Use 'PREINSTALL_FILES ='.
  • devnull/Makefile.am: Use 'PREINSTALL_FILES ='.
  • dumpbuf/Makefile.am: Use 'PREINSTALL_FILES ='.
  • mw-fb/Makefile.am: Use 'PREINSTALL_FILES ='.
  • stackchk/Makefile.am: Use 'PREINSTALL_FILES ='.
  • rtmonuse/Makefile.am: Use 'PREINSTALL_FILES ='.
  • cpuuse/Makefile.am: Use 'PREINSTALL_FILES ='.
  • rootfs/Makefile.am: Use 'PREINSTALL_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.