OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [libmisc/] [monitor/] [Makefile.am] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
##
2
## Makefile.am,v 1.9 2002/03/28 00:49:39 joel Exp
3
##
4
 
5
 
6
include_rtemsdir = $(includedir)/rtems
7
 
8
LIBNAME = libmonitor-tmp
9
LIB = $(ARCH)/$(LIBNAME).a
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
19
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) $(MP_C_FILES:%.c=$(ARCH)/%.o)
20
else
21
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
22
endif
23
 
24
include_rtems_HEADERS = monitor.h symbols.h
25
 
26
OBJS = $(C_O_FILES)
27
 
28
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
29
include $(top_srcdir)/../../../automake/compile.am
30
include $(top_srcdir)/../../../automake/lib.am
31
 
32
$(PROJECT_INCLUDE)/rtems:
33
        $(mkinstalldirs) $@
34
$(PROJECT_INCLUDE)/rtems/%.h: %.h
35
        $(INSTALL_DATA) $< $@
36
 
37
#
38
# (OPTIONAL) Add local stuff here using +=
39
#
40
 
41
$(LIB): $(OBJS)
42
        $(make-library)
43
 
44
PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
45
    $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
46
 
47
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
48
 
49
.PRECIOUS: $(LIB)
50
 
51
EXTRA_DIST = README mon-command.c mon-config.c mon-dname.c mon-driver.c \
52
    mon-extension.c mon-itask.c mon-manager.c mon-monitor.c mon-mpci.c \
53
    mon-object.c mon-prmisc.c mon-queue.c mon-server.c mon-symbols.c \
54
    mon-task.c
55
 
56
include $(top_srcdir)/../../../automake/local.am

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.