source: rtems/testsuites/mptests/mp07/node2/Makefile.am @ 7e38877

4.104.114.84.95
Last change on this file since 7e38877 was 7e38877, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/11/05 at 09:03:24

Eliminate TEST.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1##
2## $Id$
3##
4
5NODE = 2
6PGM = $(ARCH)/mp07-node$(NODE).exe
7
8MANAGERS = io mp event timer
9
10noinst_LIBRARIES = lib.a
11lib_a_SOURCES = ../init.c ../task1.c ../system.h
12
13DOCS = mp07-node$(NODE).doc mp07-node$(NODE).scn
14
15OBJS = $(lib_a_OBJECTS)
16
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../automake/compile.am
20include $(top_srcdir)/../automake/leaf.am
21
22project_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/mp07-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)/mp07-node$(NODE).scn: mp07-node$(NODE).scn $(project_bspdir)/tests/screens/mptests/node$(NODE)/$(dirstamp)
36        $(INSTALL_DATA) $< $@
37
38TMPINSTALL_FILES = \
39$(project_bspdir)/tests/mp07-node$(NODE)-node$(NODE).exe \
40$(project_bspdir)/tests/screens/mptests/node$(NODE)/mp07-node$(NODE).scn
41
42$(PGM): ${ARCH}/$(dirstamp)
43
44AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I$(srcdir)/..
45
46if HAS_MP
47
48#
49# (OPTIONAL) Add local stuff here using +=
50#
51
52AM_CPPFLAGS += -I$(top_srcdir)/../support/include
53
54${PGM}: $(OBJS) $(LINK_FILES)
55        $(make-exe)
56
57all-local: $(TMPINSTALL_FILES)
58else
59all-local:
60endif
61
62EXTRA_DIST = $(DOCS)
63
64CLEANFILES = $(TMPINSTALL_FILES)
65
66include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.