source: rtems/c/src/lib/libbsp/shmdr/Makefile.in @ 4e36a2f

4.104.114.84.95
Last change on this file since 4e36a2f was 48bfd992, checked in by Joel Sherrill <joel.sherrill@…>, on 11/30/99 at 19:58:02

Renamed shm.h to shm_driver.h to avoid conflicts with POSIX shm.h.

Renamed file shmsupp/intr.c in some BSPs to shmsupp/cause_intr.c to
avoid conflict with rtems/src/intr.c (Classic API Interrupt Manager).

  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ..
9subdir = shmdr
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16PGM = ${ARCH}/shmdr.rel
17
18# C source names, if any, go here -- minus the .c
19C_PIECES = addlq cnvpkt getlq dump fatal getpkt init initlq intr mpisr poll \
20    receive retpkt send setckvec
21C_FILES = $(C_PIECES:%=%.c)
22C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
23
24H_PIECES = shm_driver mpci
25H_FILES = $(H_PIECES:%=$(srcdir)/%.h)
26
27SRCS = $(C_FILES) $(H_FILES)
28OBJS = $(C_O_FILES)
29
30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
31include $(RTEMS_ROOT)/make/leaf.cfg
32
33INSTALL_CHANGE = @INSTALL_CHANGE@
34mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
35
36INSTALLDIRS = $(PROJECT_INCLUDE)
37
38$(INSTALLDIRS):
39        @$(mkinstalldirs) $(INSTALLDIRS)
40
41#
42# (OPTIONAL) Add local stuff here using +=
43#
44
45DEFINES +=
46CPPFLAGS +=
47CFLAGS +=
48
49LD_PATHS +=
50LD_LIBS +=
51LDFLAGS +=
52
53#
54# Add your list of files to delete here.  The config files
55#  already know how to delete some stuff, so you may want
56#  to just run 'make clean' first to see what gets missed.
57#  'make clobber' already includes 'make clean'
58#
59
60CLEAN_ADDITIONS +=
61CLOBBER_ADDITIONS +=
62
63$(PGM): ${OBJS}
64        $(make-rel)
65
66all: preinstall ${ARCH} $(SRCS) $(PGM)
67        $(INSTALL_VARIANT) -m 644 $(PGM) $(PROJECT_RELEASE)/lib
68
69# the .rel file built here will be put into libbsp.a by
70#   ../$(RTEMS_BSP_FAMILY)/wrapup/Makefile
71
72preinstall:
73        @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)
74
75EXTRA_DIST = README
76
77Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
78        cd $(top_builddir) \
79         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.