source: rtems/testsuites/tmtests/tm22/Makefile.am @ acdc144

4.104.114.84.95
Last change on this file since acdc144 was acdc144, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/11/05 at 08:25:58

Expand tmtests.am.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1##
2## $Id$
3##
4
5TEST = tm22
6
7MANAGERS = io message
8
9noinst_LIBRARIES = lib.a
10lib_a_SOURCES = task1.c system.h ../include/timesys.h
11
12DOCS = $(TEST).doc
13
14OBJS = $(lib_a_OBJECTS)
15
16
17PGM = ${ARCH}/$(TEST).exe
18
19include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
20include $(top_srcdir)/../automake/compile.am
21include $(top_srcdir)/../automake/leaf.am
22
23project_bspdir=$(PROJECT_ROOT)
24
25$(project_bspdir)/tests/$(dirstamp):
26        @$(mkdir_p) $(project_bspdir)/tests
27        @: > $(project_bspdir)/tests/$(dirstamp)
28
29$(project_bspdir)/tests/$(TEST).exe: $(PGM) $(project_bspdir)/tests/$(dirstamp)
30        $(INSTALL_PROGRAM) $< $@
31
32TMPINSTALL_FILES = $(project_bspdir)/tests/$(TEST).exe
33
34$(PGM): ${ARCH}/$(dirstamp)
35
36#
37# (OPTIONAL) Add local stuff here using +=
38#
39
40OPERATION_COUNT = @OPERATION_COUNT@
41AM_CPPFLAGS += -I$(top_srcdir)/include -DOPERATION_COUNT=$(OPERATION_COUNT)
42
43AM_CPPFLAGS += -I$(top_srcdir)/../support/include
44
45${PGM}: $(OBJS) $(LINK_FILES)
46        $(make-exe)
47
48all-local: $(TMPINSTALL_FILES)
49
50EXTRA_DIST = $(DOCS)
51
52CLEANFILES = $(TMPINSTALL_FILES)
53
54include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.