1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | include $(top_srcdir)/../../bsp.am |
---|
9 | |
---|
10 | dist_project_lib_DATA = bsp_specs |
---|
11 | |
---|
12 | include_HEADERS = include/bsp.h |
---|
13 | include_HEADERS += include/tm27.h |
---|
14 | |
---|
15 | nodist_include_HEADERS = include/bspopts.h |
---|
16 | DISTCLEANFILES = include/bspopts.h |
---|
17 | |
---|
18 | noinst_PROGRAMS = |
---|
19 | |
---|
20 | include_bspdir = $(includedir)/bsp |
---|
21 | |
---|
22 | include_HEADERS += include/coverhd.h |
---|
23 | |
---|
24 | EXTRA_DIST = ../../powerpc/shared/start/rtems_crti.S |
---|
25 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
26 | $(CPPASCOMPILE) -o $@ -c $< |
---|
27 | project_lib_DATA = rtems_crti.$(OBJEXT) |
---|
28 | |
---|
29 | dist_project_lib_DATA += startup/linkcmds |
---|
30 | |
---|
31 | startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
32 | ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
33 | ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \ |
---|
34 | ../../shared/bsppretaskinghook.c ../../shared/sbrk.c \ |
---|
35 | ../../shared/gnatinstallhandler.c |
---|
36 | |
---|
37 | dlentry_SOURCES = dlentry/dlentry.S |
---|
38 | |
---|
39 | include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \ |
---|
40 | ../../powerpc/shared/console/consoleIo.h |
---|
41 | console_SOURCES = ../../powerpc/shared/console/uart.c \ |
---|
42 | ../../powerpc/shared/console/console.c |
---|
43 | |
---|
44 | include_bsp_HEADERS += irq/irq.h \ |
---|
45 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
46 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \ |
---|
47 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h |
---|
48 | |
---|
49 | irq_SOURCES = irq/irq_init.c irq/irq.c |
---|
50 | |
---|
51 | ## if HAS_NETWORKING |
---|
52 | ## network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
53 | ## noinst_PROGRAMS += network.rel |
---|
54 | ## network_rel_SOURCES = network/network.c |
---|
55 | ## network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
56 | ## network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
57 | ## endif |
---|
58 | |
---|
59 | noinst_LIBRARIES = libbsp.a |
---|
60 | libbsp_a_SOURCES = $(startup_SOURCES) $(dlentry_SOURCES) $(console_SOURCES) \ |
---|
61 | $(irq_SOURCES) |
---|
62 | |
---|
63 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
64 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
65 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
66 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \ |
---|
67 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
68 | ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \ |
---|
69 | ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel |
---|
70 | |
---|
71 | ## if HAS_NETWORKING |
---|
72 | ## libbsp_a_LIBADD += network.rel |
---|
73 | ## endif |
---|
74 | |
---|
75 | EXTRA_DIST += times |
---|
76 | |
---|
77 | include $(srcdir)/preinstall.am |
---|
78 | include $(top_srcdir)/../../../../automake/local.am |
---|