source: rtems/c/src/lib/libcpu/arm/at91rm9200/Makefile.am @ af85485

4.104.114.84.95
Last change on this file since af85485 was af85485, checked in by Jay Monkman <jtm@…>, on Jul 15, 2004 at 6:24:14 AM

2004-07-15 Jay Monkman

  • ChangeLog?, Makefile.am, clock/.cvsignore, clock/clock.c, dbgu/.cvsignore, dbgu/dbgu.c, include/at91rm9200.h, include/at91rm9200_dbgu.h, include/at91rm9200_emac.h, include/at91rm9200_gpio.h, include/at91rm9200_mem.h, include/at91rm9200_pmc.h, include/bits.h, irq/.cvsignore, irq/bsp_irq_asm.S, irq/bsp_irq_init.c, irq/irq.c, irq/irq.h, pmc/pmc.c, timer/.cvsignore, timer/timer.c: New files.
  • Property mode set to 100644
File size: 4.9 KB
Line 
1##
2## $Id$
3##
4
5CLEANFILES =
6EXTRA_DIST =
7EXTRA_PROGRAMS =
8noinst_DATA =
9
10include $(top_srcdir)/../../../automake/compile.am
11
12if at91rm9200
13include_at91rm9200dir = $(includedir)/at91rm9200
14include_libcpudir = $(includedir)/libcpu
15include_HEADERS =
16include_HEADERS += include/at91rm9200.h include/at91rm9200_dbgu.h \
17                   include/at91rm9200_emac.h include/at91rm9200_gpio.h \
18                   include/at91rm9200_mem.h include/at91rm9200_pmc.h \
19                   include/bits.h
20
21## clock
22EXTRA_PROGRAMS += clock.rel
23CLEANFILES += clock.rel
24clock_rel_SOURCES = clock/clock.c
25clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
26clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
27
28EXTRA_PROGRAMS += clock_g.rel
29CLEANFILES += clock_g.rel
30clock_g_rel_SOURCES = $(clock_rel_SOURCES)
31clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
32clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
33
34noinst_DATA += clock$(LIB_VARIANT).rel
35
36## dbgu
37EXTRA_PROGRAMS += dbgu.rel
38CLEANFILES += dbgu.rel
39dbgu_rel_SOURCES = dbgu/dbgu.c
40dbgu_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
41dbgu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43EXTRA_PROGRAMS += dbgu_g.rel
44CLEANFILES += dbgu_g.rel
45dbgu_g_rel_SOURCES = $(dbgu_rel_SOURCES)
46dbgu_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
47dbgu_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
48
49noinst_DATA += dbgu$(LIB_VARIANT).rel
50
51## timer
52EXTRA_PROGRAMS += timer.rel
53CLEANFILES += timer.rel
54timer_rel_SOURCES = timer/timer.c
55timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
56timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
57
58EXTRA_PROGRAMS += timer_g.rel
59CLEANFILES += timer_g.rel
60timer_g_rel_SOURCES = $(timer_rel_SOURCES)
61timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
62timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63
64noinst_DATA += timer$(LIB_VARIANT).rel
65
66## pmc
67EXTRA_PROGRAMS += pmc.rel
68CLEANFILES += pmc.rel
69pmc_rel_SOURCES = pmc/pmc.c
70pmc_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
71pmc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
72
73EXTRA_PROGRAMS += pmc_g.rel
74CLEANFILES += pmc_g.rel
75pmc_g_rel_SOURCES = $(pmc_rel_SOURCES)
76pmc_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
77pmc_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
78
79noinst_DATA += pmc$(LIB_VARIANT).rel
80
81## interrupt
82include_HEADERS += irq/irq.h
83
84EXTRA_PROGRAMS += irq.rel
85CLEANFILES += irq.rel
86irq_rel_SOURCES = irq/irq.c irq/bsp_irq_init.c \
87    ../../../libbsp/arm/shared/irq/irq_init.c irq/bsp_irq_asm.S \
88    ../../../libbsp/arm/shared/irq/irq_asm.S irq/irq.h
89irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
90irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
91
92EXTRA_PROGRAMS += irq_g.rel
93CLEANFILES += irq_g.rel
94irq_g_rel_SOURCES = $(irq_rel_SOURCES)
95irq_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
96irq_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
97
98noinst_DATA += irq$(LIB_VARIANT).rel
99
100
101endif
102
103## --
104all-local: $(PREINSTALL_FILES)
105
106PREINSTALL_DIRS =
107PREINSTALL_FILES =
108
109$(PROJECT_INCLUDE)/$(dirstamp):
110        @$(mkdir_p) $(PROJECT_INCLUDE)
111        @: > $(PROJECT_INCLUDE)/$(dirstamp)
112PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
113
114if at91rm9200
115$(PROJECT_INCLUDE)/at91rm9200/$(dirstamp):
116        @$(mkdir_p) $(PROJECT_INCLUDE)/at91rm9200
117        @: > $(PROJECT_INCLUDE)/at91rm9200/$(dirstamp)
118PREINSTALL_DIRS += $(PROJECT_INCLUDE)/at91rm9200/$(dirstamp)
119
120$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
121        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
122        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
123PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
124
125$(PROJECT_INCLUDE)/at91rm9200.h: include/at91rm9200.h $(PROJECT_INCLUDE)/$(dirstamp)
126        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200.h
127PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200.h
128
129$(PROJECT_INCLUDE)/at91rm9200_dbgu.h: include/at91rm9200_dbgu.h $(PROJECT_INCLUDE)/$(dirstamp)
130        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_dbgu.h
131PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_dbgu.h
132
133$(PROJECT_INCLUDE)/at91rm9200_emac.h: include/at91rm9200_emac.h $(PROJECT_INCLUDE)/$(dirstamp)
134        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_emac.h
135PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_emac.h
136
137$(PROJECT_INCLUDE)/at91rm9200_gpio.h: include/at91rm9200_gpio.h $(PROJECT_INCLUDE)/$(dirstamp)
138        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_gpio.h
139PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_gpio.h
140
141$(PROJECT_INCLUDE)/at91rm9200_mem.h: include/at91rm9200_mem.h $(PROJECT_INCLUDE)/$(dirstamp)
142        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_mem.h
143PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_mem.h
144
145$(PROJECT_INCLUDE)/at91rm9200_pmc.h: include/at91rm9200_pmc.h $(PROJECT_INCLUDE)/$(dirstamp)
146        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/at91rm9200_pmc.h
147PREINSTALL_FILES += $(PROJECT_INCLUDE)/at91rm9200_pmc.h
148
149$(PROJECT_INCLUDE)/bits.h: include/bits.h $(PROJECT_INCLUDE)/$(dirstamp)
150        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bits.h
151PREINSTALL_FILES += $(PROJECT_INCLUDE)/bits.h
152
153$(PROJECT_INCLUDE)/irq.h: irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
154        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
155PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
156
157endif
158
159CLEANFILES += $(PREINSTALL_FILES)
160DISTCLEANFILES = $(PREINSTALL_DIRS)
161
162include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.