source:
rtems/cpukit/libmisc/monitor/Makefile.am
@
aea9bb46
Last change on this file since aea9bb46 was aea9bb46, checked in by Joel Sherrill <joel.sherrill@…>, on 09/28/01 at 13:34:40 | |
---|---|
|
|
File size: 1.4 KB |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[70810dc] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[9608320] | 4 | |
5 | AUTOMAKE_OPTIONS = foreign 1.4 | |
6 | ||
[620e8263] | 7 | include_rtemsdir = $(includedir)/rtems |
8 | ||
[9608320] | 9 | LIBNAME = libmonitor-tmp |
[70810dc] | 10 | LIB = $(ARCH)/$(LIBNAME).a |
[9608320] | 11 | |
12 | # We only build multiprocessing related files if HAS_MP was defined | |
13 | MP_C_FILES = mon-mpci.c | |
14 | ||
15 | C_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 | ||
19 | if HAS_MP | |
[70810dc] | 20 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) $(MP_C_FILES:%.c=$(ARCH)/%.o) |
[9608320] | 21 | else |
[70810dc] | 22 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
[9608320] | 23 | endif |
24 | ||
[620e8263] | 25 | include_rtems_HEADERS = monitor.h symbols.h |
[9608320] | 26 | |
27 | OBJS = $(C_O_FILES) | |
28 | ||
29 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg | |
[7fcc26ac] | 30 | include $(top_srcdir)/../../../automake/compile.am |
[70810dc] | 31 | include $(top_srcdir)/../../../automake/lib.am |
[9608320] | 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 | ||
[70810dc] | 42 | $(LIB): $(OBJS) |
[9608320] | 43 | $(make-library) |
44 | ||
[aea9bb46] | 45 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \ |
[620e8263] | 46 | $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) |
[70810dc] | 47 | |
48 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) | |
49 | ||
50 | .PRECIOUS: $(LIB) | |
[9608320] | 51 | |
[70810dc] | 52 | EXTRA_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 \ | |
[620e8263] | 55 | mon-task.c |
[9608320] | 56 | |
57 | include $(top_srcdir)/../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.