source: rtems/c/src/lib/libbsp/m68k/ods68302/Makefile.am @ 218c346

Last change on this file since 218c346 was 218c346, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/20/06 at 11:55:29

2006-10-20 Ralf Corsépius <ralf.corsepius@…>

  • Makefile.am: Remove superfluous -DASM.
  • Property mode set to 100644
File size: 2.2 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
19EXTRA_DIST =
20
21include_HEADERS += include/bare.h
22include_HEADERS += include/crc.h
23include_HEADERS += include/debugport.h
24include_HEADERS += include/m68302scc.h
25include_HEADERS += include/coverhd.h
26
27# FIXME: Better merge both files into one and use #ifdef GDB_MONITOR_ACTIVE
28if ODS68302_DEBUG
29EXTRA_DIST += start/debugreset.S
30start.$(OBJEXT): start/debugreset.S
31        $(CPPASCOMPILE) -o $@ -c $<
32else
33EXTRA_DIST += start/reset.S
34start.$(OBJEXT): start/reset.S
35        $(CPPASCOMPILE) -o $@ -c $<
36endif
37
38project_lib_DATA = start.$(OBJEXT)
39
40dist_project_lib_DATA += startup/linkcmds startup/rom startup/debugger
41
42noinst_PROGRAMS += startup.rel
43startup_rel_SOURCES = startup/cpuboot.c startup/crc.c startup/debugport.c \
44    startup/gdb-hooks.c ../../shared/bootcard.c ../../shared/main.c \
45    startup/m68302scc.c startup/m68k-stub.c \
46    ../../m68k/shared/m68kpretaskinghook.c startup/memcheck.c \
47    startup/trace.c ../../shared/gnatinstallhandler.c ../../shared/bsplibc.c \
48    ../../shared/bsppost.c startup/bspstart.c startup/bspclean.c \
49    ../../shared/sbrk.c ../../m68k/shared/setvec.c
50startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
51startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52
53noinst_PROGRAMS += clock.rel
54clock_rel_SOURCES = clock/ckinit.c
55clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
56clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58noinst_PROGRAMS += console.rel
59console_rel_SOURCES = console/console.c
60console_rel_CPPFLAGS = $(AM_CPPFLAGS)
61console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62
63noinst_PROGRAMS += timer.rel
64timer_rel_SOURCES = timer/timer.c timer/timerisr.S
65timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
66timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
67
68noinst_LIBRARIES = libbsp.a
69libbsp_a_SOURCES =
70libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
71libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
72    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
73
74include $(srcdir)/preinstall.am
75include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.