source: rtems/c/src/lib/libbsp/powerpc/gen5200/Makefile.am @ 81ec5044

4.104.115
Last change on this file since 81ec5044 was 81ec5044, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/29/08 at 20:52:22

2008-09-29 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Eliminate bsp.am. Build startup files as side-effect of building libbspstart.a, using automake-rules.
  • Property mode set to 100644
File size: 4.5 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8
9include_bspdir = $(includedir)/bsp
10
11dist_project_lib_DATA = bsp_specs
12
13include_HEADERS = include/bsp.h include/i2cdrv.h include/u-boot.h \
14    include/i2c.h
15include_HEADERS += include/tm27.h
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19DISTCLEANFILES = include/bspopts.h
20
21noinst_PROGRAMS =
22
23include_HEADERS += include/coverhd.h
24
25nodist_include_HEADERS += ../../shared/tod.h
26
27noinst_LIBRARIES = libbspstart.a
28libbspstart_a_SOURCES = start/start.S
29project_lib_DATA = start.$(OBJEXT)
30
31libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
32project_lib_DATA += rtems_crti.$(OBJEXT)
33
34dist_project_lib_DATA += startup/linkcmds \
35    startup/linkcmds.base \
36    startup/linkcmds.brs5l \
37    startup/linkcmds.icecube \
38    startup/linkcmds.pm520
39
40noinst_LIBRARIES += libbsp.a
41libbsp_a_SOURCES =
42
43# bestcomm
44libbsp_a_SOURCES += bestcomm/include/ppctypes.h \
45    bestcomm/include/mgt5200/mgt5200.h bestcomm/include/mgt5200/sdma.h \
46    bestcomm/bestcomm_api.c bestcomm/bestcomm_api.h bestcomm/bestcomm_glue.c \
47    bestcomm/bestcomm_glue.h bestcomm/dma_image.c bestcomm/dma_image.capi.h \
48    bestcomm/dma_image.h bestcomm/dma_image.reloc.c bestcomm/load_task.c \
49    bestcomm/tasksetup_ata.c bestcomm/tasksetup_bdtable.c \
50    bestcomm/tasksetup_crc16_dp_0.c bestcomm/tasksetup_crc16_dp_1.c \
51    bestcomm/tasksetup_fec_rx_bd.c bestcomm/tasksetup_fec_tx_bd.c \
52    bestcomm/tasksetup_gen_dp_0.c bestcomm/tasksetup_gen_dp_1.c \
53    bestcomm/tasksetup_gen_dp_2.c bestcomm/tasksetup_gen_dp_3.c \
54    bestcomm/tasksetup_gen_dp_bd_0.c bestcomm/tasksetup_gen_dp_bd_1.c \
55    bestcomm/tasksetup_gen_rx_bd.c bestcomm/tasksetup_gen_tx_bd.c \
56    bestcomm/tasksetup_lpc.c bestcomm/tasksetup_pci_rx.c \
57    bestcomm/tasksetup_pci_tx.c bestcomm/bestcomm_priv.h \
58    bestcomm/task_api/bestcomm_api_mem.h bestcomm/task_api/bestcomm_cntrl.h \
59    bestcomm/task_api/tasksetup_bdtable.h \
60    bestcomm/task_api/tasksetup_general.h
61
62# clock
63libbsp_a_SOURCES += clock/clock.c
64# console
65libbsp_a_SOURCES += console/console.c
66# i2c
67libbsp_a_SOURCES += i2c/i2c.c i2c/i2cdrv.c i2c/mpc5200mbus.c i2c/mpc5200mbus.h
68# ide
69libbsp_a_SOURCES += ide/idecfg.c ide/pcmcia_ide.c ide/pcmcia_ide.h
70
71include_bsp_HEADERS = ../../../libcpu/@RTEMS_CPU@/new-exceptions/bspsupport/vectors.h \
72        ../../../libcpu/@RTEMS_CPU@/new-exceptions/bspsupport/ppc_exc_bspsupp.h \
73        ../../shared/include/irq-generic.h \
74        include/irq-config.h \
75        include/irq.h \
76        include/i2cdrv.h \
77        include/i2c.h \
78        include/mpc5200.h \
79        include/mscan-base.h \
80        include/u-boot.h \
81        mscan/mscan.h
82
83# irq
84libbsp_a_SOURCES += include/irq.h \
85        include/irq-config.h \
86        irq/irq.c \
87        ../../shared/src/irq-generic.c \
88        ../../shared/src/irq-legacy.c
89
90# mscan
91libbsp_a_SOURCES += mscan/mscan.c mscan/mscan-base.c mscan/mscan.h mscan/mscan_int.h
92
93include_bsp_HEADERS += nvram/nvram.h
94# nvram
95libbsp_a_SOURCES += nvram/nvram.c nvram/nvram.h nvram/m93cxx.h
96
97include_bsp_HEADERS += slicetimer/slicetimer.h
98# slicetimer
99libbsp_a_SOURCES += slicetimer/slicetimer.c slicetimer/slicetimer.h
100
101# tod
102libbsp_a_SOURCES += tod/todcfg.c tod/pcf8563.c tod/pcf8563.h \
103    ../../shared/tod.c
104
105# startup
106libbsp_a_SOURCES += ../../shared/bootcard.c \
107        ../../shared/bsplibc.c \
108        ../../shared/bsppost.c \
109        ../../shared/bsppretaskinghook.c \
110        ../../shared/bsppredriverhook.c \
111        ../../shared/gnatinstallhandler.c \
112        ../../shared/sbrk.c \
113        ../shared/showbats.c \
114        ../shared/uboot_dump_bdinfo.c \
115        ../shared/uboot_getenv.c \
116        ../../shared/bspclean.c \
117        startup/bspreset.c \
118        ../../shared/bspgetworkarea.c \
119        startup/bspstart.c \
120        startup/cpuinit.c  \
121        startup/uboot_support.c
122
123if HAS_NETWORKING
124network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
125network_CPPFLAGS += -D__BSD_VISIBLE
126noinst_PROGRAMS += network.rel
127network_rel_SOURCES = network_5200/network.c
128network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
129network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
130endif
131
132libbsp_a_LIBADD =  ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
133        ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
134        ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
135        ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
136        ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
137        ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
138        ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
139        ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
140
141if HAS_NETWORKING
142libbsp_a_LIBADD += network.rel
143endif
144
145include $(srcdir)/preinstall.am
146include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.