summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/base_mp/node1/Makefile.am
blob: 588096a573c26daa2ba2d2a397225f567b445bf4 (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
##
##  $Id$
##

MANAGERS = io mp

rtems_tests_PROGRAMS = base_mp-node1.exe
base_mp_node1_exe_SOURCES = ../init.c ../apptask.c ../system.h

scndir = $(rtems_testsdir)
dist_scn_DATA = base_mp-node1.scn
docdir = $(rtems_testsdir)
dist_doc_DATA = base_mp-node1.doc

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

base_mp_node1_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

AM_CPPFLAGS += -DNODE_NUMBER=1 -I.

LINK_OBJS = $(base_mp_node1_exe_OBJECTS) $(base_mp_node1_exe_LDADD)
LINK_LIBS = $(base_mp_node1_exe_LDLIBS)

base_mp-node1.exe$(EXEEXT): $(base_mp_node1_exe_OBJECTS) $(base_mp_node1_exe_DEPENDENCIES)
	@rm -f base_mp-node1.exe$(EXEEXT)
	$(make-exe)

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