1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | PGM = $(ARCH)/mp02-node1.exe |
---|
6 | |
---|
7 | MANAGERS = io mp |
---|
8 | |
---|
9 | noinst_LIBRARIES = lib.a |
---|
10 | lib_a_SOURCES = ../init.c ../task1.c ../system.h |
---|
11 | |
---|
12 | DOCS = mp02-node1.doc mp02-node1.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/mp02-node1.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) |
---|
28 | $(INSTALL_PROGRAM) $< $@ |
---|
29 | |
---|
30 | $(project_bspdir)/tests/screens/mptests/node1/$(dirstamp): |
---|
31 | @$(mkdir_p) $(project_bspdir)/tests/screens/mptests/node1 |
---|
32 | @: > $(project_bspdir)/tests/screens/mptests/node1/$(dirstamp) |
---|
33 | |
---|
34 | $(project_bspdir)/tests/screens/mptests/node1/mp02-node1.scn: mp02-node1.scn $(project_bspdir)/tests/screens/mptests/node1/$(dirstamp) |
---|
35 | $(INSTALL_DATA) $< $@ |
---|
36 | |
---|
37 | TMPINSTALL_FILES = $(project_bspdir)/tests/mp02-node1.exe |
---|
38 | TMPINSTALL_FILES += $(project_bspdir)/tests/screens/mptests/node1/mp02-node1.scn |
---|
39 | |
---|
40 | $(PGM): ${ARCH}/$(dirstamp) |
---|
41 | |
---|
42 | AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/.. |
---|
43 | |
---|
44 | if HAS_MP |
---|
45 | |
---|
46 | # |
---|
47 | # (OPTIONAL) Add local stuff here using += |
---|
48 | # |
---|
49 | |
---|
50 | AM_CPPFLAGS += -I$(top_srcdir)/../support/include |
---|
51 | |
---|
52 | ${PGM}: $(OBJS) $(LINK_FILES) |
---|
53 | $(make-exe) |
---|
54 | |
---|
55 | all-local: $(TMPINSTALL_FILES) |
---|
56 | else |
---|
57 | all-local: |
---|
58 | endif |
---|
59 | |
---|
60 | EXTRA_DIST = $(DOCS) |
---|
61 | |
---|
62 | CLEANFILES = $(TMPINSTALL_FILES) |
---|
63 | |
---|
64 | include $(top_srcdir)/../automake/local.am |
---|