source: rtems/cpukit/libmisc/monitor/Makefile.am @ df49c60

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 1.3 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/lib.am
29
30$(PROJECT_INCLUDE)/rtems:
31        $(mkinstalldirs) $@
32$(PROJECT_INCLUDE)/rtems/%.h: %.h
33        $(INSTALL_DATA) $< $@
34
35#
36# (OPTIONAL) Add local stuff here using +=
37#
38
39$(LIB): $(OBJS)
40        $(make-library)
41
42PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
43    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
44
45all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
46
47.PRECIOUS: $(LIB)
48
49EXTRA_DIST = README mon-command.c mon-config.c mon-dname.c mon-driver.c \
50    mon-extension.c mon-itask.c mon-manager.c mon-monitor.c mon-mpci.c \
51    mon-object.c mon-prmisc.c mon-queue.c mon-server.c mon-symbols.c \
52    mon-task.c monitor.h symbols.h
53
54include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.