source: rtems/testsuites/sptests/sp32/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.2 KB
Line 
1##
2## $Id$
3##
4
5TEST = sp32
6
7MANAGERS = io rate_monotonic
8
9noinst_LIBRARIES = lib.a
10lib_a_SOURCES = init.c
11
12DOCS = $(TEST).scn
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
32$(project_bspdir)/tests/screens/sptests/$(dirstamp):
33        @$(mkdir_p) $(project_bspdir)/tests/screens/sptests
34        @: > $(project_bspdir)/tests/screens/sptests/$(dirstamp)
35
36$(project_bspdir)/tests/screens/sptests/$(TEST).scn: $(TEST).scn $(project_bspdir)/tests/screens/sptests/$(dirstamp)
37        $(INSTALL_DATA) $< $@
38
39TMPINSTALL_FILES = $(project_bspdir)/tests/$(TEST).exe
40TMPINSTALL_FILES += $(project_bspdir)/tests/screens/sptests/$(TEST).scn
41
42$(PGM): ${ARCH}/$(dirstamp)
43
44AM_CPPFLAGS += -I$(top_srcdir)/../support/include
45
46${PGM}: $(OBJS) $(LINK_FILES)
47        $(make-exe)
48
49all-local: $(TMPINSTALL_FILES)
50
51EXTRA_DIST = $(DOCS)
52
53CLEANFILES = $(TMPINSTALL_FILES)
54
55include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.