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 += include/tm27.h |
---|
15 | |
---|
16 | nodist_include_HEADERS = include/bspopts.h |
---|
17 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
18 | DISTCLEANFILES = include/bspopts.h |
---|
19 | |
---|
20 | noinst_PROGRAMS = |
---|
21 | |
---|
22 | include_HEADERS += ../../shared/include/coverhd.h |
---|
23 | |
---|
24 | noinst_LIBRARIES = libbspstart.a |
---|
25 | libbspstart_a_SOURCES = start/start.S |
---|
26 | project_lib_DATA = start.$(OBJEXT) |
---|
27 | |
---|
28 | dist_project_lib_DATA += startup/linkcmds |
---|
29 | |
---|
30 | noinst_LIBRARIES += libbsp.a |
---|
31 | libbsp_a_SOURCES = |
---|
32 | |
---|
33 | # pclock |
---|
34 | libbsp_a_SOURCES += clock/p_clock.c |
---|
35 | # console |
---|
36 | libbsp_a_SOURCES += console/console.c |
---|
37 | |
---|
38 | include_bsp_HEADERS = irq/irq.h |
---|
39 | # irq |
---|
40 | libbsp_a_SOURCES += irq/irq.c irq/irq_init.c irq/irq.h irq/irq_asm.S |
---|
41 | |
---|
42 | include_bsp_HEADERS += vectors/vectors.h |
---|
43 | # startup |
---|
44 | libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
45 | ../../shared/bsppredriverhook.c ../../shared/bsppost.c \ |
---|
46 | ../shared/startup/bspidle.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
47 | ../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/cpuinit.c \ |
---|
48 | ../../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c |
---|
49 | |
---|
50 | # vectors |
---|
51 | libbsp_a_SOURCES += vectors/vectors_init.c vectors/vectors.h \ |
---|
52 | vectors/vectors.S |
---|
53 | |
---|
54 | if HAS_NETWORKING |
---|
55 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
56 | network_CPPFLAGS += -D__BSD_VISIBLE |
---|
57 | noinst_PROGRAMS += network.rel |
---|
58 | network_rel_SOURCES = network/network.c network/if_hdlcsubr.c |
---|
59 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
60 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
61 | endif |
---|
62 | |
---|
63 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
64 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
65 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
66 | ../../../libcpu/@RTEMS_CPU@/mpc8260/clock.rel \ |
---|
67 | ../../../libcpu/@RTEMS_CPU@/mpc8260/console-generic.rel \ |
---|
68 | ../../../libcpu/@RTEMS_CPU@/mpc8260/cpm.rel \ |
---|
69 | ../../../libcpu/@RTEMS_CPU@/mpc8260/mmu.rel \ |
---|
70 | ../../../libcpu/@RTEMS_CPU@/mpc8260/timer.rel \ |
---|
71 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel |
---|
72 | if HAS_NETWORKING |
---|
73 | libbsp_a_LIBADD += network.rel |
---|
74 | endif |
---|
75 | |
---|
76 | EXTRA_DIST = times |
---|
77 | |
---|
78 | include $(srcdir)/preinstall.am |
---|
79 | include $(top_srcdir)/../../../../automake/local.am |
---|