source: rtems/c/src/lib/libbsp/m68k/mvme136/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 = ../../m68k/shared/start.S
23start.$(OBJEXT): ../../m68k/shared/start.S
24        $(CPPASCOMPILE) -DASM -o $@ -c $<
25
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds
29
30noinst_PROGRAMS += startup.rel
31startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
32    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
33    ../../m68k/shared/m68kpretaskinghook.c ../../shared/main.c \
34    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
35    ../../shared/gnatinstallhandler.c
36startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
37startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
38
39noinst_PROGRAMS += clock.rel
40clock_rel_SOURCES = clock/ckinit.c
41clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
42clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44noinst_PROGRAMS += console.rel
45console_rel_SOURCES = console/console.c
46console_rel_CPPFLAGS = $(AM_CPPFLAGS)
47console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
48
49noinst_PROGRAMS += timer.rel
50timer_rel_SOURCES = timer/timer.c timer/timerisr.S
51timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
52timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
53
54if HAS_MP
55noinst_PROGRAMS += shmsupp.rel
56shmsupp_rel_SOURCES = shmsupp/addrconv.c shmsupp/getcfg.c shmsupp/lock.c \
57    shmsupp/mpisr.c
58shmsupp_rel_CPPFLAGS = $(AM_CPPFLAGS)
59shmsupp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
60endif
61
62noinst_LIBRARIES = libbsp.a
63libbsp_a_SOURCES =
64libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.rel
65if HAS_MP
66libbsp_a_LIBADD += shmsupp.rel
67endif
68libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
69    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
70
71all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
72
73EXTRA_DIST += times
74
75include $(srcdir)/preinstall.am
76include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.