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

4.104.114.84.95
Last change on this file since 847dbbe was 847dbbe, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 1, 2000 at 1:41:54 PM

Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@…>
that contains:

  • The fix for the gen68360/network/Makefile.am
  • automatically set permissions to 755 to scripts/buildall and scripts-ada/buildall (I remembered a trick to achieve this :).
  • automake support for libbsp/* and libcpu/* (Attn: This part will finally break old-style configuration for all non-public cpus)

NOTES:

  • This patch has only been tested for a random selection of BSPs (I haven't rebuilt all toolchains yet).
  • This patch is against rtem-cvs as of this morning (MET).

To apply:

patch -p1 <rtems-rc-20000118-5.diff
cvs rm -f ./c/src/lib/libbsp/Makefile.in
cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in
cvs rm -f ./c/src/lib/libcpu/Makefile.in
cvs add ./c/src/lib/libbsp/Makefile.am
cvs add ./c/src/lib/libbsp/shmdr/Makefile.am
cvs add ./c/src/lib/libcpu/Makefile.am
./bootstrap

  • 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.