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

4.104.114.84.95
Last change on this file since 9abd9c8 was 9abd9c8, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 15, 2003 at 6:24:30 PM

2003-01-15 Ralf Corsepius <corsepiu@…>

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