source: rtems/c/src/lib/libcpu/mips/Makefile.am @ ea1116d

4.104.115
Last change on this file since ea1116d was 7c99007, checked in by Greg Menke <gregory.menke@…>, on Jun 8, 2006 at 6:03:55 PM

B.Robinson MIPS patch

  • Property mode set to 100644
File size: 4.1 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/compile.am
8
9EXTRA_DIST =
10
11noinst_PROGRAMS =
12
13## cache
14include_libcpudir = $(includedir)/libcpu
15
16include_libcpu_HEADERS = ../shared/include/cache.h
17
18noinst_PROGRAMS += shared/cache.rel
19shared_cache_rel_SOURCES = shared/cache/cache.c ../shared/src/cache_aligned_malloc.c \
20    ../shared/src/cache_manager.c shared/cache/cache_.h
21shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
22shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
23
24## interrupts
25
26if rm52xx
27interrupts_CPPFLAGS = -DRM52XX
28endif
29
30if tx39
31interrupts_CPPFLAGS = -DTX39
32endif
33
34if tx49
35interrupts_CPPFLAGS = -DTX49
36endif
37
38if mongoosev
39interrupts_CPPFLAGS = -DMONGOOSEV
40endif
41
42noinst_PROGRAMS += shared/interrupts.rel
43shared_interrupts_rel_SOURCES = shared/interrupts/installisrentries.c \
44    shared/interrupts/vectorexceptions.c shared/interrupts/interruptmask.c \
45    shared/interrupts/isr_entries.S
46shared_interrupts_rel_CPPFLAGS = $(AM_CPPFLAGS) $(interrupts_CPPFLAGS)
47shared_interrupts_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
48
49EXTRA_DIST += mongoosev/README
50EXTRA_DIST += mongoosev/duart/README.mguart
51if mongoosev
52include_libcpu_HEADERS += mongoosev/include/mongoose-v.h
53
54## mongoosev/duart
55include_libchipdir = $(includedir)/libchip
56include_libchip_HEADERS = mongoosev/duart/mg5uart.h
57
58noinst_PROGRAMS += mongoosev/duart.rel
59mongoosev_duart_rel_SOURCES = mongoosev/duart/mg5uart.c \
60    mongoosev/duart/mg5uart.h mongoosev/duart/mg5uart_reg.c
61mongoosev_duart_rel_CPPFLAGS = $(AM_CPPFLAGS)
62mongoosev_duart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63
64## mongoosev/vectorisrs
65
66noinst_PROGRAMS += mongoosev/vectorisrs.rel
67mongoosev_vectorisrs_rel_SOURCES = mongoosev/vectorisrs/maxvectors.c \
68   mongoosev/vectorisrs/vectorisrs.c
69mongoosev_vectorisrs_rel_CPPFLAGS = $(AM_CPPFLAGS)
70mongoosev_vectorisrs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
71endif
72
73if tx39
74include_libcpu_HEADERS += tx39/include/tx3904.h
75
76noinst_PROGRAMS += tx39/vectorisrs.rel
77tx39_vectorisrs_rel_SOURCES = tx39/vectorisrs/maxvectors.c tx39/vectorisrs/vectorisrs.c
78tx39_vectorisrs_rel_CPPFLAGS = $(AM_CPPFLAGS)
79tx39_vectorisrs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
80endif
81
82if tx49
83include_libcpu_HEADERS += tx49/include/tx4925.h tx49/include/tx4938.h
84
85noinst_PROGRAMS += tx49/vectorisrs.rel
86tx49_vectorisrs_rel_SOURCES = tx49/vectorisrs/maxvectors.c tx49/vectorisrs/vectorisrs.c
87tx49_vectorisrs_rel_CPPFLAGS = $(AM_CPPFLAGS)
88tx49_vectorisrs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
89
90noinst_PROGRAMS += tx49/timer.rel
91tx49_timer_rel_SOURCES = timer/timer.c timer/gettime.S
92tx49_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
93tx49_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
94endif
95
96if au1x00
97include_libcpu_HEADERS += au1x00/include/au1x00.h
98
99noinst_PROGRAMS += au1x00/vectorisrs.rel
100au1x00_vectorisrs_rel_SOURCES = au1x00/vectorisrs/maxvectors.c \
101  au1x00/vectorisrs/vectorisrs.c
102au1x00_vectorisrs_rel_CPPFLAGS = $(AM_CPPFLAGS)
103au1x00_vectorisrs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
104endif
105
106if r46xx
107noinst_PROGRAMS += r46xx/vectorisrs.rel
108r46xx_vectorisrs_rel_SOURCES = r46xx/vectorisrs/maxvectors.c \
109   r46xx/vectorisrs/vectorisrs.c
110r46xx_vectorisrs_rel_CPPFLAGS = $(AM_CPPFLAGS)
111r46xx_vectorisrs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
112
113noinst_PROGRAMS += r46xx/timer.rel
114r46xx_timer_rel_SOURCES = timer/timer.c timer/gettime.S
115r46xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
116r46xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
117
118noinst_PROGRAMS += r46xx/clock.rel
119r46xx_clock_rel_SOURCES = clock/ckinit.c clock/clock.S clock/clock.h
120r46xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
121r46xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
122endif
123
124if rm52xx
125include_libcpu_HEADERS += rm52xx/include/rm5231.h
126
127noinst_PROGRAMS += rm52xx/vectorisrs.rel
128rm52xx_vectorisrs_rel_SOURCES = rm52xx/vectorisrs/maxvectors.c rm52xx/vectorisrs/vectorisrs.c
129rm52xx_vectorisrs_rel_CPPFLAGS = $(AM_CPPFLAGS)
130rm52xx_vectorisrs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
131
132noinst_PROGRAMS += rm52xx/timer.rel
133rm52xx_timer_rel_SOURCES = timer/timer.c timer/gettime.S
134rm52xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
135rm52xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
136endif
137
138include $(srcdir)/preinstall.am
139include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.