source: rtems/c/src/lib/libbsp/shmdr/Makefile.am @ a314d3b4

4.104.114.84.95
Last change on this file since a314d3b4 was 4adcc2c, checked in by Joel Sherrill <joel.sherrill@…>, on 09/05/00 at 15:58:06

2000-09-04 Ralf Corsepius <corsepiu@…>

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