summaryrefslogblamecommitdiffstats
path: root/testsuites/mptests/mp02/node2/Makefile.am
blob: ef1ffe22cdc74ea3f5824fd60f5f46a8e0e9318a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
  
       
  
 





                                     

                                             



                              

                       



                                                 
                                            
                                         

                                

                                                   





                                          


                             
                              





                    

                                
                                          
##
## $Id$
##

NODE = 2
TEST = mp02
PGM = ${ARCH}/$(TEST)-node$(NODE).exe

MANAGERS = io mp

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

DOCTYPES = doc scn
DOCS = $(DOCTYPES:%=$(TEST).%)

SRCS = $(DOCS)
OBJS = $(lib_a_OBJECTS)

PRINT_SRCS = $(DOCS)

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

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

if HAS_MP

#
# (OPTIONAL) Add local stuff here using +=
#

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

all-local: $(TMPINSTALL_FILES)
else
all-local:
endif

EXTRA_DIST = $(DOCS)

CLEANFILES = $(TMPINSTALL_FILES)

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