source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.am @ 1102f897

4.104.114.84.9
Last change on this file since 1102f897 was 1102f897, checked in by Till Straumann <strauman@…>, on Jan 31, 2007 at 3:43:12 AM

2007-01-30 Till Straumann <strauman@…>

  • Makefile.am, preinstall.am, include/bsp.h: Use VME DMA support implemented by vmeUniverse and libbsp/powerpc/shared/vme/vme_universe_dma.c Added explanation for use of BSP_PIC_DO_EOI by BSP implementors who derive from this 'include/bsp.h'.
  • Property mode set to 100644
File size: 6.2 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7# wrapup is the one that actually builds and installs the library
8# from the individual .rel files built in other directories
9SUBDIRS = . bootloader
10
11include $(top_srcdir)/../../../../automake/compile.am
12include $(top_srcdir)/../../bsp.am
13
14dist_project_lib_DATA = bsp_specs
15
16include_HEADERS = include/bsp.h
17include_HEADERS += include/tm27.h
18
19nodist_include_HEADERS = include/bspopts.h
20DISTCLEANFILES = include/bspopts.h
21
22noinst_PROGRAMS =
23
24include_bspdir = $(includedir)/bsp
25
26include_HEADERS += ../../powerpc/shared/include/nvram.h
27include_HEADERS += ../../shared/include/coverhd.h
28include_HEADERS += ../../shared/tod.h
29
30EXTRA_DIST = ../../powerpc/shared/start/start.S
31start.$(OBJEXT): ../../powerpc/shared/start/start.S
32        $(CPPASCOMPILE) -o $@ -c $<
33project_lib_DATA = start.$(OBJEXT)
34
35EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
36rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
37        $(CPPASCOMPILE) -o $@ -c $<
38project_lib_DATA += rtems_crti.$(OBJEXT)
39
40dist_project_lib_DATA += ../shared/startup/linkcmds
41
42noinst_PROGRAMS += startup.rel
43startup_rel_SOURCES = ../../powerpc/shared/startup/bspstart.c \
44        ../../powerpc/shared/startup/pretaskinghook.c \
45        ../../powerpc/shared/startup/zerobss.c \
46    ../../powerpc/shared/startup/pgtbl_setup.c \
47    ../../powerpc/shared/startup/pgtbl_activate.c \
48    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
49    ../../shared/bspclean.c ../../shared/bsplibc.c ../../shared/bsppost.c \
50    ../../shared/gnatinstallhandler.c
51startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
52startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
53
54noinst_PROGRAMS += tod.rel
55tod_rel_SOURCES = ../../shared/tod.c ../../powerpc/shared/tod/todcfg.c
56tod_rel_CPPFLAGS = $(AM_CPPFLAGS)
57tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
58
59noinst_PROGRAMS += pclock.rel
60pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c
61pclock_rel_CPPFLAGS = $(AM_CPPFLAGS)
62pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63
64include_bsp_HEADERS = ../../powerpc/shared/console/consoleIo.h
65include_bsp_HEADERS += ../../powerpc/shared/console/uart.h
66
67console_CPPFLAGS = -DSTATIC_LOG_ALLOC
68noinst_PROGRAMS += console.rel
69console_rel_SOURCES = ../../powerpc/shared/console/polled_io.c \
70    ../../powerpc/shared/console/uart.c \
71    ../../powerpc/shared/console/console.c \
72    ../../powerpc/shared/console/inch.c \
73    ../../powerpc/shared/console/reboot.c \
74    ../../powerpc/shared/console/consoleIo.h \
75    ../../powerpc/shared/console/keyboard.h \
76    ../../powerpc/shared/console/uart.h
77console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(console_CPPFLAGS)
78console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79
80include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h
81
82noinst_PROGRAMS += irq.rel
83irq_rel_SOURCES = ../../powerpc/shared/irq/irq_init.c ../../powerpc/shared/irq/openpic_i8259_irq.c \
84    ../../powerpc/shared/irq/i8259.c ../../powerpc/shared/irq/irq.c \
85    ../../powerpc/shared/irq/irq_asm.S ../../powerpc/shared/irq/irq.h
86irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
87irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
88
89include_bsp_HEADERS += ../../powerpc/shared/motorola/motorola.h
90
91noinst_PROGRAMS += motorola.rel
92motorola_rel_SOURCES = ../../powerpc/shared/motorola/motorola.h \
93    ../../powerpc/shared/motorola/motorola.c
94motorola_rel_CPPFLAGS = $(AM_CPPFLAGS)
95motorola_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
96
97include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
98
99noinst_PROGRAMS += openpic.rel
100openpic_rel_SOURCES = ../../powerpc/shared/openpic/openpic.h \
101    ../../powerpc/shared/openpic/openpic.c \
102    ../../powerpc/shared/openpic/openpic.h
103
104openpic_rel_CPPFLAGS = $(AM_CPPFLAGS)
105openpic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
106
107include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
108
109noinst_PROGRAMS += pci.rel
110pci_rel_SOURCES = ../../powerpc/shared/pci/pci.c \
111    ../../powerpc/shared/pci/detect_raven_bridge.c \
112    ../../powerpc/shared/pci/pcifinddevice.c ../../powerpc/shared/pci/pci.h
113pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
114pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
115
116include_bsp_HEADERS += ../../powerpc/shared/residual/residual.h \
117    ../../powerpc/shared/residual/pnp.h
118
119noinst_PROGRAMS += residual.rel
120residual_rel_SOURCES = ../../powerpc/shared/residual/pnp.h \
121    ../../powerpc/shared/residual/residual.h \
122    ../../powerpc/shared/residual/residual.c
123residual_rel_CPPFLAGS = $(AM_CPPFLAGS)
124residual_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
125
126include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h
127
128noinst_PROGRAMS += vectors.rel
129vectors_rel_SOURCES = ../../powerpc/shared/vectors/vectors.h \
130    ../../powerpc/shared/vectors/vectors_init.c \
131    ../../powerpc/shared/vectors/vectors.S
132vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
133vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
134
135include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
136    ../../shared/vmeUniverse/vme_am_defs.h \
137    ../../shared/vmeUniverse/VME.h \
138    ../../powerpc/shared/vme/VMEConfig.h \
139    ../../shared/vmeUniverse/vmeUniverseDMA.h\
140    ../../shared/vmeUniverse/bspVmeDmaList.h\
141    ../../shared/vmeUniverse/VMEDMA.h
142
143noinst_PROGRAMS += vme.rel
144vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \
145    ../../shared/vmeUniverse/bspVmeDmaList.c \
146    ../../shared/vmeUniverse/vmeUniverse.h \
147    ../../shared/vmeUniverse/vme_am_defs.h \
148    ../../shared/vmeUniverse/VME.h \
149    ../../powerpc/shared/vme/vmeconfig.c \
150    ../../powerpc/shared/vme/vme_universe.c \
151    ../../powerpc/shared/vme/vme_universe_dma.c \
152    ../../powerpc/shared/vme/VMEConfig.h
153vme_rel_CPPFLAGS = $(AM_CPPFLAGS)
154vme_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
155
156noinst_LIBRARIES = libbsp.a
157libbsp_a_SOURCES =
158libbsp_a_LIBADD = startup.rel pclock.rel console.rel irq.rel openpic.rel \
159    pci.rel residual.rel vectors.rel motorola.rel tod.rel vme.rel
160libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
161    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
162    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
163    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
164    ../../../libcpu/@RTEMS_CPU@/mpc6xx/exceptions.rel \
165    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
166    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
167
168EXTRA_DIST += BOOTING README.mtx603e README.MVME2100 README.MVME2300 \
169    README.OTHERBOARDS README.mcp750 README.MVME2307 README.dec21140
170EXTRA_DIST += times.mcp750 times.mvme2307
171
172include $(srcdir)/preinstall.am
173include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.