source: rtems/testsuites/psxtests/psx07/Makefile.am @ 197c913

4.104.114.84.95
Last change on this file since 197c913 was 197c913, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/11/05 at 08:14:41

Expand psxtests.am.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1##
2## $Id$
3##
4
5TEST = psx07
6
7MANAGERS = all
8
9noinst_LIBRARIES = lib.a
10lib_a_SOURCES = init.c task.c system.h ../include/pmacros.h
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/psxtests/$(dirstamp):
33        @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests
34        @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp)
35
36$(project_bspdir)/tests/screens/psxtests/$(TEST).scn: $(TEST).scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp)
37        $(INSTALL_DATA) $< $@
38
39TMPINSTALL_FILES = $(project_bspdir)/tests/$(TEST).exe
40TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/$(TEST).scn
41
42$(PGM): ${ARCH}/$(dirstamp)
43
44#
45# (OPTIONAL) Add local stuff here using +=
46#
47
48AM_CPPFLAGS += -I$(top_srcdir)/include
49
50AM_CPPFLAGS += -I$(top_srcdir)/../support/include
51
52${PGM}: $(OBJS) $(LINK_FILES)
53        $(make-exe)
54
55all-local: $(TMPINSTALL_FILES)
56
57EXTRA_DIST = $(DOCS)
58
59CLEANFILES = $(TMPINSTALL_FILES)
60
61include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.