1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | include $(top_srcdir)/automake/compile.am |
---|
6 | |
---|
7 | include_rtemsdir = $(includedir)/rtems |
---|
8 | include_rtems_HEADERS = rtems/asm.h |
---|
9 | |
---|
10 | include_rtems_tic4xdir = $(includedir)/rtems/tic4x |
---|
11 | include_rtems_tic4x_HEADERS = rtems/tic4x/c4xio.h |
---|
12 | |
---|
13 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
14 | include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/c4x.h \ |
---|
15 | rtems/score/types.h rtems/score/cpu_asm.h |
---|
16 | |
---|
17 | noinst_LIBRARIES = libscorecpu.a |
---|
18 | libscorecpu_a_SOURCES = cpu.c irq.c cpu_asm.S |
---|
19 | libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) |
---|
20 | |
---|
21 | all-local: $(PREINSTALL_FILES) |
---|
22 | |
---|
23 | PREINSTALL_DIRS = |
---|
24 | PREINSTALL_FILES = |
---|
25 | |
---|
26 | $(PROJECT_INCLUDE)/rtems/$(dirstamp): |
---|
27 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems |
---|
28 | @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
29 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
30 | |
---|
31 | $(PROJECT_INCLUDE)/rtems/asm.h: rtems/asm.h $(PROJECT_INCLUDE)/rtems/$(dirstamp) |
---|
32 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/asm.h |
---|
33 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/asm.h |
---|
34 | |
---|
35 | $(PROJECT_INCLUDE)/rtems/tic4x/$(dirstamp): |
---|
36 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/tic4x |
---|
37 | @: > $(PROJECT_INCLUDE)/rtems/tic4x/$(dirstamp) |
---|
38 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/tic4x/$(dirstamp) |
---|
39 | |
---|
40 | $(PROJECT_INCLUDE)/rtems/tic4x/c4xio.h: rtems/tic4x/c4xio.h $(PROJECT_INCLUDE)/rtems/tic4x/$(dirstamp) |
---|
41 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/tic4x/c4xio.h |
---|
42 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/tic4x/c4xio.h |
---|
43 | |
---|
44 | $(PROJECT_INCLUDE)/rtems/score/$(dirstamp): |
---|
45 | @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score |
---|
46 | @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
47 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
48 | |
---|
49 | $(PROJECT_INCLUDE)/rtems/score/cpu.h: rtems/score/cpu.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
50 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu.h |
---|
51 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu.h |
---|
52 | |
---|
53 | $(PROJECT_INCLUDE)/rtems/score/c4x.h: rtems/score/c4x.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
54 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/c4x.h |
---|
55 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/c4x.h |
---|
56 | |
---|
57 | $(PROJECT_INCLUDE)/rtems/score/types.h: rtems/score/types.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
58 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/types.h |
---|
59 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/types.h |
---|
60 | |
---|
61 | $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h: rtems/score/cpu_asm.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp) |
---|
62 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h |
---|
63 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/cpu_asm.h |
---|
64 | |
---|
65 | CLEANFILES = $(PREINSTALL_FILES) |
---|
66 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
67 | |
---|
68 | include $(top_srcdir)/automake/local.am |
---|