summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/samples/base_mp/node2/Makefile.am
blob: af1adff1628578ab4beb2a69f50fc9152bf21558 (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
## $Id$

NODE=2

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

include $(top_srcdir)/ada.am

AM_ADAFLAGS += -I$(srcdir)/..

node2$(EXEEXT): ../mptest.adb init.o
	$(GNATCOMPILE) -margs -a $< -o $@

init.o: ../../../support/init.c
	$(COMPILE.c) -DNODE_NUMBER=$(NODE) -I$(srcdir)/.. -c $<

if EXPADA
noinst_PROGRAMS = node2
endif

node2_SOURCES = mptest-per_node_configuration.adb

EXTRA_DIST = base_mp.scn

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