source: rtems/c/src/lib/libbsp/powerpc/score603e/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: 3.8 KB
Line 
1##
2## $Id$
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
17
18noinst_PROGRAMS =
19
20include_bspdir = $(includedir)/bsp
21
22include_HEADERS += ../../shared/tod.h
23include_HEADERS += include/coverhd.h include/gen2.h
24
25###
26dist_project_lib_DATA += startup/linkcmds
27
28noinst_PROGRAMS += startup.rel
29startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
30    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
31    ../../shared/sbrk.c startup/Hwr_init.c \
32    startup/genpvec.c ../../shared/gnatinstallhandler.c
33startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
34startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
35
36###
37noinst_PROGRAMS += pclock.rel
38pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c
39pclock_rel_CPPFLAGS = $(AM_CPPFLAGS)
40pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42###
43### include_bsp_HEADERS =
44
45noinst_PROGRAMS += console.rel
46console_rel_SOURCES = console/85c30.c console/85c30.h console/console.c \
47    console/consolereserveresources.c console/tbl85c30.c \
48    console/consolebsp.h
49console_rel_CPPFLAGS = $(AM_CPPFLAGS)
50console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52###
53include_bsp_HEADERS = ../../powerpc/shared/pci/pci.h \
54    ../../powerpc/shared/residual/residual.h \
55    ../../powerpc/shared/residual/pnp.h \
56    ../../powerpc/shared/openpic/openpic.h \
57    ../../powerpc/shared/console/consoleIo.h
58
59noinst_PROGRAMS += pci.rel
60pci_rel_SOURCES = pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \
61    ../../powerpc/shared/pci/pcifinddevice.c
62pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
63pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
64
65###
66include_bsp_HEADERS += irq/irq.h
67
68noinst_PROGRAMS += irq.rel
69irq_rel_SOURCES = irq/FPGA.c irq/irq.c ../../powerpc/shared/irq/irq_asm.S
70irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
71irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
72
73##
74include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h
75
76noinst_PROGRAMS += vectors.rel
77vectors_rel_SOURCES = ../../powerpc/shared/vectors/vectors_init.c \
78    ../../powerpc/shared/vectors/vectors.S
79vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
80vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
81
82##
83include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
84    ../../shared/vmeUniverse/vme_am_defs.h \
85    ../../shared/vmeUniverse/VME.h \
86    vme/VMEConfig.h \
87    ../../powerpc/shared/motorola/motorola.h \
88        ../../shared/vmeUniverse/vmeUniverseDMA.h\
89        ../../shared/vmeUniverse/bspVmeDmaList.h\
90        ../../shared/vmeUniverse/VMEDMA.h
91 
92noinst_PROGRAMS += vme.rel
93vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \
94    ../../shared/vmeUniverse/bspVmeDmaList.c \
95    ../../shared/vmeUniverse/vme_am_defs.h \
96        ../shared/vme/vmeconfig.c \
97        ../shared/vme/vme_universe.c \
98        ../shared/vme/vme_universe_dma.c
99
100vme_rel_CPPFLAGS = $(AM_CPPFLAGS)
101vme_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
102
103##
104
105EXTRA_DIST = start/start.S
106start.$(OBJEXT): start/start.S
107        $(CPPASCOMPILE) -o $@ -c $<
108project_lib_DATA = start.$(OBJEXT)
109
110EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
111rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
112        $(CPPASCOMPILE) -o $@ -c $<
113project_lib_DATA += rtems_crti.$(OBJEXT)
114
115noinst_LIBRARIES = libbsp.a
116libbsp_a_SOURCES =
117libbsp_a_LIBADD = pclock.rel console.rel irq.rel pci.rel vectors.rel \
118    startup.rel vme.rel
119libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
120    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
121    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
122    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
123    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
124    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
125    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
126
127include $(srcdir)/preinstall.am
128include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.