source: rtems/c/src/lib/libbsp/sparc/leon3/Makefile.am @ 98f2d5c

4.115
Last change on this file since 98f2d5c was 363b1f7, checked in by Daniel Cederman <cederman@…>, on 05/08/14 at 13:42:12

bsps/sparc: Make lines in SPARC BSPs adhere to 80 character limit.

  • Property mode set to 100644
File size: 5.7 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
10include_HEADERS += include/tm27.h
11include_HEADERS += ../../sparc/shared/include/debug_defs.h
12
13nodist_include_HEADERS = include/bspopts.h
14nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
15DISTCLEANFILES = include/bspopts.h
16
17noinst_PROGRAMS =
18
19include_HEADERS += include/leon.h
20include_HEADERS += ../../shared/include/coverhd.h
21
22noinst_LIBRARIES = libbspstart.a
23libbspstart_a_SOURCES = ../../sparc/shared/start/start.S
24project_lib_DATA = start.$(OBJEXT)
25
26dist_project_lib_DATA += ../shared/startup/linkcmds.base
27dist_project_lib_DATA += startup/linkcmds
28dist_project_lib_DATA += startup/linkcmds.leon3
29dist_project_lib_DATA += startup/linkcmds.ngmp
30
31noinst_LIBRARIES += libbsp.a
32libbsp_a_SOURCES =
33
34# startup
35libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
36    ../../shared/bsppost.c ../../shared/bootcard.c startup/bspstart.c \
37    ../../sparc/shared/bsppretaskinghook.c startup/bsppredriver.c \
38    ../../sparc/shared/startup/bspgetworkarea.c ../../shared/sbrk.c \
39    startup/setvec.c \
40    startup/spurious.c startup/bspidle.S startup/bspdelay.c \
41    ../../shared/bspinit.c ../../sparc/shared/startup/early_malloc.c
42libbsp_a_SOURCES += startup/bspreset.c
43libbsp_a_SOURCES += startup/cpucounter.c
44
45# ISR Handler
46libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
47# gnatsupp
48libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
49include_bsp_HEADERS = ../shared/include/gnatcommon.h
50# AMBA bus
51include_HEADERS += include/amba.h
52include_HEADERS += ../../sparc/shared/include/ambapp.h
53include_HEADERS += ../../sparc/shared/include/ambapp_ids.h
54include_HEADERS += ../../sparc/shared/include/grlib.h
55libbsp_a_SOURCES += amba/amba.c
56libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp.c
57libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_alloc.c
58libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_count.c
59libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_depth.c
60libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_find_by_idx.c
61libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_freq.c
62libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_parent.c
63libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_old.c
64libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_names.c
65libbsp_a_SOURCES += ../../sparc/shared/amba/ambapp_show.c
66# console
67libbsp_a_SOURCES += console/console.c
68# debugio
69libbsp_a_SOURCES += console/printk_support.c
70# clock
71libbsp_a_SOURCES += clock/ckinit.c
72libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
73# IRQ
74include_bsp_HEADERS += \
75    ../../shared/include/irq-generic.h \
76    ../../shared/include/irq-info.h \
77    include/bsp/irq.h
78libbsp_a_SOURCES += \
79    startup/eirq.c \
80    ../../sparc/shared/irq/irq-shared.c \
81    ../../shared/src/irq-default-handler.c \
82    ../../shared/src/irq-generic.c \
83    ../../shared/src/irq-info.c \
84    ../../shared/src/irq-legacy.c \
85    ../../shared/src/irq-server.c \
86    ../../shared/src/irq-shell.c
87# PCI
88include_HEADERS += ../../sparc/shared/include/pci.h
89libbsp_a_SOURCES += pci/pci.c ../../sparc/shared/pci/pcifinddevice.c
90
91# B1553BRM
92include_HEADERS += ../../sparc/shared/include/b1553brm.h \
93    ../../sparc/shared/include/b1553brm_pci.h
94libbsp_a_SOURCES += ../../sparc/shared/1553/b1553brm.c \
95    ../../sparc/shared/1553/b1553brm_pci.c
96
97# CAN
98include_HEADERS += ../../sparc/shared/include/occan.h \
99    ../../sparc/shared/include/occan_pci.h ../../sparc/shared/include/grcan.h
100libbsp_a_SOURCES += ../../sparc/shared/can/occan.c \
101    ../../sparc/shared/can/occan_pci.c  ../../sparc/shared/can/grcan.c
102
103# SpaceWire
104include_HEADERS += ../../sparc/shared/include/grspw.h \
105    ../../sparc/shared/include/grspw_pci.h
106libbsp_a_SOURCES += ../../sparc/shared/spw/grspw.c \
107    ../../sparc/shared/spw/grspw_pci.c
108
109# UART
110include_HEADERS += ../../sparc/shared/include/apbuart.h \
111    ../../sparc/shared/include/apbuart_pci.h
112libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart.c \
113    ../../sparc/shared/uart/apbuart_pci.c
114
115# I2CMST
116include_HEADERS += ../../sparc/shared/include/i2cmst.h
117libbsp_a_SOURCES += ../../sparc/shared/i2c/i2cmst.c
118
119# timer
120libbsp_a_SOURCES += timer/timer.c
121
122# Cache
123libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
124libbsp_a_SOURCES += include/cache_.h
125libbsp_a_CPPFLAGS = -I$(srcdir)/include
126
127if HAS_SMP
128libbsp_a_SOURCES += startup/bspsmp.c
129endif
130
131if HAS_NETWORKING
132noinst_PROGRAMS += leon_smc91111.rel
133leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
134leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
135leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
136leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
137endif
138
139if HAS_NETWORKING
140noinst_PROGRAMS += leon_open_eth.rel
141leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
142leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
143leon_open_eth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
144leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
145endif
146
147if HAS_NETWORKING
148noinst_PROGRAMS += leon_greth.rel
149leon_greth_rel_SOURCES = leon_greth/leon_greth.c
150leon_greth_rel_CPPFLAGS = $(AM_CPPFLAGS)
151leon_greth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
152leon_greth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
153endif
154
155EXTRA_DIST = shmsupp/README
156if HAS_MP
157# shmsupp
158libbsp_a_SOURCES += shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \
159    shmsupp/mpisr.c
160endif
161
162libbsp_a_LIBADD = \
163    ../../../libcpu/@RTEMS_CPU@/access.rel \
164    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
165    ../../../libcpu/@RTEMS_CPU@/syscall.rel
166
167if HAS_NETWORKING
168libbsp_a_LIBADD += leon_open_eth.rel
169libbsp_a_LIBADD += leon_greth.rel
170libbsp_a_LIBADD += leon_smc91111.rel
171endif
172
173EXTRA_DIST += times
174
175include $(srcdir)/preinstall.am
176include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.