summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests/mp08/node1/Makefile.am
blob: f5fc6a953f14c1f71b8a0b53d0beea3aa7fd8879 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
##
## $Id$
##

PGM = $(ARCH)/mp08-node1.exe

MANAGERS = io mp semaphore

noinst_LIBRARIES = lib.a
lib_a_SOURCES = ../init.c ../task1.c ../system.h

testsdir = $(libdir)/tests
scndir = $(testsdir)
dist_scn_DATA = mp08-node1.scn
docdir = $(testsdir)
dist_doc_DATA = mp08-node1.doc

OBJS = $(lib_a_OBJECTS)

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am

$(PGM): ${ARCH}/$(dirstamp)

AM_CPPFLAGS += -DNODE_NUMBER=1 -I$(srcdir)/..

AM_CPPFLAGS += -I$(top_srcdir)/../support/include

tests_SCRIPTS = $(PGM)

$(PGM): $(OBJS) $(LINK_FILES)
	$(make-exe)

include $(top_srcdir)/../automake/local.am