1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | NODE = 1 |
---|
6 | PGM = $(ARCH)/mp13-node$(NODE).exe |
---|
7 | |
---|
8 | MANAGERS = io mp message semaphore |
---|
9 | |
---|
10 | noinst_LIBRARIES = lib.a |
---|
11 | lib_a_SOURCES = ../init.c ../task1.c ../task2.c ../system.h |
---|
12 | |
---|
13 | DOCS = mp13-node$(NODE).doc mp13-node$(NODE).scn |
---|
14 | |
---|
15 | OBJS = $(lib_a_OBJECTS) |
---|
16 | |
---|
17 | |
---|
18 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
19 | include $(top_srcdir)/../automake/compile.am |
---|
20 | include $(top_srcdir)/../automake/leaf.am |
---|
21 | |
---|
22 | project_bspdir=$(PROJECT_ROOT) |
---|
23 | |
---|
24 | $(project_bspdir)/tests/$(dirstamp): |
---|
25 | @$(mkdir_p) $(project_bspdir)/tests |
---|
26 | @: > $(project_bspdir)/tests/$(dirstamp) |
---|
27 | |
---|
28 | $(project_bspdir)/tests/mp13-node$(NODE)-node$(NODE).exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) |
---|
29 | $(INSTALL_PROGRAM) $< $@ |
---|
30 | |
---|
31 | $(project_bspdir)/tests/screens/mptests/node$(NODE)/$(dirstamp): |
---|
32 | @$(mkdir_p) $(project_bspdir)/tests/screens/mptests/node$(NODE) |
---|
33 | @: > $(project_bspdir)/tests/screens/mptests/node$(NODE)/$(dirstamp) |
---|
34 | |
---|
35 | $(project_bspdir)/tests/screens/mptests/node$(NODE)/mp13-node$(NODE).scn: mp13-node$(NODE).scn $(project_bspdir)/tests/screens/mptests/node$(NODE)/$(dirstamp) |
---|
36 | $(INSTALL_DATA) $< $@ |
---|
37 | |
---|
38 | TMPINSTALL_FILES = \ |
---|
39 | $(project_bspdir)/tests/mp13-node$(NODE)-node$(NODE).exe \ |
---|
40 | $(project_bspdir)/tests/screens/mptests/node$(NODE)/mp13-node$(NODE).scn |
---|
41 | |
---|
42 | $(PGM): ${ARCH}/$(dirstamp) |
---|
43 | |
---|
44 | AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/.. |
---|
45 | |
---|
46 | if HAS_MP |
---|
47 | |
---|
48 | # |
---|
49 | # (OPTIONAL) Add local stuff here using += |
---|
50 | # |
---|
51 | |
---|
52 | AM_CPPFLAGS += -I$(top_srcdir)/../support/include |
---|
53 | |
---|
54 | ${PGM}: $(OBJS) $(LINK_FILES) |
---|
55 | $(make-exe) |
---|
56 | |
---|
57 | all-local: $(TMPINSTALL_FILES) |
---|
58 | else |
---|
59 | all-local: |
---|
60 | endif |
---|
61 | |
---|
62 | EXTRA_DIST = $(DOCS) |
---|
63 | |
---|
64 | CLEANFILES = $(TMPINSTALL_FILES) |
---|
65 | |
---|
66 | include $(top_srcdir)/../automake/local.am |
---|