source: rtems/c/src/lib/libbsp/powerpc/mvme5500/Makefile.am @ c7ee4da9

4.104.115
Last change on this file since c7ee4da9 was 7425411, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/24/08 at 05:38:56

2008-08-24 Ralf Corsépius <ralf.corsepius@…>

PR 1323/bsps

  • Makefile.am: Remove AM_CFLAGS += -msoft-float.
  • Property mode set to 100644
File size: 4.3 KB
Line 
1##
2## Makefile.am,v 1.8.4.1 2003/02/20 21:55:34 joel Exp
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
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17nodist_include_HEADERS += ../../shared/include/coverhd.h
18
19noinst_PROGRAMS =
20
21include_bspdir = $(includedir)/bsp
22
23###
24dist_project_lib_DATA += ../shared/startup/linkcmds
25
26# UNUSED
27EXTRA_DIST = startup/bootpstuff.c
28
29startup_SOURCES = startup/bspstart.c \
30    ../../powerpc/shared/startup/pgtbl_setup.c startup/pgtbl_activate.c \
31    ../../powerpc/shared/startup/pretaskinghook.c \
32    ../../powerpc/shared/startup/bspgetworkarea.c \
33    ../../powerpc/shared/startup/sbrk.c ../../shared/bootcard.c \
34    ../../shared/bsppredriverhook.c startup/bspclean.c \
35    ../../shared/bsplibc.c ../../shared/bsppost.c \
36    ../../shared/gnatinstallhandler.c startup/bspreset.c
37pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c
38
39include_bsp_HEADERS = ../../powerpc/shared/console/uart.h
40include_bsp_HEADERS += ../../powerpc/shared/console/consoleIo.h
41console_SOURCES = ../../powerpc/shared/console/uart.c \
42    ../../powerpc/shared/console/console.c
43
44include_bsp_HEADERS += pci/gtpcireg.h pci/pci.h
45pci_SOURCES = pci/pci.c pci/pci_interface.c pci/detect_host_bridge.c \
46    pci/pcifinddevice.c
47
48include_bsp_HEADERS += irq/irq.h
49irq_SOURCES = irq/irq_init.c irq/irq.c
50
51nodist_include_HEADERS += ../../shared/tod.h
52tod_SOURCES = ../../shared/tod.c tod/todcfg.c
53
54include_bsp_HEADERS += vectors/bspException.h
55include_bsp_HEADERS += \
56        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
57        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \
58        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
59
60vectors_SOURCES = vectors/exceptionhandler.c \
61    ../../powerpc/shared/start/vectors_entry.S 
62
63include_bsp_HEADERS += GT64260/bspMvme5500.h GT64260/gtreg.h \
64    GT64260/GT64260TWSI.h GT64260/VPD.h
65GT64260_SOURCES = GT64260/GT64260TWSI.c GT64260/MVME5500I2C.c
66
67include_bsp_HEADERS += ../../shared/vmeUniverse/VME.h vme/VMEConfig.h \
68        ../../shared/vmeUniverse/vmeUniverse.h \
69        ../../shared/vmeUniverse/vmeUniverseDMA.h\
70        ../../shared/vmeUniverse/bspVmeDmaList.h\
71        ../../shared/vmeUniverse/VMEDMA.h \
72        ../../shared/vmeUniverse/vme_am_defs.h
73vme_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c\
74        ../shared/vme/vmeconfig.c ../../shared/vmeUniverse/bspVmeDmaList.c\
75        ../shared/vme/vme_universe.c
76
77if HAS_NETWORKING
78include_bsp_HEADERS += network/if_100MHz/GT64260eth.h \
79    network/if_100MHz/GT64260ethreg.h network/if_1GHz/if_wmreg.h \
80    network/if_1GHz/pcireg.h
81
82network_CPPFLAGS = -D_KERNEL
83noinst_PROGRAMS += network.rel
84network_rel_SOURCES = network/if_100MHz/GT64260eth.c \
85    network/if_1GHz/if_wm.c network/if_1GHz/pci_map.c
86network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
87network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
88endif
89
90EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
91rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
92        $(CPPASCOMPILE) -o $@ -c $<
93project_lib_DATA = rtems_crti.$(OBJEXT)
94
95noinst_PROGRAMS += mvme5500start.$(OBJEXT)
96mvme5500start___OBJEXT__SOURCES = ../shared/start/preload.S start/start.S
97mvme5500start___OBJEXT__CPPFLAGS = $(AM_CPPFLAGS)
98mvme5500start___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
99
100project_lib_DATA += mvme5500start.$(OBJEXT)
101
102noinst_LIBRARIES = libbsp.a
103libbsp_a_SOURCES = $(pclock_SOURCES) $(console_SOURCES) $(irq_SOURCES) \
104    $(pci_SOURCES) $(startup_SOURCES) $(tod_SOURCES) $(vectors_SOURCES) \
105    $(GT64260_SOURCES) $(vme_SOURCES)
106
107libbsp_a_LIBADD = \
108    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
109    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
110    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
111    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
112    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
113    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
114    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
115    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
116    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
117    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
118if HAS_NETWORKING
119libbsp_a_LIBADD += network.rel
120endif
121
122include $(srcdir)/preinstall.am
123include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.