summaryrefslogblamecommitdiffstats
path: root/c/src/tests/tmtests/tm05/Makefile.am
blob: 50a4d3c29eab9a2b829e897ded6e27983660f4b5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
  
       
  

                              
 



             



                                      
                           











                                                 
                                                     

















                                                                           
##
## $Id$
##

AUTOMAKE_OPTIONS = foreign 1.4

TEST = tm05

MANAGERS = io

C_FILES = task1.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)

H_FILES = system.h
noinst_HEADERS = $(H_FILES)

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

SRCS = $(DOCS) $(C_FILES) $(H_FILES)
OBJS = $(C_O_FILES)

PRINT_SRCS = $(DOCS)

PGM = ${ARCH}/$(TEST).exe

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

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

OPERATION_COUNT = @OPERATION_COUNT@
AM_CPPFLAGS += -I$(top_srcdir)/include -DOPERATION_COUNT=$(OPERATION_COUNT)

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

all-local: $(ARCH) $(TMPINSTALL_FILES)

EXTRA_DIST = $(C_FILES) $(DOCS)

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