4.104.114.84.95
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | TEST = itronmbox01 |
---|
6 | PGM = ${ARCH}/$(TEST).exe |
---|
7 | |
---|
8 | MANAGERS = all |
---|
9 | |
---|
10 | noinst_LIBRARIES = lib.a |
---|
11 | lib_a_SOURCES = init.c system.h |
---|
12 | |
---|
13 | DOCS = $(TEST).doc $(TEST).scn |
---|
14 | |
---|
15 | OBJS = $(lib_a_OBJECTS) |
---|
16 | |
---|
17 | |
---|
18 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
19 | include $(top_srcdir)/../automake/compile.am |
---|
20 | include $(top_srcdir)/../automake/leaf.am |
---|
21 | |
---|
22 | project_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/$(TEST).exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) |
---|
29 | $(INSTALL_PROGRAM) $< $@ |
---|
30 | |
---|
31 | $(project_bspdir)/tests/screens/itrontests/$(dirstamp): |
---|
32 | @$(mkdir_p) $(project_bspdir)/tests/screens/itrontests |
---|
33 | @: > $(project_bspdir)/tests/screens/itrontests/$(dirstamp) |
---|
34 | |
---|
35 | $(project_bspdir)/tests/screens/itrontests/$(TEST).scn: $(TEST).scn $(project_bspdir)/tests/screens/itrontests/$(dirstamp) |
---|
36 | $(INSTALL_DATA) $< $@ |
---|
37 | |
---|
38 | TMPINSTALL_FILES = \ |
---|
39 | $(project_bspdir)/tests/$(TEST).exe \ |
---|
40 | $(project_bspdir)/tests/screens/itrontests/$(TEST).scn |
---|
41 | |
---|
42 | $(PGM): ${ARCH}/$(dirstamp) |
---|
43 | |
---|
44 | |
---|
45 | # |
---|
46 | # (OPTIONAL) Add local stuff here using += |
---|
47 | # |
---|
48 | |
---|
49 | AM_CPPFLAGS += -I$(top_srcdir)/../support/include |
---|
50 | |
---|
51 | ${PGM}: $(OBJS) $(LINK_FILES) |
---|
52 | $(make-exe) |
---|
53 | |
---|
54 | all-local: $(TMPINSTALL_FILES) |
---|
55 | |
---|
56 | EXTRA_DIST = $(DOCS) |
---|
57 | |
---|
58 | CLEANFILES = $(TMPINSTALL_FILES) |
---|
59 | |
---|
60 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.