forked from Imagelibrary/rtems
Patch rtems-rc-19991117-13.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
to convert the libtests directory from Makefile.in to Makefile.am.
This commit is contained in:
42
testsuites/libtests/cpuuse/Makefile.am
Normal file
42
testsuites/libtests/cpuuse/Makefile.am
Normal file
@@ -0,0 +1,42 @@
|
||||
##
|
||||
## $Id$
|
||||
##
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
TEST = cpuuse
|
||||
|
||||
MANAGERS = io rate_monotonic
|
||||
|
||||
# C source names, if any, go here -- minus the .c
|
||||
C_FILES = init.c task1.c task2.c task3.c tswitch.c
|
||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||
|
||||
H_FILES = system.h
|
||||
noinst_HEADERS =$(H_FILES)
|
||||
|
||||
DOCTYPES = scn
|
||||
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 $(RTEMS_ROOT)/make/leaf.cfg
|
||||
include $(top_srcdir)/libtests.am
|
||||
|
||||
#
|
||||
# (OPTIONAL) Add local stuff here using +=
|
||||
#
|
||||
|
||||
${PGM}: $(OBJS) $(LINK_FILES)
|
||||
$(make-exe)
|
||||
|
||||
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
||||
|
||||
EXTRA_DIST = $(C_FILES) $(DOCS)
|
||||
|
||||
include $(top_srcdir)/../../../../automake/local.am
|
||||
Reference in New Issue
Block a user