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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libmisc/] [monitor/] [Makefile.am] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
##
2
## $Id: Makefile.am,v 1.2 2001-09-27 12:01:43 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
LIBNAME = libmonitor-tmp
8
LIB = $(ARCH)/$(LIBNAME).a
9
 
10
# We only build multiprocessing related files if HAS_MP was defined
11
MP_C_FILES = mon-mpci.c
12
 
13
C_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
 
17
if HAS_MP
18
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) $(MP_C_FILES:%.c=$(ARCH)/%.o)
19
else
20
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
21
endif
22
 
23
H_FILES = monitor.h symbols.h
24
 
25
OBJS = $(C_O_FILES)
26
 
27
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
28
include $(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
 
42
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems \
43
    $(H_FILES:%=$(PROJECT_INCLUDE)/rtems/%)
44
 
45
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
46
 
47
.PRECIOUS: $(LIB)
48
 
49
EXTRA_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
 
54
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.