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 | noinst_PROGRAMS = |
---|
18 | |
---|
19 | include_HEADERS += include/ep7312.h |
---|
20 | nodist_include_HEADERS += ../../shared/include/coverhd.h |
---|
21 | |
---|
22 | EXTRA_DIST = start/start.S |
---|
23 | start.$(OBJEXT): start/start.S |
---|
24 | $(CPPASCOMPILE) -o $@ -c $< |
---|
25 | project_lib_DATA = start.$(OBJEXT) |
---|
26 | |
---|
27 | dist_project_lib_DATA += startup/linkcmds |
---|
28 | |
---|
29 | include_HEADERS += ../../arm/shared/comm/uart.h |
---|
30 | startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \ |
---|
31 | ../../shared/bsppredriverhook.c \ |
---|
32 | startup/bspstart.c startup/exit.c ../../shared/bootcard.c \ |
---|
33 | ../../shared/sbrk.c ../../shared/gnatinstallhandler.c |
---|
34 | clock_SOURCES = clock/clockdrv.c |
---|
35 | console_SOURCES = console/uart.c ../../shared/console.c |
---|
36 | timer_SOURCES = timer/timer.c |
---|
37 | abort_SOURCES = ../shared/abort/abort.c |
---|
38 | |
---|
39 | include_HEADERS += irq/irq.h |
---|
40 | irq_SOURCES = irq/irq.c irq/bsp_irq_init.c \ |
---|
41 | ../../arm/shared/irq/irq_init.c irq/bsp_irq_asm.S \ |
---|
42 | ../../arm/shared/irq/irq_asm.S irq/irq.h |
---|
43 | |
---|
44 | if HAS_NETWORKING |
---|
45 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
46 | noinst_PROGRAMS += network.rel |
---|
47 | network_rel_SOURCES = network/network.c |
---|
48 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
49 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
50 | endif |
---|
51 | |
---|
52 | noinst_LIBRARIES = libbsp.a |
---|
53 | libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \ |
---|
54 | $(timer_SOURCES) $(abort_SOURCES) $(irq_SOURCES) |
---|
55 | |
---|
56 | include_HEADERS += irq/irq.h |
---|
57 | |
---|
58 | # libcpu libraries could go here |
---|
59 | libbsp_a_LIBADD = |
---|
60 | if HAS_NETWORKING |
---|
61 | libbsp_a_LIBADD += network.rel |
---|
62 | endif |
---|
63 | |
---|
64 | include $(srcdir)/preinstall.am |
---|
65 | include $(top_srcdir)/../../../../automake/local.am |
---|