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