1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | # wrapup is the one that actually builds and installs the library |
---|
8 | # from the individual .rel files built in other directories |
---|
9 | SUBDIRS = . tools |
---|
10 | |
---|
11 | include $(top_srcdir)/../../../../automake/compile.am |
---|
12 | include $(top_srcdir)/../../bsp.am |
---|
13 | |
---|
14 | dist_project_lib_DATA = bsp_specs |
---|
15 | |
---|
16 | include_HEADERS = include/bsp.h |
---|
17 | include_HEADERS += include/tm27.h |
---|
18 | |
---|
19 | nodist_include_HEADERS = include/bspopts.h |
---|
20 | DISTCLEANFILES = include/bspopts.h |
---|
21 | |
---|
22 | noinst_PROGRAMS = |
---|
23 | |
---|
24 | include_bspdir = $(includedir)/bsp |
---|
25 | |
---|
26 | include_HEADERS += include/coverhd.h |
---|
27 | |
---|
28 | EXTRA_DIST = start/start.S |
---|
29 | start.$(OBJEXT): start/start.S |
---|
30 | $(CPPASCOMPILE) -o $@ -c $< |
---|
31 | project_lib_DATA = start.$(OBJEXT) |
---|
32 | |
---|
33 | EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S |
---|
34 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
35 | $(CPPASCOMPILE) -o $@ -c $< |
---|
36 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
37 | |
---|
38 | dist_project_lib_DATA += startup/linkcmds |
---|
39 | |
---|
40 | noinst_LIBRARIES = libbsp.a |
---|
41 | |
---|
42 | startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
43 | ../../shared/bsppost.c ../../shared/bsppretaskinghook.c \ |
---|
44 | ../../shared/bsppredriverhook.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
45 | ../../shared/sbrk.c ../../shared/gnatinstallhandler.c |
---|
46 | |
---|
47 | pclock_SOURCES = ../shared/clock/p_clock.c |
---|
48 | console_SOURCES = ../../shared/console-polled.c |
---|
49 | debugio_SOURCES = console/console-io.c console/consupp.S |
---|
50 | |
---|
51 | include_bsp_HEADERS = irq/irq.h |
---|
52 | irq_SOURCES = irq/irq_init.c irq/no_pic.c |
---|
53 | |
---|
54 | EXTRA_DIST += vectors/README |
---|
55 | vectors_SOURCES = vectors/align_h.S |
---|
56 | |
---|
57 | include_bsp_HEADERS += \ |
---|
58 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
59 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \ |
---|
60 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h |
---|
61 | |
---|
62 | if HAS_MP |
---|
63 | EXTRA_DIST += shmsupp/README |
---|
64 | |
---|
65 | shmdr_SOURCES = \ |
---|
66 | shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c shmsupp/mpisr.c |
---|
67 | endif |
---|
68 | |
---|
69 | libbsp_a_SOURCES = $(startup_SOURCES) $(pclock_SOURCES) $(console_SOURCES) \ |
---|
70 | $(debugio_SOURCES) $(irq_SOURCES) $(vectors_SOURCES) $(shmdr_SOURCES) |
---|
71 | |
---|
72 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
73 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
74 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
75 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \ |
---|
76 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
77 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
78 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \ |
---|
79 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
80 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
81 | |
---|
82 | include $(srcdir)/preinstall.am |
---|
83 | include $(top_srcdir)/../../../../automake/local.am |
---|