source: rtems/c/src/lib/libbsp/powerpc/gen5200/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: 5.3 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 include/i2cdrv.h include/u-boot.h \
13    include/i2c.h include/mpc5200.h
14include_HEADERS += include/tm27.h
15
16nodist_include_HEADERS = include/bspopts.h
17DISTCLEANFILES = include/bspopts.h
18
19noinst_PROGRAMS =
20
21include_bspdir = $(includedir)/bsp
22
23include_HEADERS += include/coverhd.h
24
25nodist_include_HEADERS += ../../shared/tod.h
26
27EXTRA_DIST = start/start.S
28start.$(OBJEXT): start/start.S
29        $(CPPASCOMPILE) -o $@ -c $<
30project_lib_DATA = start.$(OBJEXT)
31
32dist_project_lib_DATA += startup/linkcmds
33dist_project_lib_DATA += startup/linkcmds.brs5l
34dist_project_lib_DATA += startup/linkcmds.ep5200
35dist_project_lib_DATA += startup/linkcmds.pm520
36
37noinst_PROGRAMS += bestcomm.rel
38bestcomm_rel_SOURCES = bestcomm/include/ppctypes.h \
39    bestcomm/include/mgt5200/mgt5200.h bestcomm/include/mgt5200/sdma.h \
40    bestcomm/bestcomm_api.c bestcomm/bestcomm_api.h bestcomm/bestcomm_glue.c \
41    bestcomm/bestcomm_glue.h bestcomm/dma_image.c bestcomm/dma_image.capi.h \
42    bestcomm/dma_image.h bestcomm/dma_image.reloc.c bestcomm/load_task.c \
43    bestcomm/tasksetup_ata.c bestcomm/tasksetup_bdtable.c \
44    bestcomm/tasksetup_crc16_dp_0.c bestcomm/tasksetup_crc16_dp_1.c \
45    bestcomm/tasksetup_fec_rx_bd.c bestcomm/tasksetup_fec_tx_bd.c \
46    bestcomm/tasksetup_gen_dp_0.c bestcomm/tasksetup_gen_dp_1.c \
47    bestcomm/tasksetup_gen_dp_2.c bestcomm/tasksetup_gen_dp_3.c \
48    bestcomm/tasksetup_gen_dp_bd_0.c bestcomm/tasksetup_gen_dp_bd_1.c \
49    bestcomm/tasksetup_gen_rx_bd.c bestcomm/tasksetup_gen_tx_bd.c \
50    bestcomm/tasksetup_lpc.c bestcomm/tasksetup_pci_rx.c \
51    bestcomm/tasksetup_pci_tx.c bestcomm/bestcomm_priv.h \
52    bestcomm/task_api/bestcomm_api_mem.h bestcomm/task_api/bestcomm_cntrl.h \
53    bestcomm/task_api/tasksetup_bdtable.h \
54    bestcomm/task_api/tasksetup_general.h
55bestcomm_rel_CPPFLAGS = $(AM_CPPFLAGS) -DMPC5200_BAPI_LIBC_HEADERS
56bestcomm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_PROGRAMS += clock.rel
59clock_rel_SOURCES = clock/clock.c
60clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
61clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62
63noinst_PROGRAMS += console.rel
64console_rel_SOURCES = console/console.c
65console_rel_CPPFLAGS = $(AM_CPPFLAGS)
66console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
67
68noinst_PROGRAMS += i2c.rel
69i2c_rel_SOURCES = i2c/i2c.c i2c/i2cdrv.c i2c/mpc5200mbus.c \
70    i2c/mpc5200mbus.h
71i2c_rel_CPPFLAGS = $(AM_CPPFLAGS)
72i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73
74noinst_PROGRAMS += ide.rel
75ide_rel_SOURCES = ide/idecfg.c ide/pcmcia_ide.c ide/pcmcia_ide.h
76ide_rel_CPPFLAGS = $(AM_CPPFLAGS)
77ide_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
78
79include_bsp_HEADERS = irq/irq.h include/i2cdrv.h include/mpc5200.h \
80    include/i2c.h include/u-boot.h
81
82noinst_PROGRAMS += irq.rel
83irq_rel_SOURCES = irq/irq.c irq/irq_init.c irq/irq.h irq/irq_asm.S
84irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
85irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
86
87noinst_PROGRAMS += mscan.rel
88mscan_rel_SOURCES = mscan/mscan.c mscan/mscan.h mscan/mscan_int.h
89mscan_rel_CPPFLAGS = $(AM_CPPFLAGS)
90mscan_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
91
92noinst_PROGRAMS += nvram.rel
93nvram_rel_SOURCES = nvram/nvram.c nvram/nvram.h nvram/m93cxx.h
94nvram_rel_CPPFLAGS = $(AM_CPPFLAGS)
95nvram_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
96include_bsp_HEADERS += nvram/nvram.h
97
98noinst_PROGRAMS += slicetimer.rel
99slicetimer_rel_SOURCES = slicetimer/slicetimer.c slicetimer/slicetimer.h
100slicetimer_rel_CPPFLAGS = $(AM_CPPFLAGS)
101slicetimer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
102include_bsp_HEADERS += slicetimer/slicetimer.h
103
104noinst_PROGRAMS += tod.rel
105tod_rel_SOURCES = tod/todcfg.c tod/pcf8563.c tod/pcf8563.h \
106    ../../shared/tod.c
107tod_rel_CPPFLAGS = $(AM_CPPFLAGS)
108tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
109
110include_bsp_HEADERS += vectors/vectors.h
111
112noinst_PROGRAMS += startup.rel
113startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
114    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
115    ../../shared/sbrk.c ../shared/uboot_dump_bdinfo.c \
116    ../../shared/gnatinstallhandler.c startup/cpuinit.c start/start.S
117startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
118startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
119
120noinst_PROGRAMS += vectors.rel
121vectors_rel_SOURCES = vectors/vectors_init.c vectors/vectors.h \
122    vectors/vectors.S
123vectors_rel_CPPFLAGS = $(AM_CPPFLAGS)
124vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
125
126if HAS_NETWORKING
127network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
128network_CPPFLAGS += -D__BSD_VISIBLE
129noinst_PROGRAMS += network.rel
130network_rel_SOURCES = network_5200/network.c
131network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
132network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
133endif
134
135noinst_LIBRARIES = libbsp.a
136libbsp_a_SOURCES =
137libbsp_a_LIBADD = bestcomm.rel clock.rel console.rel i2c.rel ide.rel irq.rel \
138    mscan.rel nvram.rel slicetimer.rel tod.rel startup.rel vectors.rel
139if HAS_NETWORKING
140libbsp_a_LIBADD += network.rel
141endif
142libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
143    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
144    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
145    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
146    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
147    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel
148
149include $(srcdir)/preinstall.am
150include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.