source: rtems/c/src/lib/libbsp/m68k/gen68360/Makefile.am @ 6b56ec3

4.104.114.95
Last change on this file since 6b56ec3 was 1d0ee80e, checked in by Joel Sherrill <joel.sherrill@…>, on 05/14/08 at 20:28:09

2008-05-14 Joel Sherrill <joel.sherrill@…>

  • Makefile.am: Rework to avoid .rel files.
  • Property mode set to 100644
File size: 1.8 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
20
21EXTRA_DIST = start/start.S
22start.$(OBJEXT): start/start.S
23        $(CPPASCOMPILE) -o $@ -c $<
24project_lib_DATA = start.$(OBJEXT)
25
26dist_project_lib_DATA += startup/linkcmds startup/linkcmds.prom \
27    startup/linkcmds.bootp
28
29startup_SOURCES = startup/alloc360.c startup/bspclean.c \
30    ../../shared/bsppredriverhook.c \
31    ../../shared/bsplibc.c ../../shared/bsppost.c \
32    ../../m68k/shared/m68kpretaskinghook.c startup/bspstart.c \
33    startup/init68360.c ../../shared/bootcard.c \
34    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
35    ../../shared/gnatinstallhandler.c
36clock_SOURCES = clock/clock.c
37console_SOURCES = console/console.c ../../shared/dummy_printk_support.c
38timer_SOURCES = timer/timer.c
39
40if HAS_NETWORKING
41network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
42noinst_PROGRAMS += network.rel
43network_rel_SOURCES = network/network.c
44network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
45network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46endif
47
48noinst_LIBRARIES = libbsp.a
49libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
50    $(timer_SOURCES)
51
52libbsp_a_LIBADD = \
53    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
54    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
55if HAS_NETWORKING
56libbsp_a_LIBADD += network.rel
57endif
58if HAS_FPSP
59libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/fpsp.rel
60endif
61
62include $(srcdir)/preinstall.am
63include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.