source: rtems/c/src/lib/libbsp/sparc/leon3/Makefile.am @ 109adeb3

4.104.114.95
Last change on this file since 109adeb3 was 109adeb3, checked in by Joel Sherrill <joel.sherrill@…>, on 04/23/08 at 21:49:57

2008-04-23 Joel Sherrill <joel.sherrill@…>

  • ChangeLog?, Makefile.am: Remove all references to console_reserve_resources and termios_reserve_resources.
  • console/consolereserveresources.c: Removed.
  • Property mode set to 100644
File size: 5.5 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
14include_HEADERS += ../../sparc/shared/include/debug_defs.h
15
16nodist_include_HEADERS = include/bspopts.h
17DISTCLEANFILES = include/bspopts.h
18
19noinst_PROGRAMS =
20
21# wrapup is the one that actually builds and installs the library
22# from the individual .rel files built in other directories
23SUBDIRS = . tools
24
25include_HEADERS += include/leon.h
26include_HEADERS += include/coverhd.h
27
28EXTRA_DIST = ../../sparc/shared/start.S
29start.$(OBJEXT): ../../sparc/shared/start.S
30        $(CPPASCOMPILE) -o $@ -c $<
31
32project_lib_DATA = start.$(OBJEXT)
33
34dist_project_lib_DATA += startup/linkcmds
35
36noinst_PROGRAMS += startup.rel
37startup_rel_SOURCES = ../../sparc/shared/bspclean.c ../../shared/bsplibc.c \
38    ../../shared/bsppost.c startup/bspstart.c \
39    ../../shared/bootcard.c ../../shared/sbrk.c startup/setvec.c \
40    startup/spurious.c startup/ithread.S
41startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
42startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44noinst_PROGRAMS += gnatsupp.rel
45gnatsupp_rel_SOURCES = gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
46gnatsupp_rel_CPPFLAGS = $(AM_CPPFLAGS)
47gnatsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
48
49include_HEADERS += include/amba.h
50include_HEADERS += ../../sparc/shared/include/ambapp.h
51
52noinst_PROGRAMS += amba.rel
53amba_rel_SOURCES = amba/amba.c ../../sparc/shared/amba/ambapp.c
54amba_rel_CPPFLAGS = $(AM_CPPFLAGS)
55amba_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56
57noinst_PROGRAMS += console.rel
58console_rel_SOURCES = console/console.c
59console_rel_CPPFLAGS = $(AM_CPPFLAGS)
60console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61
62noinst_PROGRAMS += debugio.rel
63debugio_rel_SOURCES = console/debugputs.c
64debugio_rel_CPPFLAGS = $(AM_CPPFLAGS)
65debugio_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
66
67noinst_PROGRAMS += clock.rel
68clock_rel_SOURCES = clock/ckinit.c
69clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
70clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
71
72# PCI
73include_HEADERS += ../../sparc/shared/include/pci.h
74noinst_PROGRAMS += pci.rel
75pci_rel_SOURCES = pci/pci.c ../../sparc/shared/pci/pcifinddevice.c
76pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
77pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
78
79# B1553BRM
80include_HEADERS += ../../sparc/shared/include/b1553brm.h ../../sparc/shared/include/b1553brm_pci.h
81noinst_PROGRAMS += brm.rel
82brm_rel_SOURCES = ../../sparc/shared/1553/b1553brm.c ../../sparc/shared/1553/b1553brm_pci.c
83brm_rel_CPPFLAGS = $(AM_CPPFLAGS)
84brm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
85
86# CAN
87include_HEADERS += ../../sparc/shared/include/occan.h ../../sparc/shared/include/occan_pci.h ../../sparc/shared/include/grcan.h
88noinst_PROGRAMS += can.rel
89can_rel_SOURCES = ../../sparc/shared/can/occan.c ../../sparc/shared/can/occan_pci.c  ../../sparc/shared/can/grcan.c
90can_rel_CPPFLAGS = $(AM_CPPFLAGS)
91can_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
92
93# SpaceWire
94include_HEADERS += ../../sparc/shared/include/grspw.h ../../sparc/shared/include/grspw_pci.h
95noinst_PROGRAMS += spw.rel
96spw_rel_SOURCES = ../../sparc/shared/spw/grspw.c ../../sparc/shared/spw/grspw_pci.c
97spw_rel_CPPFLAGS = $(AM_CPPFLAGS)
98spw_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
99
100# UART
101include_HEADERS += ../../sparc/shared/include/apbuart.h ../../sparc/shared/include/apbuart_pci.h
102noinst_PROGRAMS += uart.rel
103uart_rel_SOURCES = ../../sparc/shared/uart/apbuart.c ../../sparc/shared/uart/apbuart_pci.c
104uart_rel_CPPFLAGS = $(AM_CPPFLAGS)
105uart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
106
107# I2CMST
108include_HEADERS += ../../sparc/shared/include/i2cmst.h
109noinst_PROGRAMS += i2cmst.rel
110i2cmst_rel_SOURCES = ../../sparc/shared/i2c/i2cmst.c
111i2cmst_rel_CPPFLAGS = $(AM_CPPFLAGS)
112i2cmst_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
113
114if HAS_NETWORKING
115noinst_PROGRAMS += leon_smc91111.rel
116leon_smc91111_rel_SOURCES = leon_smc91111/leon_smc91111.c
117leon_smc91111_rel_CPPFLAGS = $(AM_CPPFLAGS)
118leon_smc91111_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
119leon_smc91111_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
120endif
121
122noinst_PROGRAMS += timer.rel
123timer_rel_SOURCES = timer/timer.c
124timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
125timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
126
127if HAS_NETWORKING
128noinst_PROGRAMS += leon_open_eth.rel
129leon_open_eth_rel_SOURCES = leon_open_eth/leon_open_eth.c
130leon_open_eth_rel_CPPFLAGS = $(AM_CPPFLAGS)
131leon_open_eth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
132leon_open_eth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
133endif
134
135if HAS_NETWORKING
136noinst_PROGRAMS += leon_greth.rel
137leon_greth_rel_SOURCES = leon_greth/leon_greth.c
138leon_greth_rel_CPPFLAGS = $(AM_CPPFLAGS)
139leon_greth_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
140leon_greth_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
141endif
142
143noinst_LIBRARIES = libbsp.a
144libbsp_a_SOURCES =
145libbsp_a_LIBADD = startup.rel amba.rel console.rel clock.rel debugio.rel \
146  timer.rel gnatsupp.rel brm.rel can.rel spw.rel uart.rel pci.rel i2cmst.rel
147
148if HAS_NETWORKING
149libbsp_a_LIBADD += leon_open_eth.rel
150libbsp_a_LIBADD += leon_greth.rel
151libbsp_a_LIBADD += leon_smc91111.rel
152endif
153
154if HAS_MP
155EXTRA_DIST += shmsupp/README
156
157noinst_PROGRAMS += shmsupp.rel
158shmsupp_rel_SOURCES = shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \
159    shmsupp/mpisr.c
160shmsupp_rel_CPPFLAGS = $(AM_CPPFLAGS)
161shmsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
162endif
163
164libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/cache.rel \
165    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
166    ../../../libcpu/@RTEMS_CPU@/syscall.rel
167
168if HAS_MP
169libbsp_a_LIBADD += shmsupp.rel
170endif
171
172EXTRA_DIST += times
173
174include $(srcdir)/preinstall.am
175include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.