source: rtems/testsuites/sptests/sp07/Makefile.am @ 7c1e3f4c

4.104.114.84.95
Last change on this file since 7c1e3f4c was 7c1e3f4c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/11/05 at 08:18:16

Expand sptests.am.

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