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