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

4.104.114.84.95
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 1.3 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/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
42PREINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/shm_driver.h \
43    $(PROJECT_INCLUDE)/mpci.h
44
45TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/shmdr$(LIB_VARIANT).rel
46
47if HAS_MP
48all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
49endif
50
51.PRECIOUS: $(PGM)
52
53EXTRA_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
57include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.