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

4.9
Last change on this file since 27af754 was 35b6926, checked in by Ralf Corsepius <ralf.corsepius@…>, on 09/24/08 at 05:38:50

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/sbrk.c ../../shared/bootcard.c \
33    ../../shared/bsppredriverhook.c startup/bspclean.c \
34    ../../shared/bsplibc.c ../../shared/bsppost.c \
35    ../../shared/gnatinstallhandler.c startup/reboot.c
36pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c
37
38include_bsp_HEADERS = ../../powerpc/shared/console/uart.h
39include_bsp_HEADERS += ../../powerpc/shared/console/consoleIo.h
40console_SOURCES = ../../powerpc/shared/console/uart.c \
41    ../../powerpc/shared/console/console.c
42
43include_bsp_HEADERS += pci/gtpcireg.h pci/pci.h
44pci_SOURCES = pci/pci.c pci/pci_interface.c pci/detect_host_bridge.c \
45    pci/pcifinddevice.c
46
47include_bsp_HEADERS += irq/irq.h
48irq_SOURCES = irq/irq_init.c irq/irq.c
49
50nodist_include_HEADERS += ../../shared/tod.h
51tod_SOURCES = ../../shared/tod.c tod/todcfg.c
52
53include_bsp_HEADERS += vectors/bspException.h
54include_bsp_HEADERS += \
55        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
56        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \
57        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
58
59vectors_SOURCES = vectors/exceptionhandler.c \
60    ../../powerpc/shared/start/vectors_entry.S 
61
62include_bsp_HEADERS += GT64260/bspMvme5500.h GT64260/gtreg.h \
63    GT64260/GT64260TWSI.h GT64260/VPD.h
64GT64260_SOURCES = GT64260/GT64260TWSI.c GT64260/MVME5500I2C.c
65
66include_bsp_HEADERS += ../../shared/vmeUniverse/VME.h vme/VMEConfig.h \
67        ../../shared/vmeUniverse/vmeUniverse.h \
68        ../../shared/vmeUniverse/vmeUniverseDMA.h\
69        ../../shared/vmeUniverse/bspVmeDmaList.h\
70        ../../shared/vmeUniverse/VMEDMA.h \
71        ../../shared/vmeUniverse/vme_am_defs.h
72vme_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c\
73        ../shared/vme/vmeconfig.c ../../shared/vmeUniverse/bspVmeDmaList.c\
74        ../shared/vme/vme_universe.c
75
76if HAS_NETWORKING
77include_bsp_HEADERS += network/if_100MHz/GT64260eth.h \
78    network/if_100MHz/GT64260ethreg.h network/if_1GHz/if_wmreg.h \
79    network/if_1GHz/pcireg.h
80
81network_CPPFLAGS = -D_KERNEL
82noinst_PROGRAMS += network.rel
83network_rel_SOURCES = network/if_100MHz/GT64260eth.c \
84    network/if_1GHz/if_wm.c network/if_1GHz/pci_map.c
85network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
86network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
87endif
88
89EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
90rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
91        $(CPPASCOMPILE) -o $@ -c $<
92project_lib_DATA = rtems_crti.$(OBJEXT)
93
94noinst_PROGRAMS += mvme5500start.$(OBJEXT)
95mvme5500start___OBJEXT__SOURCES = ../shared/start/preload.S start/start.S
96mvme5500start___OBJEXT__CPPFLAGS = $(AM_CPPFLAGS)
97mvme5500start___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
98
99project_lib_DATA += mvme5500start.$(OBJEXT)
100
101noinst_LIBRARIES = libbsp.a
102libbsp_a_SOURCES = $(pclock_SOURCES) $(console_SOURCES) $(irq_SOURCES) \
103    $(pci_SOURCES) $(startup_SOURCES) $(tod_SOURCES) $(vectors_SOURCES) \
104    $(GT64260_SOURCES) $(vme_SOURCES)
105
106libbsp_a_LIBADD = \
107    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
108    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
109    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
110    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
111    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
112    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
113    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
114    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
115    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
116    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
117if HAS_NETWORKING
118libbsp_a_LIBADD += network.rel
119endif
120
121include $(srcdir)/preinstall.am
122include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.