source: rtems/c/src/lib/libcpu/powerpc/mpc8xx/Makefile.am @ 65918026

4.104.114.84.95
Last change on this file since 65918026 was 65918026, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 2, 2005 at 12:39:29 PM

2005-01-02 Ralf Corsepius <ralf.corsepius@…>

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