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