source: rtems/cpukit/libmisc/monitor/Makefile.am @ 7fcc26ac

4.104.114.84.95
Last change on this file since 7fcc26ac was 7fcc26ac, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:32:34

2000-09-04 Ralf Corsepius <corsepiu@…>

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