4.104.114.84.95
Last change
on this file since f80faeb 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
|
Rev | Line | |
---|
[254b4450] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | @SET_MAKE@ |
---|
| 6 | srcdir = @srcdir@ |
---|
| 7 | top_srcdir = @top_srcdir@ |
---|
| 8 | VPATH=@srcdir@ |
---|
| 9 | |
---|
| 10 | PGM=${ARCH}/shmdr.rel |
---|
| 11 | |
---|
| 12 | # C source names, if any, go here -- minus the .c |
---|
| 13 | C_PIECES=addlq cnvpkt getlq dump fatal getpkt init initlq intr mpisr \ |
---|
| 14 | poll receive retpkt send setckvec |
---|
| 15 | C_FILES=$(C_PIECES:%=%.c) |
---|
| 16 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
| 17 | |
---|
| 18 | H_PIECES=shm mpci |
---|
| 19 | H_FILES=$(H_PIECES:%=$(srcdir)/%.h) |
---|
| 20 | |
---|
| 21 | SRCS=$(C_FILES) $(H_FILES) |
---|
| 22 | OBJS=$(C_O_FILES) |
---|
| 23 | |
---|
| 24 | include $(RTEMS_CUSTOM) |
---|
| 25 | include $(PROJECT_ROOT)/make/leaf.cfg |
---|
| 26 | |
---|
| 27 | # |
---|
| 28 | # (OPTIONAL) Add local stuff here using += |
---|
| 29 | # |
---|
| 30 | |
---|
| 31 | DEFINES += |
---|
| 32 | CPPFLAGS += |
---|
| 33 | CFLAGS += |
---|
| 34 | |
---|
| 35 | LD_PATHS += |
---|
| 36 | LD_LIBS += |
---|
| 37 | LDFLAGS += |
---|
| 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 | |
---|
| 46 | CLEAN_ADDITIONS += |
---|
| 47 | CLOBBER_ADDITIONS += |
---|
| 48 | |
---|
| 49 | ${PGM}: ${SRCS} ${OBJS} |
---|
| 50 | $(make-rel) |
---|
| 51 | |
---|
| 52 | all: 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 |
---|
[f80faeb] | 56 | # ../$(RTEMS_BSP_FAMILY)/wrapup/Makefile |
---|
[254b4450] | 57 | |
---|
| 58 | preinstall: |
---|
| 59 | $(INSTALL) -m 444 $(H_FILES) ${PROJECT_RELEASE}/include |
---|
Note: See
TracBrowser
for help on using the repository browser.