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 | |
---|
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 += include/coverhd.h |
---|
23 | include_bsp_HEADERS = include/mbx.h include/commproc.h include/8xx_immap.h \ |
---|
24 | irq/irq.h vectors/vectors.h |
---|
25 | |
---|
26 | EXTRA_DIST = times-mbx821 times-mbx860 |
---|
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 | # irq |
---|
38 | libbsp_a_SOURCES += irq/irq.c irq/irq_asm.S irq/irq_init.c |
---|
39 | # ide |
---|
40 | libbsp_a_SOURCES += ide/idecfg.c ide/pcmcia_ide.c |
---|
41 | # vectors |
---|
42 | libbsp_a_SOURCES += vectors/vectors.h vectors/vectors_init.c \ |
---|
43 | vectors/vectors.S |
---|
44 | # startup |
---|
45 | libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
46 | ../../shared/bsppost.c ../../shared/bsppredriverhook.c \ |
---|
47 | ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \ |
---|
48 | startup/bspstart.c ../../shared/bootcard.c \ |
---|
49 | startup/imbx8xx.c startup/mmutlbtab.c \ |
---|
50 | ../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/start.S |
---|
51 | |
---|
52 | if HAS_NETWORKING |
---|
53 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
54 | noinst_PROGRAMS += network.rel |
---|
55 | network_rel_SOURCES = network/network.c |
---|
56 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
57 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
58 | endif |
---|
59 | |
---|
60 | libbsp_a_LIBADD = \ |
---|
61 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
62 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
63 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
64 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
65 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/clock.rel \ |
---|
66 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/console-generic.rel \ |
---|
67 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/cpm.rel \ |
---|
68 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/mmu.rel \ |
---|
69 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/timer.rel |
---|
70 | |
---|
71 | if HAS_NETWORKING |
---|
72 | libbsp_a_LIBADD += network.rel |
---|
73 | endif |
---|
74 | |
---|
75 | include $(srcdir)/preinstall.am |
---|
76 | include $(top_srcdir)/../../../../automake/local.am |
---|