1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | include $(top_srcdir)/../../bsp.am |
---|
9 | |
---|
10 | dist_project_lib_DATA = bsp_specs |
---|
11 | |
---|
12 | include_HEADERS = include/bsp.h |
---|
13 | include_HEADERS += include/tm27.h |
---|
14 | |
---|
15 | nodist_include_HEADERS = include/bspopts.h |
---|
16 | DISTCLEANFILES = include/bspopts.h |
---|
17 | |
---|
18 | noinst_PROGRAMS = |
---|
19 | |
---|
20 | include_bspdir = $(includedir)/bsp |
---|
21 | |
---|
22 | include_HEADERS += ../../shared/tod.h |
---|
23 | include_HEADERS += include/coverhd.h include/gen2.h |
---|
24 | |
---|
25 | ### |
---|
26 | dist_project_lib_DATA += startup/linkcmds |
---|
27 | |
---|
28 | startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
29 | startup/bspstart.c ../../shared/bootcard.c \ |
---|
30 | ../../shared/sbrk.c startup/Hwr_init.c \ |
---|
31 | startup/genpvec.c ../../shared/gnatinstallhandler.c \ |
---|
32 | ../../powerpc/shared/showbats.c |
---|
33 | |
---|
34 | pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c |
---|
35 | console_SOURCES = console/85c30.c console/85c30.h console/console.c \ |
---|
36 | console/tbl85c30.c console/consolebsp.h |
---|
37 | |
---|
38 | include_bsp_HEADERS = ../../powerpc/shared/pci/pci.h \ |
---|
39 | PCI_bus/PCI.h \ |
---|
40 | ../../powerpc/shared/residual/residual.h \ |
---|
41 | ../../powerpc/shared/residual/pnp.h \ |
---|
42 | ../../powerpc/shared/openpic/openpic.h \ |
---|
43 | ../../powerpc/shared/console/consoleIo.h |
---|
44 | pci_SOURCES = pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \ |
---|
45 | ../../powerpc/shared/pci/pcifinddevice.c PCI_bus/PCI.c PCI_bus/universe.c |
---|
46 | |
---|
47 | include_bsp_HEADERS += irq/irq.h \ |
---|
48 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h \ |
---|
49 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
50 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h |
---|
51 | irq_SOURCES = irq/FPGA.c irq/irq.c ../../powerpc/shared/irq/irq_asm.S |
---|
52 | |
---|
53 | include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h |
---|
54 | vectors_SOURCES = ../../powerpc/shared/vectors/vectors_init.c \ |
---|
55 | ../../powerpc/shared/vectors/vectors.S |
---|
56 | |
---|
57 | include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \ |
---|
58 | ../../shared/vmeUniverse/vme_am_defs.h \ |
---|
59 | ../../shared/vmeUniverse/VME.h \ |
---|
60 | vme/VMEConfig.h \ |
---|
61 | ../../powerpc/shared/motorola/motorola.h \ |
---|
62 | ../../shared/vmeUniverse/vmeUniverseDMA.h\ |
---|
63 | ../../shared/vmeUniverse/bspVmeDmaList.h\ |
---|
64 | ../../shared/vmeUniverse/VMEDMA.h |
---|
65 | vme_SOURCES = \ |
---|
66 | ../../shared/vmeUniverse/bspVmeDmaList.c \ |
---|
67 | ../../shared/vmeUniverse/vme_am_defs.h \ |
---|
68 | ../shared/vme/vmeconfig.c |
---|
69 | |
---|
70 | EXTRA_DIST = start/start.S |
---|
71 | start.$(OBJEXT): start/start.S |
---|
72 | $(CPPASCOMPILE) -o $@ -c $< |
---|
73 | project_lib_DATA = start.$(OBJEXT) |
---|
74 | |
---|
75 | EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S |
---|
76 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
77 | $(CPPASCOMPILE) -o $@ -c $< |
---|
78 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
79 | |
---|
80 | noinst_LIBRARIES = libbsp.a |
---|
81 | libbsp_a_SOURCES = $(pclock_SOURCES) $(console_SOURCES) $(irq_SOURCES) \ |
---|
82 | $(pci_SOURCES) $(vectors_SOURCES) $(startup_SOURCES) $(vme_SOURCES) |
---|
83 | |
---|
84 | libbsp_a_LIBADD = \ |
---|
85 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
86 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
87 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
88 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \ |
---|
89 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
90 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
91 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
92 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
93 | |
---|
94 | include $(srcdir)/preinstall.am |
---|
95 | include $(top_srcdir)/../../../../automake/local.am |
---|