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

4.104.114.84.95
Last change on this file since bc31326c was 3776f87b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/16/03 at 12:59:27

2003-08-16 Ralf Corsepius <corsepiu@…>

Makefile.am: Reflect having moved automake.
shmdr/Makefile.am: Reflect having moved automake.

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