source: rtems/testsuites/mptests/mp10/node2/Makefile.am @ ceb459e

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

Various cleanups.

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