source: rtems/c/src/lib/libcpu/powerpc/mpc5xx/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## Makefile.am,v 1.4 2002/03/28 00:48:14 joel Exp
3##
4
5CLEANFILES =
6EXTRA_DIST =
7noinst_PROGRAMS =
8
9include $(top_srcdir)/../../../automake/compile.am
10
11if mpc5xx
12include_mpc5xxdir = $(includedir)/mpc5xx
13include_libcpudir = $(includedir)/libcpu
14
15include_HEADERS = include/mpc5xx.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_mpc5xx_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## exceptions
32include_libcpu_HEADERS = exceptions/raw_exception.h
33
34noinst_PROGRAMS += exceptions.rel
35exceptions_rel_SOURCES = exceptions/raw_exception.c
36exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
37exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
38
39## irq
40include_libcpu_HEADERS += irq/irq.h
41
42noinst_PROGRAMS += irq.rel
43irq_rel_SOURCES = irq/irq.c irq/irq_init.c irq/irq_asm.S
44irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
45irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47## timer
48noinst_PROGRAMS += timer.rel
49timer_rel_SOURCES = timer/timer.c
50timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
51timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52
53## vectors
54include_libcpu_HEADERS += vectors/vectors.h
55
56noinst_PROGRAMS += vectors.rel
57vectors_rel_SOURCES = vectors/vectors_init.c vectors/vectors.S
58vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
59vectors_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 mpc5xx
74$(PROJECT_INCLUDE)/mpc5xx/$(dirstamp):
75        @$(mkdir_p) $(PROJECT_INCLUDE)/mpc5xx
76        @: > $(PROJECT_INCLUDE)/mpc5xx/$(dirstamp)
77PREINSTALL_DIRS += $(PROJECT_INCLUDE)/mpc5xx/$(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)/mpc5xx.h: include/mpc5xx.h $(PROJECT_INCLUDE)/$(dirstamp)
85        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc5xx.h
86PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc5xx.h
87
88$(PROJECT_INCLUDE)/mpc5xx/console.h: include/console.h $(PROJECT_INCLUDE)/mpc5xx/$(dirstamp)
89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc5xx/console.h
90PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc5xx/console.h
91
92$(PROJECT_INCLUDE)/libcpu/raw_exception.h: exceptions/raw_exception.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
93        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/raw_exception.h
94PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/raw_exception.h
95
96$(PROJECT_INCLUDE)/libcpu/irq.h: irq/irq.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
97        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/irq.h
98PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/irq.h
99
100$(PROJECT_INCLUDE)/libcpu/vectors.h: vectors/vectors.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
101        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/vectors.h
102PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/vectors.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.