blob: 64f5bbfafa2bb354f016f1e7fcd80f885fb9f8f0 (
plain) (
tree)
|
|
##
## $Id$
##
TEST = tm09
MANAGERS = io message
noinst_LIBRARIES = lib.a
lib_a_SOURCES = task1.c system.h ../include/timesys.h
DOCS = $(TEST).doc
OBJS = $(lib_a_OBJECTS)
PGM = ${ARCH}/$(TEST).exe
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am
project_bspdir=$(PROJECT_ROOT)
$(project_bspdir)/tests/$(dirstamp):
@$(mkdir_p) $(project_bspdir)/tests
@: > $(project_bspdir)/tests/$(dirstamp)
$(project_bspdir)/tests/$(TEST).exe: $(PGM) $(project_bspdir)/tests/$(dirstamp)
$(INSTALL_PROGRAM) $< $@
TMPINSTALL_FILES = $(project_bspdir)/tests/$(TEST).exe
$(PGM): ${ARCH}/$(dirstamp)
#
# (OPTIONAL) Add local stuff here using +=
#
OPERATION_COUNT = @OPERATION_COUNT@
AM_CPPFLAGS += -I$(top_srcdir)/include -DOPERATION_COUNT=$(OPERATION_COUNT)
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
${PGM}: $(OBJS) $(LINK_FILES)
$(make-exe)
all-local: $(TMPINSTALL_FILES)
EXTRA_DIST = $(DOCS)
CLEANFILES = $(TMPINSTALL_FILES)
include $(top_srcdir)/../automake/local.am
|