source: rtems/testsuites/mptests/mp13/node1/Makefile.am @ 685e9cd

4.104.114.84.95
Last change on this file since 685e9cd was 685e9cd, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/11/05 at 08:22:25

Expand mptests.am.

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