source: rtems/testsuites/mptests/mp01/node1/Makefile.am @ fcc85d2

4.104.114.84.95
Last change on this file since fcc85d2 was fcc85d2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/11/05 at 09:12:26

Hard-code node number.

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