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

4.104.114.9
Last change on this file since a3def339 was a3def339, checked in by Till Straumann <strauman@…>, on Dec 14, 2007 at 9:15:08 PM

2007-12-14 Till Straumann <strauman@…>

  • Makefile.am, irq/irq.c (removed), irq/irq_init.c: Use shared exception/interrupt support from libcpu/new-exceptions/bspsupport. NOTE: CHANGES MUST BE TESTED ON REAL HARDWARE.
  • 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 += startup/linkcmds
25
26noinst_PROGRAMS += startup.rel
27startup_rel_SOURCES = startup/bspstart.c ../../shared/bootcard.c \
28    ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
29    ../../shared/bsplibc.c ../../powerpc/shared/startup/sbrk.c \
30    ../../shared/bspclean.c ../../shared/gnatinstallhandler.c \
31    ../../powerpc/shared/startup/pgtbl_setup.c \
32    ../../powerpc/shared/startup/pgtbl_activate.c \
33    ../../powerpc/shared/showbats.c
34startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
35startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
36
37###
38noinst_PROGRAMS += pclock.rel
39pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c
40pclock_rel_CPPFLAGS = $(AM_CPPFLAGS)
41pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43###
44include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \
45    ../../powerpc/shared/motorola/motorola.h \
46    ../../powerpc/shared/residual/residual.h \
47    ../../powerpc/shared/residual/pnp.h \
48    ../../powerpc/shared/console/consoleIo.h console/rsPMCQ1.h
49
50noinst_PROGRAMS += console.rel
51console_rel_SOURCES = console/console.c console/ns16550cfg.c \
52    console/mc68360_scc.c console/rsPMCQ1.c console/alloc360.c \
53    console/init68360.c
54console_rel_CPPFLAGS = $(AM_CPPFLAGS)
55console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56###
57include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
58
59noinst_PROGRAMS += openpic.rel
60openpic_rel_SOURCES = ../../powerpc/shared/openpic/openpic.h \
61    ../../powerpc/shared/openpic/openpic.c
62
63openpic_rel_CPPFLAGS = $(AM_CPPFLAGS)
64openpic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65
66###
67include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
68
69noinst_PROGRAMS += pci.rel
70pci_rel_SOURCES = pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \
71    ../../powerpc/shared/pci/pcifinddevice.c
72pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
73pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
74
75###
76include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h \
77        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h \
78        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
79        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h
80
81noinst_PROGRAMS += irq.rel
82irq_rel_SOURCES = irq/irq_init.c ../shared/irq/openpic_i8259_irq.c ../../powerpc/shared/irq/i8259.c
83irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
84irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
85
86##
87include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
88    vme/VMEConfig.h \
89    ../../shared/vmeUniverse/vme_am_defs.h \
90    ../../shared/vmeUniverse/VME.h \
91    ../../shared/vmeUniverse/vmeUniverseDMA.h\
92    ../../shared/vmeUniverse/bspVmeDmaList.h\
93    ../../shared/vmeUniverse/VMEDMA.h
94
95noinst_PROGRAMS += vme.rel
96vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \
97    ../../shared/vmeUniverse/bspVmeDmaList.c \
98    ../shared/vme/vmeconfig.c \
99    ../shared/vme/vme_universe.c \
100    ../../shared/vmeUniverse/vme_am_defs.h
101vme_rel_CPPFLAGS = $(AM_CPPFLAGS)
102vme_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
103
104##
105
106EXTRA_DIST = start/start.S
107start.$(OBJEXT): start/start.S
108        $(CPPASCOMPILE) -o $@ -c $<
109project_lib_DATA = start.$(OBJEXT)
110
111EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
112rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
113        $(CPPASCOMPILE) -o $@ -c $<
114project_lib_DATA += rtems_crti.$(OBJEXT)
115
116noinst_LIBRARIES = libbsp.a
117libbsp_a_SOURCES =
118libbsp_a_LIBADD = pclock.rel console.rel irq.rel openpic.rel pci.rel \
119    startup.rel vme.rel
120
121libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
122    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
123    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
124    ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \
125    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
126    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
127    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
128    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
129    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
130
131include $(srcdir)/preinstall.am
132include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.