source: rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am @ 78f96ab

4.104.114.84.95
Last change on this file since 78f96ab was 78f96ab, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on Jul 5, 2007 at 8:32:43 PM

fixed some problems with shared PPC exception handling code

  • Property mode set to 100644
File size: 4.8 KB
Line 
1##
2## Makefile.am,v 1.8.4.1 2003/02/20 21:55:34 joel Exp
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17nodist_include_HEADERS += ../../shared/include/coverhd.h
18
19noinst_PROGRAMS =
20
21include_bspdir = $(includedir)/bsp
22
23###
24dist_project_lib_DATA += ../shared/startup/linkcmds
25
26# UNUSED
27EXTRA_DIST = startup/bootpstuff.c
28
29noinst_PROGRAMS += startup.rel
30startup_rel_SOURCES = startup/bspstart.c \
31    ../../powerpc/shared/startup/pgtbl_setup.c startup/pgtbl_activate.c \
32    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
33    startup/bspclean.c ../../shared/bsplibc.c ../../shared/bsppost.c \
34    ../../shared/gnatinstallhandler.c startup/reboot.c
35startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
36startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38###
39noinst_PROGRAMS += pclock.rel
40pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c
41pclock_rel_CPPFLAGS = $(AM_CPPFLAGS)
42pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44###
45include_bsp_HEADERS = ../../powerpc/shared/console/uart.h       \
46        ../../shared/vmeUniverse/vme_am_defs.h
47
48noinst_PROGRAMS += console.rel
49console_rel_SOURCES = ../../powerpc/shared/console/uart.c \
50    ../../powerpc/shared/console/console.c
51console_rel_CPPFLAGS = $(AM_CPPFLAGS)
52console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
53
54###
55include_bsp_HEADERS += pci/gtpcireg.h pci/pci.h
56
57noinst_PROGRAMS += pci.rel
58pci_rel_SOURCES = pci/pci.c pci/pci_interface.c pci/detect_host_bridge.c \
59    pci/pcifinddevice.c
60pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
61pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62
63###
64include_bsp_HEADERS += irq/irq.h
65
66noinst_PROGRAMS += irq.rel
67irq_rel_SOURCES = irq/irq_init.c irq/GT64260Int.c irq/irq.c \
68    ../../powerpc/shared/irq/irq_asm.S
69irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
70irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
71
72###
73nodist_include_HEADERS += ../../shared/tod.h
74
75noinst_PROGRAMS += tod.rel
76tod_rel_SOURCES = ../../shared/tod.c tod/todcfg.c
77tod_rel_CPPFLAGS = $(AM_CPPFLAGS)
78tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79
80##
81include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h \
82    vectors/bspException.h
83
84noinst_PROGRAMS += vectors.rel
85vectors_rel_SOURCES = ../../powerpc/shared/vectors/vectors_init.c \
86    vectors/exceptionhandler.c ../../powerpc/shared/vectors/vectors.S
87vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
88vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
89
90##
91include_bsp_HEADERS += GT64260/bspMvme5500.h GT64260/gtreg.h \
92    GT64260/GT64260TWSI.h GT64260/VPD.h
93noinst_PROGRAMS += GT64260.rel
94GT64260_rel_SOURCES = GT64260/GT64260TWSI.c GT64260/MVME5500I2C.c
95GT64260_rel_CPPFLAGS = $(AM_CPPFLAGS)
96GT64260_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
97
98##
99if HAS_NETWORKING
100include_bsp_HEADERS += network/GT64260eth.h network/GT64260ethreg.h
101
102network_CPPFLAGS = -D_KERNEL
103noinst_PROGRAMS += network.rel
104network_rel_SOURCES = network/GT64260eth.c
105network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
106network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
107endif
108##
109include_bsp_HEADERS += ../../shared/vmeUniverse/VME.h vme/VMEConfig.h
110include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
111        ../../shared/vmeUniverse/vmeUniverseDMA.h\
112        ../../shared/vmeUniverse/bspVmeDmaList.h\
113        ../../shared/vmeUniverse/VMEDMA.h
114
115noinst_PROGRAMS += vme.rel
116vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c
117vme_rel_SOURCES+= ../../shared/vmeUniverse/bspVmeDmaList.c
118vme_rel_SOURCES+= ../shared/vme/vmeconfig.c
119vme_rel_SOURCES+= ../shared/vme/vme_universe.c
120vme_rel_SOURCES+= ../shared/vme/vme_universe_dma.c
121
122vme_rel_CPPFLAGS = $(AM_CPPFLAGS)
123vme_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
124
125##
126
127EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
128rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
129        $(CPPASCOMPILE) -o $@ -c $<
130project_lib_DATA = rtems_crti.$(OBJEXT)
131
132noinst_PROGRAMS += mvme5500start.$(OBJEXT)
133mvme5500start___OBJEXT__SOURCES = start/preload.S start/start.S
134mvme5500start___OBJEXT__CPPFLAGS = $(AM_CPPFLAGS)
135mvme5500start___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
136
137project_lib_DATA += mvme5500start.$(OBJEXT)
138
139noinst_LIBRARIES = libbsp.a
140libbsp_a_SOURCES =
141libbsp_a_LIBADD = pclock.rel console.rel irq.rel pci.rel startup.rel tod.rel \
142    vectors.rel GT64260.rel
143if HAS_NETWORKING
144libbsp_a_LIBADD += network.rel
145endif
146libbsp_a_LIBADD += vme.rel
147libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
148    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
149    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
150    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
151    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
152    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
153    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
154    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
155
156include $(srcdir)/preinstall.am
157include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.