1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | top_srcdir = @top_srcdir@ |
---|
8 | top_builddir = ../../../../../.. |
---|
9 | subdir = c/src/tests/mptests/mp06/node1 |
---|
10 | |
---|
11 | INSTALL = @INSTALL@ |
---|
12 | |
---|
13 | RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@ |
---|
14 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
15 | |
---|
16 | VPATH = @srcdir@:@srcdir@/.. |
---|
17 | |
---|
18 | NODE=1 |
---|
19 | TEST=mp06 |
---|
20 | PGM=${ARCH}/$(TEST)-node$(NODE).exe |
---|
21 | |
---|
22 | MANAGERS=io mp event timer |
---|
23 | |
---|
24 | # C source names, if any, go here -- minus the .c |
---|
25 | C_PIECES=init task1 |
---|
26 | C_FILES=$(C_PIECES:%=%.c) |
---|
27 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
28 | |
---|
29 | H_FILES=system.h |
---|
30 | |
---|
31 | DOCTYPES=doc scn |
---|
32 | DOCS=$(DOCTYPES:%=$(TEST).%) |
---|
33 | |
---|
34 | SRCS=$(DOCS) $(C_FILES) $(H_FILES) |
---|
35 | OBJS=$(C_O_FILES) |
---|
36 | |
---|
37 | PRINT_SRCS=$(DOCS) |
---|
38 | |
---|
39 | include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg |
---|
40 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
41 | |
---|
42 | # |
---|
43 | # (OPTIONAL) Add local stuff here using += |
---|
44 | # |
---|
45 | |
---|
46 | DEFINES += -DNODE_NUMBER=$(NODE) |
---|
47 | CPPFLAGS += -I. |
---|
48 | CFLAGS += |
---|
49 | |
---|
50 | LD_PATHS += |
---|
51 | LD_LIBS += |
---|
52 | LDFLAGS += |
---|
53 | |
---|
54 | # |
---|
55 | # Add your list of files to delete here. The config files |
---|
56 | # already know how to delete some stuff, so you may want |
---|
57 | # to just run 'make clean' first to see what gets missed. |
---|
58 | # 'make clobber' already includes 'make clean' |
---|
59 | # |
---|
60 | |
---|
61 | CLEAN_ADDITIONS += |
---|
62 | CLOBBER_ADDITIONS += |
---|
63 | |
---|
64 | all: ${ARCH} $(SRCS) $(PGM) |
---|
65 | $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/tests |
---|
66 | $(INSTALL_CHANGE) $(srcdir)/$(TEST).scn \ |
---|
67 | ${PROJECT_RELEASE}/tests/screens/mptests/node$(NODE)/$(TEST).scn |
---|
68 | |
---|
69 | ${PGM}: $(OBJS) $(LINK_FILES) |
---|
70 | $(make-exe) |
---|
71 | |
---|
72 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
73 | cd $(top_builddir) \ |
---|
74 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
---|