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

4.104.114.9
Last change on this file since 0ccb2bb was 1d0ee80e, checked in by Joel Sherrill <joel.sherrill@…>, on May 14, 2008 at 8:28:09 PM

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

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