1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | EXTRA_DIST = |
---|
6 | noinst_PROGRAMS = |
---|
7 | CLEANFILES = |
---|
8 | |
---|
9 | include $(top_srcdir)/../../../automake/compile.am |
---|
10 | |
---|
11 | if mpc8260 |
---|
12 | include_mpc8260dir = $(includedir)/mpc8260 |
---|
13 | |
---|
14 | include_HEADERS = include/mpc8260.h |
---|
15 | |
---|
16 | include_libcpudir = $(includedir)/libcpu |
---|
17 | |
---|
18 | ## console-generic |
---|
19 | include_mpc8260_HEADERS = include/console.h |
---|
20 | |
---|
21 | noinst_PROGRAMS += console-generic.rel |
---|
22 | console_generic_rel_SOURCES = console-generic/console-generic.c \ |
---|
23 | include/console.h |
---|
24 | console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
25 | console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
26 | |
---|
27 | ## clock |
---|
28 | noinst_PROGRAMS += clock.rel |
---|
29 | clock_rel_SOURCES = clock/clock.c |
---|
30 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
31 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
32 | |
---|
33 | ## cpm |
---|
34 | include_mpc8260_HEADERS += include/cpm.h |
---|
35 | |
---|
36 | noinst_PROGRAMS += cpm.rel |
---|
37 | cpm_rel_SOURCES = cpm/cp.c cpm/dpram.c cpm/brg.c include/cpm.h |
---|
38 | cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
39 | cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
40 | |
---|
41 | ## exceptions |
---|
42 | include_libcpu_HEADERS = exceptions/raw_exception.h |
---|
43 | |
---|
44 | noinst_PROGRAMS += exceptions.rel |
---|
45 | exceptions_rel_SOURCES = exceptions/raw_exception.c exceptions/asm_utils.S \ |
---|
46 | exceptions/raw_exception.h |
---|
47 | exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
48 | exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
49 | |
---|
50 | ## mmu |
---|
51 | include_mpc8260_HEADERS += include/mmu.h |
---|
52 | |
---|
53 | noinst_PROGRAMS += mmu.rel |
---|
54 | mmu_rel_SOURCES = mmu/mmu.c include/mmu.h |
---|
55 | mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
56 | mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
57 | |
---|
58 | ## timer |
---|
59 | noinst_PROGRAMS += timer.rel |
---|
60 | timer_rel_SOURCES = timer/timer.c |
---|
61 | timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
62 | timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
63 | endif |
---|
64 | |
---|
65 | all-local: $(PREINSTALL_FILES) |
---|
66 | |
---|
67 | ## -- |
---|
68 | |
---|
69 | PREINSTALL_DIRS = |
---|
70 | PREINSTALL_FILES = |
---|
71 | |
---|
72 | $(PROJECT_INCLUDE)/$(dirstamp): |
---|
73 | @$(mkdir_p) $(PROJECT_INCLUDE) |
---|
74 | @: > $(PROJECT_INCLUDE)/$(dirstamp) |
---|
75 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp) |
---|
76 | |
---|
77 | if mpc8260 |
---|
78 | $(PROJECT_INCLUDE)/mpc8260/$(dirstamp): |
---|
79 | @$(mkdir_p) $(PROJECT_INCLUDE)/mpc8260 |
---|
80 | @: > $(PROJECT_INCLUDE)/mpc8260/$(dirstamp) |
---|
81 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/mpc8260/$(dirstamp) |
---|
82 | |
---|
83 | $(PROJECT_INCLUDE)/mpc8260.h: include/mpc8260.h $(PROJECT_INCLUDE)/$(dirstamp) |
---|
84 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8260.h |
---|
85 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8260.h |
---|
86 | |
---|
87 | $(PROJECT_INCLUDE)/libcpu/$(dirstamp): |
---|
88 | @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu |
---|
89 | @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp) |
---|
90 | PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp) |
---|
91 | |
---|
92 | $(PROJECT_INCLUDE)/mpc8260/console.h: include/console.h $(PROJECT_INCLUDE)/mpc8260/$(dirstamp) |
---|
93 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8260/console.h |
---|
94 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8260/console.h |
---|
95 | |
---|
96 | $(PROJECT_INCLUDE)/mpc8260/cpm.h: include/cpm.h $(PROJECT_INCLUDE)/mpc8260/$(dirstamp) |
---|
97 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8260/cpm.h |
---|
98 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8260/cpm.h |
---|
99 | |
---|
100 | $(PROJECT_INCLUDE)/libcpu/raw_exception.h: exceptions/raw_exception.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp) |
---|
101 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/raw_exception.h |
---|
102 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/raw_exception.h |
---|
103 | |
---|
104 | $(PROJECT_INCLUDE)/mpc8260/mmu.h: include/mmu.h $(PROJECT_INCLUDE)/mpc8260/$(dirstamp) |
---|
105 | $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8260/mmu.h |
---|
106 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8260/mmu.h |
---|
107 | endif |
---|
108 | |
---|
109 | CLEANFILES += $(PREINSTALL_FILES) |
---|
110 | DISTCLEANFILES = $(PREINSTALL_DIRS) |
---|
111 | |
---|
112 | include $(top_srcdir)/../../../automake/local.am |
---|