source: rtems/testsuites/psxtests/psxfile01/Makefile.am @ 7e38877

4.104.114.84.95
Last change on this file since 7e38877 was 7e38877, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/11/05 at 09:03:24

Eliminate TEST.

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