source: rtems/c/src/lib/libbsp/m68k/mcf5235/Makefile.am @ 760486f7

4.104.114.84.95
Last change on this file since 760486f7 was 760486f7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/11/06 at 05:25:53

2006-01-11 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Add preinstall.am.
  • 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
17CLEANFILES =
18noinst_PROGRAMS =
19
20include_HEADERS += include/coverhd.h
21
22EXTRA_DIST = start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -DASM -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29noinst_PROGRAMS += startup.rel
30startup_rel_SOURCES = startup/bspclean.c \
31    ../../shared/bsplibc.c ../../shared/bsppost.c \
32    ../../m68k/shared/m68kpretaskinghook.c \
33    startup/init5235.c startup/bspstart.c \
34    ../../shared/bootcard.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/clock.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
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) \
60    $(network_CPPFLAGS)
61network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62endif
63
64noinst_LIBRARIES = libbsp.a
65libbsp_a_SOURCES =
66libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
67if HAS_NETWORKING
68libbsp_a_LIBADD += network.rel
69endif
70libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
71    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
72
73all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
74
75include $(srcdir)/preinstall.am
76include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.