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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [shmdr/] [Makefile.am] - Blame information for rev 778

Go to most recent revision | 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:12 chris Exp $
3
##
4
 
5
AUTOMAKE_OPTIONS = foreign 1.4
6
 
7
PGM = $(ARCH)/shmdr.rel
8
 
9
C_FILES = addlq.c cnvpkt.c getlq.c dump.c fatal.c getpkt.c init.c initlq.c \
10
    intr.c mpisr.c poll.c receive.c retpkt.c send.c setckvec.c
11
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
12
 
13
H_FILES = shm_driver.h mpci.h
14
 
15
OBJS = $(C_O_FILES)
16
 
17
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18
include $(top_srcdir)/../../../../automake/lib.am
19
 
20
#
21
# (OPTIONAL) Add local stuff here using +=
22
#
23
 
24
$(PGM): $(OBJS)
25
        $(make-rel)
26
 
27
$(PROJECT_RELEASE)/lib/shmdr$(LIB_VARIANT).rel: $(ARCH)/shmdr.rel
28
        $(INSTALL_DATA) $< $@
29
 
30
# the .rel file built here will be put into libbsp.a by
31
#   ../$(RTEMS_BSP_FAMILY)/wrapup/Makefile
32
 
33
$(PROJECT_INCLUDE):
34
        $(mkinstalldirs) $@
35
 
36
$(PROJECT_INCLUDE)/shm_driver.h: shm_driver.h
37
        $(INSTALL_DATA) $< $@
38
 
39
$(PROJECT_INCLUDE)/mpci.h: mpci.h
40
        $(INSTALL_DATA) $< $@
41
 
42
PREINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/shm_driver.h \
43
    $(PROJECT_INCLUDE)/mpci.h
44
 
45
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/shmdr$(LIB_VARIANT).rel
46
 
47
if HAS_MP
48
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
49
endif
50
 
51
.PRECIOUS: $(PGM)
52
 
53
EXTRA_DIST = README addlq.c cnvpkt.c dump.c fatal.c getlq.c getpkt.c init.c \
54
    initlq.c intr.c mpci.h mpisr.c poll.c receive.c retpkt.c send.c \
55
    setckvec.c shm_driver.h
56
 
57
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.