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 | 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 | pclock_SOURCES = clock/p_clock.c |
---|
31 | console_SOURCES = console/console.c |
---|
32 | irq_SOURCES = irq/irq.c irq/irq_asm.S irq/irq_init.c |
---|
33 | ide_SOURCES = ide/idecfg.c ide/pcmcia_ide.c |
---|
34 | vectors_SOURCES = vectors/vectors.h vectors/vectors_init.c \ |
---|
35 | vectors/vectors.S |
---|
36 | startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
37 | ../../shared/bsppost.c ../../shared/bsppredriverhook.c \ |
---|
38 | ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \ |
---|
39 | startup/bspstart.c ../../shared/bootcard.c \ |
---|
40 | startup/imbx8xx.c startup/mmutlbtab.c \ |
---|
41 | ../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/start.S |
---|
42 | |
---|
43 | if HAS_NETWORKING |
---|
44 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
45 | noinst_PROGRAMS += network.rel |
---|
46 | network_rel_SOURCES = network/network.c |
---|
47 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
48 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
49 | endif |
---|
50 | |
---|
51 | noinst_LIBRARIES = libbsp.a |
---|
52 | libbsp_a_SOURCES = $(pclock_SOURCES) $(irq_SOURCES) $(ide_SOURCES) \ |
---|
53 | $(startup_SOURCES) $(console_SOURCES) $(vectors_SOURCES) |
---|
54 | |
---|
55 | libbsp_a_LIBADD = \ |
---|
56 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
57 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
58 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
59 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
60 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/clock.rel \ |
---|
61 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/console-generic.rel \ |
---|
62 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/cpm.rel \ |
---|
63 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/mmu.rel \ |
---|
64 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/timer.rel |
---|
65 | |
---|
66 | if HAS_NETWORKING |
---|
67 | libbsp_a_LIBADD += network.rel |
---|
68 | endif |
---|
69 | |
---|
70 | include $(srcdir)/preinstall.am |
---|
71 | include $(top_srcdir)/../../../../automake/local.am |
---|