source: rtems/c/src/lib/libbsp/m68k/gen68302/Makefile.am @ bb1571ec

4.104.114.84.95
Last change on this file since bb1571ec was bb1571ec, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/12/06 at 05:40:08

Cleanup.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17noinst_PROGRAMS =
18
19include_HEADERS += include/coverhd.h
20include_HEADERS += include/m302_int.h
21
22EXTRA_DIST = times
23
24EXTRA_DIST += start/start.S
25start.$(OBJEXT): start/start.S
26        $(CPPASCOMPILE) -DASM -o $@ -c $<
27project_lib_DATA = start.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds
30
31noinst_PROGRAMS += startup.rel
32startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
33    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
34    ../../m68k/shared/m68kpretaskinghook.c ../../shared/main.c \
35    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
36    ../../shared/gnatinstallhandler.c
37startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
38startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
39
40noinst_PROGRAMS += clock.rel
41clock_rel_SOURCES = clock/ckinit.c
42clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
43clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45noinst_PROGRAMS += console.rel
46console_rel_SOURCES = console/console.c
47console_rel_CPPFLAGS = $(AM_CPPFLAGS)
48console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50noinst_PROGRAMS += timer.rel
51timer_rel_SOURCES = timer/timer.c timer/timerisr.S
52timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
53timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
54
55if HAS_NETWORKING
56network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
57noinst_PROGRAMS += network.rel
58network_rel_SOURCES = network/network.c
59network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
60network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
61endif
62
63noinst_LIBRARIES = libbsp.a
64libbsp_a_SOURCES =
65libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
66if HAS_NETWORKING
67libbsp_a_LIBADD += network.rel
68endif
69libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
70    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
71
72all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
73
74include $(srcdir)/preinstall.am
75include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.