1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../automake/compile.am |
---|
8 | |
---|
9 | EXTRA_DIST = |
---|
10 | |
---|
11 | noinst_PROGRAMS = |
---|
12 | |
---|
13 | ## shared/include |
---|
14 | if shared |
---|
15 | include_libcpudir = $(includedir)/libcpu |
---|
16 | |
---|
17 | include_libcpu_HEADERS = shared/include/mmu.h |
---|
18 | |
---|
19 | ## shared/arm920 |
---|
20 | noinst_PROGRAMS += shared/arm920.rel |
---|
21 | shared_arm920_rel_SOURCES = shared/arm920/mmu.c |
---|
22 | shared_arm920_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/src |
---|
23 | shared_arm920_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
24 | endif |
---|
25 | |
---|
26 | if at91rm9200 |
---|
27 | include_HEADERS = at91rm9200/include/at91rm9200.h at91rm9200/include/at91rm9200_dbgu.h \ |
---|
28 | at91rm9200/include/at91rm9200_emac.h at91rm9200/include/at91rm9200_gpio.h \ |
---|
29 | at91rm9200/include/at91rm9200_mem.h at91rm9200/include/at91rm9200_pmc.h at91rm9200/include/bits.h |
---|
30 | |
---|
31 | ## at91rm9200/clock |
---|
32 | noinst_PROGRAMS += at91rm9200/clock.rel |
---|
33 | at91rm9200_clock_rel_SOURCES = at91rm9200/clock/clock.c |
---|
34 | at91rm9200_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
35 | at91rm9200_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
36 | |
---|
37 | ## at91rm9200/dbgu |
---|
38 | noinst_PROGRAMS += at91rm9200/dbgu.rel |
---|
39 | at91rm9200_dbgu_rel_SOURCES = at91rm9200/dbgu/dbgu.c |
---|
40 | at91rm9200_dbgu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
41 | at91rm9200_dbgu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
42 | |
---|
43 | ## at91rm9200/timer |
---|
44 | noinst_PROGRAMS += at91rm9200/timer.rel |
---|
45 | at91rm9200_timer_rel_SOURCES = at91rm9200/timer/timer.c |
---|
46 | at91rm9200_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
47 | at91rm9200_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
48 | |
---|
49 | ## at91rm9200/pmc |
---|
50 | noinst_PROGRAMS += at91rm9200/pmc.rel |
---|
51 | at91rm9200_pmc_rel_SOURCES = at91rm9200/pmc/pmc.c |
---|
52 | at91rm9200_pmc_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
53 | at91rm9200_pmc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
54 | |
---|
55 | ## at91rm9200/interrupt |
---|
56 | include_HEADERS += at91rm9200/irq/irq.h |
---|
57 | |
---|
58 | noinst_PROGRAMS += at91rm9200/irq.rel |
---|
59 | at91rm9200_irq_rel_SOURCES = at91rm9200/irq/irq.c at91rm9200/irq/bsp_irq_init.c \ |
---|
60 | ../../libbsp/arm/shared/irq/irq_init.c at91rm9200/irq/bsp_irq_asm.S \ |
---|
61 | ../../libbsp/arm/shared/irq/irq_asm.S at91rm9200/irq/irq.h |
---|
62 | at91rm9200_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
63 | at91rm9200_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
64 | endif |
---|
65 | |
---|
66 | if mc9328mxl |
---|
67 | include_HEADERS = mc9328mxl/include/mc9328mxl.h |
---|
68 | |
---|
69 | ## mc9328mxl/clock |
---|
70 | noinst_PROGRAMS += mc9328mxl/clock.rel |
---|
71 | mc9328mxl_clock_rel_SOURCES = mc9328mxl/clock/clockdrv.c |
---|
72 | mc9328mxl_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
73 | mc9328mxl_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
74 | |
---|
75 | ## mc9328mxl/timer |
---|
76 | noinst_PROGRAMS += mc9328mxl/timer.rel |
---|
77 | mc9328mxl_timer_rel_SOURCES = mc9328mxl/timer/timer.c |
---|
78 | mc9328mxl_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
79 | mc9328mxl_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
80 | |
---|
81 | ## mc9328mxl/interrupt |
---|
82 | include_HEADERS += mc9328mxl/irq/irq.h |
---|
83 | |
---|
84 | noinst_PROGRAMS += mc9328mxl/irq.rel |
---|
85 | mc9328mxl_irq_rel_SOURCES = mc9328mxl/irq/irq.c mc9328mxl/irq/bsp_irq_init.c \ |
---|
86 | ../../libbsp/arm/shared/irq/irq_init.c mc9328mxl/irq/bsp_irq_asm.S \ |
---|
87 | ../../libbsp/arm/shared/irq/irq_asm.S mc9328mxl/irq/irq.h |
---|
88 | mc9328mxl_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
89 | mc9328mxl_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
90 | endif |
---|
91 | |
---|
92 | if s3c2400 |
---|
93 | include_HEADERS = s3c2400/include/s3c2400.h |
---|
94 | |
---|
95 | ## s3c2400/clock |
---|
96 | noinst_PROGRAMS += s3c2400/clock.rel |
---|
97 | s3c2400_clock_rel_SOURCES = s3c2400/clock/clockdrv.c s3c2400/clock/support.c |
---|
98 | s3c2400_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
99 | s3c2400_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
100 | |
---|
101 | ## s3c2400/timer |
---|
102 | noinst_PROGRAMS += s3c2400/timer.rel |
---|
103 | s3c2400_timer_rel_SOURCES = s3c2400/timer/timer.c |
---|
104 | s3c2400_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
105 | s3c2400_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
106 | |
---|
107 | ## s3c2400/interrupt |
---|
108 | include_HEADERS += s3c2400/irq/irq.h |
---|
109 | |
---|
110 | noinst_PROGRAMS += s3c2400/irq.rel |
---|
111 | s3c2400_irq_rel_SOURCES = s3c2400/irq/irq.c s3c2400/irq/bsp_irq_init.c \ |
---|
112 | ../../libbsp/arm/shared/irq/irq_init.c s3c2400/irq/bsp_irq_asm.S \ |
---|
113 | ../../libbsp/arm/shared/irq/irq_asm.S s3c2400/irq/irq.h |
---|
114 | s3c2400_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
115 | s3c2400_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
116 | endif |
---|
117 | |
---|
118 | include $(srcdir)/preinstall.am |
---|
119 | include $(top_srcdir)/../../../automake/local.am |
---|