source: rtems/c/src/lib/libbsp/powerpc/ep1a/Makefile.am @ 1d0ee80e

4.104.114.9
Last change on this file since 1d0ee80e was 1d0ee80e, checked in by Joel Sherrill <joel.sherrill@…>, on May 14, 2008 at 8:28:09 PM

2008-05-14 Joel Sherrill <joel.sherrill@…>

  • Makefile.am: Rework to avoid .rel files.
  • Property mode set to 100644
File size: 3.6 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 += startup/linkcmds
25
26startup_SOURCES = startup/bspstart.c ../../shared/bootcard.c \
27    ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
28    ../../shared/bsplibc.c ../../powerpc/shared/startup/sbrk.c \
29    ../../shared/bspclean.c ../../shared/gnatinstallhandler.c \
30    ../../powerpc/shared/startup/pgtbl_setup.c \
31    ../../powerpc/shared/startup/pgtbl_activate.c \
32    ../../powerpc/shared/showbats.c
33
34pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c
35
36include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \
37    ../../powerpc/shared/motorola/motorola.h \
38    ../../powerpc/shared/residual/residual.h \
39    ../../powerpc/shared/residual/pnp.h \
40    ../../powerpc/shared/console/consoleIo.h console/rsPMCQ1.h
41console_SOURCES = console/console.c console/ns16550cfg.c \
42    console/mc68360_scc.c console/rsPMCQ1.c console/alloc360.c \
43    console/init68360.c
44
45include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
46openpic_SOURCES = ../../powerpc/shared/openpic/openpic.h \
47    ../../powerpc/shared/openpic/openpic.c
48
49include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
50pci_SOURCES = pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \
51    ../../powerpc/shared/pci/pcifinddevice.c
52
53include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h \
54        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h \
55        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
56        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h
57irq_SOURCES = irq/irq_init.c ../shared/irq/openpic_i8259_irq.c ../../powerpc/shared/irq/i8259.c
58
59include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
60    vme/VMEConfig.h \
61    ../../shared/vmeUniverse/vme_am_defs.h \
62    ../../shared/vmeUniverse/VME.h \
63    ../../shared/vmeUniverse/vmeUniverseDMA.h\
64    ../../shared/vmeUniverse/bspVmeDmaList.h\
65    ../../shared/vmeUniverse/VMEDMA.h
66
67vme_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \
68    ../../shared/vmeUniverse/bspVmeDmaList.c \
69    ../shared/vme/vmeconfig.c \
70    ../shared/vme/vme_universe.c \
71    ../../shared/vmeUniverse/vme_am_defs.h
72
73EXTRA_DIST = start/start.S
74start.$(OBJEXT): start/start.S
75        $(CPPASCOMPILE) -o $@ -c $<
76project_lib_DATA = start.$(OBJEXT)
77
78EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
79rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
80        $(CPPASCOMPILE) -o $@ -c $<
81project_lib_DATA += rtems_crti.$(OBJEXT)
82
83noinst_LIBRARIES = libbsp.a
84libbsp_a_SOURCES = $(startup_SOURCES) $(pclock_SOURCES) $(console_SOURCES) \
85    $(openpic_SOURCES) $(pci_SOURCES) $(irq_SOURCES) $(vme_SOURCES)
86
87libbsp_a_LIBADD = \
88    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
89    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
90    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
91    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
92    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
93    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
94    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
95    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
96    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
97
98include $(srcdir)/preinstall.am
99include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.