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