source: rtems/c/src/lib/libcpu/powerpc/mpc8260/Makefile.am @ aaed235

4.104.114.84.95
Last change on this file since aaed235 was aaed235, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 6, 2004 at 11:45:08 AM

2004-02-06 Ralf Corsepius <corsepiu@…>

  • mpc505/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am: Don't include .../lib.am.
  • Property mode set to 100644
File size: 5.2 KB
Line 
1##
2## $Id$
3##
4
5EXTRA_DIST =
6EXTRA_PROGRAMS =
7CLEANFILES =
8noinst_DATA =
9
10include $(top_srcdir)/../../../automake/compile.am
11
12if mpc8260
13include_mpc8260dir = $(includedir)/mpc8260
14
15include_HEADERS = include/mpc8260.h
16
17include_libcpudir = $(includedir)/libcpu
18include_libcpu_HEADERS = exceptions/raw_exception.h
19
20## console-generic
21include_mpc8260_HEADERS = include/console.h
22
23EXTRA_PROGRAMS += console-generic.rel
24CLEANFILES += console-generic.rel
25console_generic_rel_SOURCES = console-generic/console-generic.c \
26    include/console.h
27console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
28console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
29
30EXTRA_PROGRAMS += console-generic_g.rel
31CLEANFILES += console-generic_g.rel
32console_generic_g_rel_SOURCES = $(console_generic_rel_SOURCES)
33console_generic_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
34console_generic_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
35
36noinst_DATA += console-generic$(LIB_VARIANT).rel
37
38## clock
39EXTRA_PROGRAMS += clock.rel
40CLEANFILES += clock.rel
41clock_rel_SOURCES = clock/clock.c
42clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
43clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45EXTRA_PROGRAMS += clock_g.rel
46CLEANFILES += clock_g.rel
47clock_g_rel_SOURCES = $(clock_rel_SOURCES)
48clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
49clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
50
51noinst_DATA += clock$(LIB_VARIANT).rel
52
53## cpm
54include_mpc8260_HEADERS += include/cpm.h
55
56EXTRA_PROGRAMS += cpm.rel
57CLEANFILES += cpm.rel
58cpm_rel_SOURCES = cpm/cp.c cpm/dpram.c cpm/brg.c include/cpm.h
59cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
60cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62EXTRA_PROGRAMS += cpm_g.rel
63CLEANFILES += cpm_g.rel
64cpm_g_rel_SOURCES = $(cpm_rel_SOURCES)
65cpm_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
66cpm_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
67
68noinst_DATA += cpm$(LIB_VARIANT).rel
69
70## exceptions
71include_libcpu_HEADERS += exceptions/raw_exception.h
72
73EXTRA_PROGRAMS += exceptions.rel
74CLEANFILES += exceptions.rel
75exceptions_rel_SOURCES = exceptions/raw_exception.c exceptions/asm_utils.S \
76    exceptions/raw_exception.h
77exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
78exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79
80EXTRA_PROGRAMS += exceptions_g.rel
81CLEANFILES += exceptions_g.rel
82exceptions_g_rel_SOURCES = $(exceptions_rel_SOURCES)
83exceptions_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
84exceptions_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
85
86noinst_DATA += exceptions$(LIB_VARIANT).rel
87
88## mmu
89include_mpc8260_HEADERS += include/mmu.h
90
91EXTRA_PROGRAMS += mmu.rel
92CLEANFILES += mmu.rel
93mmu_rel_SOURCES = mmu/mmu.c include/mmu.h
94mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
95mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
96
97EXTRA_PROGRAMS += mmu_g.rel
98CLEANFILES += mmu_g.rel
99mmu_g_rel_SOURCES = $(mmu_rel_SOURCES)
100mmu_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
101mmu_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
102
103noinst_DATA += mmu$(LIB_VARIANT).rel
104
105## timer
106EXTRA_PROGRAMS += timer.rel
107CLEANFILES += timer.rel
108timer_rel_SOURCES = timer/timer.c
109timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
110timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
111
112EXTRA_PROGRAMS += timer_g.rel
113CLEANFILES += timer_g.rel
114timer_g_rel_SOURCES = $(timer_rel_SOURCES)
115timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
116timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
117
118noinst_DATA += timer$(LIB_VARIANT).rel
119endif
120
121all-local: $(PREINSTALL_FILES)
122
123## --
124
125PREINSTALL_DIRS =
126PREINSTALL_FILES =
127
128$(PROJECT_INCLUDE)/$(dirstamp):
129        @$(mkdir_p) $(PROJECT_INCLUDE)
130        @: > $(PROJECT_INCLUDE)/$(dirstamp)
131PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
132
133if mpc8260
134$(PROJECT_INCLUDE)/mpc8260/$(dirstamp):
135        @$(mkdir_p) $(PROJECT_INCLUDE)/mpc8260
136        @: > $(PROJECT_INCLUDE)/mpc8260/$(dirstamp)
137PREINSTALL_DIRS += $(PROJECT_INCLUDE)/mpc8260/$(dirstamp)
138
139$(PROJECT_INCLUDE)/mpc8260.h: include/mpc8260.h $(PROJECT_INCLUDE)/$(dirstamp)
140        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8260.h
141PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8260.h
142
143$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
144        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
145        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
146PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
147
148$(PROJECT_INCLUDE)/libcpu/raw_exception.h: exceptions/raw_exception.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
149        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/raw_exception.h
150PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/raw_exception.h
151
152$(PROJECT_INCLUDE)/mpc8260/console.h: include/console.h $(PROJECT_INCLUDE)/mpc8260/$(dirstamp)
153        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8260/console.h
154PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8260/console.h
155
156$(PROJECT_INCLUDE)/mpc8260/cpm.h: include/cpm.h $(PROJECT_INCLUDE)/mpc8260/$(dirstamp)
157        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8260/cpm.h
158PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8260/cpm.h
159
160$(PROJECT_INCLUDE)/libcpu/raw_exception.h: exceptions/raw_exception.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
161        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/raw_exception.h
162PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/raw_exception.h
163
164$(PROJECT_INCLUDE)/mpc8260/mmu.h: include/mmu.h $(PROJECT_INCLUDE)/mpc8260/$(dirstamp)
165        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc8260/mmu.h
166PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc8260/mmu.h
167endif
168
169CLEANFILES += $(PREINSTALL_FILES)
170DISTCLEANFILES = $(PREINSTALL_DIRS)
171
172include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.