[0329aae] | 1 | ## |
---|
| 2 | ## Makefile.am,v 1.8.4.1 2003/02/20 21:55:34 joel Exp |
---|
| 3 | ## |
---|
| 4 | |
---|
| 5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
| 6 | |
---|
| 7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
| 8 | include $(top_srcdir)/../../bsp.am |
---|
| 9 | |
---|
[c06b3fa] | 10 | include_bspdir = $(includedir)/bsp |
---|
| 11 | |
---|
[0329aae] | 12 | dist_project_lib_DATA = bsp_specs |
---|
| 13 | |
---|
| 14 | include_HEADERS = include/bsp.h |
---|
| 15 | include_HEADERS += include/tm27.h |
---|
| 16 | |
---|
| 17 | nodist_include_HEADERS = include/bspopts.h |
---|
[c06b3fa] | 18 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
[0329aae] | 19 | DISTCLEANFILES = include/bspopts.h |
---|
| 20 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
| 21 | |
---|
| 22 | ### |
---|
| 23 | dist_project_lib_DATA += startup/linkcmds |
---|
| 24 | |
---|
[e94666d] | 25 | noinst_LIBRARIES = libbsp.a |
---|
| 26 | |
---|
[1d0ee80e] | 27 | startup_SOURCES = startup/bspstart.c ../../shared/bootcard.c \ |
---|
[afce764d] | 28 | ../../shared/bsppost.c ../../shared/bsppredriverhook.c \ |
---|
[1a3db548] | 29 | ../../powerpc/shared/startup/bspgetworkarea.c ../../shared/bsplibc.c \ |
---|
[3ddb428] | 30 | ../../powerpc/shared/startup/sbrk.c \ |
---|
[afce764d] | 31 | ../../shared/bspclean.c ../../shared/gnatinstallhandler.c \ |
---|
[0329aae] | 32 | ../../powerpc/shared/startup/pgtbl_setup.c \ |
---|
[5797b67] | 33 | ../../powerpc/shared/startup/pgtbl_activate.c \ |
---|
| 34 | ../../powerpc/shared/showbats.c |
---|
[0329aae] | 35 | |
---|
[1d0ee80e] | 36 | pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c |
---|
[0329aae] | 37 | |
---|
| 38 | include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \ |
---|
| 39 | ../../powerpc/shared/motorola/motorola.h \ |
---|
| 40 | ../../powerpc/shared/residual/residual.h \ |
---|
[bc084a9] | 41 | ../../powerpc/shared/residual/pnp.h \ |
---|
| 42 | ../../powerpc/shared/console/consoleIo.h console/rsPMCQ1.h |
---|
[1d0ee80e] | 43 | console_SOURCES = console/console.c console/ns16550cfg.c \ |
---|
[bc084a9] | 44 | console/mc68360_scc.c console/rsPMCQ1.c console/alloc360.c \ |
---|
| 45 | console/init68360.c |
---|
[0329aae] | 46 | |
---|
[1d0ee80e] | 47 | include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h |
---|
| 48 | openpic_SOURCES = ../../powerpc/shared/openpic/openpic.h \ |
---|
[bc084a9] | 49 | ../../powerpc/shared/openpic/openpic.c |
---|
[0329aae] | 50 | |
---|
| 51 | include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h |
---|
[1d0ee80e] | 52 | pci_SOURCES = pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \ |
---|
[0329aae] | 53 | ../../powerpc/shared/pci/pcifinddevice.c |
---|
| 54 | |
---|
[7223038] | 55 | include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h \ |
---|
[a3def339] | 56 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h \ |
---|
| 57 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
[7223038] | 58 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h |
---|
[e36390a6] | 59 | irq_SOURCES = irq/irq_init.c irq/openpic_xxx_irq.c ../../powerpc/shared/irq/i8259.c |
---|
[0329aae] | 60 | |
---|
| 61 | include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \ |
---|
[a771462e] | 62 | vme/VMEConfig.h \ |
---|
[7996b53] | 63 | ../../shared/vmeUniverse/vme_am_defs.h \ |
---|
[a771462e] | 64 | ../../shared/vmeUniverse/VME.h \ |
---|
| 65 | ../../shared/vmeUniverse/vmeUniverseDMA.h\ |
---|
| 66 | ../../shared/vmeUniverse/bspVmeDmaList.h\ |
---|
| 67 | ../../shared/vmeUniverse/VMEDMA.h |
---|
[0329aae] | 68 | |
---|
[1d0ee80e] | 69 | vme_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \ |
---|
[a771462e] | 70 | ../../shared/vmeUniverse/bspVmeDmaList.c \ |
---|
| 71 | ../shared/vme/vmeconfig.c \ |
---|
| 72 | ../shared/vme/vme_universe.c \ |
---|
[1d3788fc] | 73 | ../../shared/vmeUniverse/vme_am_defs.h |
---|
[0329aae] | 74 | |
---|
| 75 | EXTRA_DIST = start/start.S |
---|
| 76 | start.$(OBJEXT): start/start.S |
---|
[57357d9] | 77 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[0329aae] | 78 | project_lib_DATA = start.$(OBJEXT) |
---|
| 79 | |
---|
| 80 | EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S |
---|
| 81 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
[57357d9] | 82 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[0329aae] | 83 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
| 84 | |
---|
[1d0ee80e] | 85 | libbsp_a_SOURCES = $(startup_SOURCES) $(pclock_SOURCES) $(console_SOURCES) \ |
---|
| 86 | $(openpic_SOURCES) $(pci_SOURCES) $(irq_SOURCES) $(vme_SOURCES) |
---|
[16fe0921] | 87 | |
---|
[1d0ee80e] | 88 | libbsp_a_LIBADD = \ |
---|
| 89 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
[0329aae] | 90 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
| 91 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
| 92 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \ |
---|
[78f96ab] | 93 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
[a3def339] | 94 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
| 95 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \ |
---|
[0329aae] | 96 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
| 97 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
| 98 | |
---|
[7cc4f59] | 99 | include $(srcdir)/preinstall.am |
---|
[0329aae] | 100 | include $(top_srcdir)/../../../../automake/local.am |
---|