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 | # wrapup is the one that actually builds and installs the library |
---|
20 | # from the individual .rel files built in other directories |
---|
21 | # XXX ignore tools since it doesn't build |
---|
22 | SUBDIRS = . |
---|
23 | |
---|
24 | include_HEADERS += ../../shared/tod.h |
---|
25 | include_HEADERS += include/coverhd.h |
---|
26 | include_HEADERS += include/page_table.h |
---|
27 | |
---|
28 | nodist_include_HEADERS += $(top_srcdir)/../shared/mvme/mvme16x_hw.h |
---|
29 | |
---|
30 | EXTRA_DIST = ../../m68k/shared/start.S |
---|
31 | start.$(OBJEXT): ../../m68k/shared/start.S |
---|
32 | $(CPPASCOMPILE) -o $@ -c $< |
---|
33 | |
---|
34 | project_lib_DATA = start.$(OBJEXT) |
---|
35 | |
---|
36 | dist_project_lib_DATA += startup/linkcmds |
---|
37 | |
---|
38 | noinst_PROGRAMS += startup.rel |
---|
39 | startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \ |
---|
40 | ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
41 | ../../m68k/shared/m68kpretaskinghook.c \ |
---|
42 | startup/page_table.c ../../shared/sbrk.c ../../m68k/shared/setvec.c \ |
---|
43 | ../../shared/gnatinstallhandler.c |
---|
44 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
45 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
46 | |
---|
47 | noinst_PROGRAMS += clock.rel |
---|
48 | clock_rel_SOURCES = clock/ckinit.c |
---|
49 | clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
50 | clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
51 | |
---|
52 | noinst_PROGRAMS += console.rel |
---|
53 | console_rel_SOURCES = console/console.c ../../shared/dummy_printk_support.c |
---|
54 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
55 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
56 | |
---|
57 | noinst_PROGRAMS += timer.rel |
---|
58 | timer_rel_SOURCES = timer/timer.c timer/timerisr.S |
---|
59 | timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
60 | timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
61 | |
---|
62 | noinst_PROGRAMS += tod.rel |
---|
63 | tod_rel_SOURCES = tod/tod.c |
---|
64 | tod_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
65 | tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
66 | |
---|
67 | if HAS_NETWORKING |
---|
68 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
69 | noinst_PROGRAMS += network.rel |
---|
70 | network_rel_SOURCES = ../mvme167/network/network.c |
---|
71 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
72 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
73 | endif |
---|
74 | #-- |
---|
75 | noinst_LIBRARIES = libbsp.a |
---|
76 | libbsp_a_SOURCES = |
---|
77 | libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel tod.rel |
---|
78 | if HAS_NETWORKING |
---|
79 | libbsp_a_LIBADD += network.rel |
---|
80 | endif |
---|
81 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
82 | ../../../libcpu/@RTEMS_CPU@/shared/misc.rel |
---|
83 | if HAS_FPSP |
---|
84 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel |
---|
85 | endif |
---|
86 | |
---|
87 | EXTRA_DIST += times |
---|
88 | |
---|
89 | include $(srcdir)/preinstall.am |
---|
90 | include $(top_srcdir)/../../../../automake/local.am |
---|