[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 |
---|
[64eb0c7] | 26 | libbsp_a_SOURCES = |
---|
[e94666d] | 27 | |
---|
[64eb0c7] | 28 | # startup |
---|
| 29 | libbsp_a_SOURCES += startup/bspstart.c ../../shared/bootcard.c \ |
---|
[afce764d] | 30 | ../../shared/bsppost.c ../../shared/bsppredriverhook.c \ |
---|
[1a3db548] | 31 | ../../powerpc/shared/startup/bspgetworkarea.c ../../shared/bsplibc.c \ |
---|
[3ddb428] | 32 | ../../powerpc/shared/startup/sbrk.c \ |
---|
[afce764d] | 33 | ../../shared/bspclean.c ../../shared/gnatinstallhandler.c \ |
---|
[0329aae] | 34 | ../../powerpc/shared/startup/pgtbl_setup.c \ |
---|
[5797b67] | 35 | ../../powerpc/shared/startup/pgtbl_activate.c \ |
---|
| 36 | ../../powerpc/shared/showbats.c |
---|
[0329aae] | 37 | |
---|
[64eb0c7] | 38 | # pclock |
---|
| 39 | libbsp_a_SOURCES += ../../powerpc/shared/clock/p_clock.c |
---|
[0329aae] | 40 | |
---|
| 41 | include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \ |
---|
| 42 | ../../powerpc/shared/motorola/motorola.h \ |
---|
| 43 | ../../powerpc/shared/residual/residual.h \ |
---|
[bc084a9] | 44 | ../../powerpc/shared/residual/pnp.h \ |
---|
| 45 | ../../powerpc/shared/console/consoleIo.h console/rsPMCQ1.h |
---|
[64eb0c7] | 46 | # console |
---|
| 47 | libbsp_a_SOURCES += console/console.c console/ns16550cfg.c \ |
---|
[bc084a9] | 48 | console/mc68360_scc.c console/rsPMCQ1.c console/alloc360.c \ |
---|
| 49 | console/init68360.c |
---|
[0329aae] | 50 | |
---|
[1d0ee80e] | 51 | include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h |
---|
[64eb0c7] | 52 | # openpic |
---|
| 53 | libbsp_a_SOURCES += ../../powerpc/shared/openpic/openpic.h \ |
---|
[bc084a9] | 54 | ../../powerpc/shared/openpic/openpic.c |
---|
[0329aae] | 55 | |
---|
| 56 | include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h |
---|
[64eb0c7] | 57 | # pci |
---|
| 58 | libbsp_a_SOURCES += pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \ |
---|
[0329aae] | 59 | ../../powerpc/shared/pci/pcifinddevice.c |
---|
| 60 | |
---|
[7223038] | 61 | include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h \ |
---|
[a3def339] | 62 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h \ |
---|
| 63 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
[7223038] | 64 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h |
---|
[64eb0c7] | 65 | # irq |
---|
| 66 | libbsp_a_SOURCES += irq/irq_init.c irq/openpic_xxx_irq.c ../../powerpc/shared/irq/i8259.c |
---|
[0329aae] | 67 | |
---|
| 68 | include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \ |
---|
[a771462e] | 69 | vme/VMEConfig.h \ |
---|
[7996b53] | 70 | ../../shared/vmeUniverse/vme_am_defs.h \ |
---|
[a771462e] | 71 | ../../shared/vmeUniverse/VME.h \ |
---|
| 72 | ../../shared/vmeUniverse/vmeUniverseDMA.h\ |
---|
| 73 | ../../shared/vmeUniverse/bspVmeDmaList.h\ |
---|
| 74 | ../../shared/vmeUniverse/VMEDMA.h |
---|
[0329aae] | 75 | |
---|
[64eb0c7] | 76 | # vme |
---|
| 77 | libbsp_a_SOURCES += ../../shared/vmeUniverse/vmeUniverse.c \ |
---|
[a771462e] | 78 | ../../shared/vmeUniverse/bspVmeDmaList.c \ |
---|
| 79 | ../shared/vme/vmeconfig.c \ |
---|
| 80 | ../shared/vme/vme_universe.c \ |
---|
[1d3788fc] | 81 | ../../shared/vmeUniverse/vme_am_defs.h |
---|
[0329aae] | 82 | |
---|
| 83 | EXTRA_DIST = start/start.S |
---|
| 84 | start.$(OBJEXT): start/start.S |
---|
[57357d9] | 85 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[0329aae] | 86 | project_lib_DATA = start.$(OBJEXT) |
---|
| 87 | |
---|
| 88 | EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S |
---|
| 89 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
[57357d9] | 90 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[0329aae] | 91 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
| 92 | |
---|
[1d0ee80e] | 93 | libbsp_a_LIBADD = \ |
---|
| 94 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
[0329aae] | 95 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
| 96 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
| 97 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \ |
---|
[78f96ab] | 98 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
[a3def339] | 99 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
| 100 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \ |
---|
[0329aae] | 101 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
| 102 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
| 103 | |
---|
[7cc4f59] | 104 | include $(srcdir)/preinstall.am |
---|
[0329aae] | 105 | include $(top_srcdir)/../../../../automake/local.am |
---|