source: rtems/c/src/lib/libbsp/shmdr/Makefile.in @ 3473f605

4.104.114.84.95
Last change on this file since 3473f605 was f80faeb, checked in by Joel Sherrill <joel.sherrill@…>, on 08/27/97 at 20:33:11

Modified to support the BSP family concept.

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