source:
rtems/cpukit/libmisc/monitor/Makefile.am
@
52058a6b
Last change on this file since 52058a6b was 52058a6b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/10/02 at 08:48:53 | |
---|---|
|
|
File size: 1.3 KB |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[70810dc] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[9608320] | 4 | |
5 | ||
[620e8263] | 6 | include_rtemsdir = $(includedir)/rtems |
7 | ||
[9608320] | 8 | LIBNAME = libmonitor-tmp |
[70810dc] | 9 | LIB = $(ARCH)/$(LIBNAME).a |
[9608320] | 10 | |
11 | # We only build multiprocessing related files if HAS_MP was defined | |
12 | MP_C_FILES = mon-mpci.c | |
13 | ||
14 | C_FILES = mon-command.c mon-symbols.c mon-prmisc.c mon-monitor.c \ | |
15 | mon-object.c mon-server.c mon-task.c mon-queue.c mon-driver.c \ | |
16 | mon-dname.c mon-itask.c mon-extension.c mon-manager.c mon-config.c | |
17 | ||
18 | if HAS_MP | |
[45e4f321] | 19 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) $(MP_C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
[9608320] | 20 | else |
[45e4f321] | 21 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
[9608320] | 22 | endif |
23 | ||
[620e8263] | 24 | include_rtems_HEADERS = monitor.h symbols.h |
[9608320] | 25 | |
26 | OBJS = $(C_O_FILES) | |
27 | ||
[7fcc26ac] | 28 | include $(top_srcdir)/../../../automake/compile.am |
[70810dc] | 29 | include $(top_srcdir)/../../../automake/lib.am |
[9608320] | 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 | ||
[70810dc] | 40 | $(LIB): $(OBJS) |
[9608320] | 41 | $(make-library) |
42 | ||
[aea9bb46] | 43 | PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \ |
[620e8263] | 44 | $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%) |
[70810dc] | 45 | |
46 | all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) | |
47 | ||
48 | .PRECIOUS: $(LIB) | |
[9608320] | 49 | |
[70810dc] | 50 | EXTRA_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 \ | |
[620e8263] | 53 | mon-task.c |
[9608320] | 54 | |
55 | include $(top_srcdir)/../../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.