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