source: rtems/c/src/lib/libbsp/powerpc/gen5200/Makefile.am @ 3d14a45

4.104.114.84.95
Last change on this file since 3d14a45 was 3d14a45, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 01/21/07 at 18:25:31

mproved gen5200 MSCAN driver
fixed synchronization bug between ata.c and bdbuf.c

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