source: rtems/c/src/lib/libbsp/arm/gba/Makefile.am @ 3c7ed6b

4.104.114.84.9
Last change on this file since 3c7ed6b was 3c7ed6b, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 6, 2005 at 6:46:04 PM

2005-07-06 Markku Puro <markku.puro@…>

  • .cvsignore, ChangeLog?, Makefile.am, README, bsp_specs, configure.ac, clock/clockdrv.c, console/conio.c, console/console.c, console/defaultfont.c, include/arm_mode_bits.h, include/asm_macros.h, include/bsp.h, include/bspopts.h.in, include/conio.h, include/gba.h, include/gba_registers.h, include/tm27.h, irq/bsp_irq_asm.S, irq/bsp_irq_init.c, irq/irq.c, irq/irq.h, irq/irq_asm.S, irq/irq_init.c, start/logo.S, start/start.S, startup/bspstart.c, startup/cpu.c, startup/cpu_asm.S, startup/exit.c, startup/linkcmds, timer/timer.c: New files.
  • Property mode set to 100644
File size: 5.9 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/arm_mode_bits.h
14include_HEADERS += include/asm_macros.h
15include_HEADERS += include/gba_registers.h
16include_HEADERS += include/conio.h
17include_HEADERS += include/tm27.h
18include_HEADERS += include/gba.h
19
20nodist_include_HEADERS = include/bspopts.h
21nodist_include_HEADERS += ../../shared/include/coverhd.h
22DISTCLEANFILES = include/bspopts.h
23
24noinst_PROGRAMS =
25
26EXTRA_DIST = start/start.S
27start$(LIB_VARIANT).$(OBJEXT): start/start.S
28        $(CPPASCOMPILE) -DASM -o $@ -c $<
29project_lib_DATA = start$(LIB_VARIANT).$(OBJEXT)
30
31dist_project_lib_DATA += startup/linkcmds
32
33noinst_PROGRAMS += startup.rel
34startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
35    startup/bspstart.c startup/exit.c startup/cpu.c startup/cpu_asm.S \
36    ../../shared/bootcard.c ../../shared/main.c ../../shared/sbrk.c \
37    ../../shared/gnatinstallhandler.c
38startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
39startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
40
41noinst_PROGRAMS += startup_g.rel
42startup_g_rel_SOURCES = $(startup_rel_SOURCES)
43startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
44startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
45
46noinst_PROGRAMS += clock.rel
47clock_rel_SOURCES = clock/clockdrv.c
48clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
49clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
50
51noinst_PROGRAMS += clock_g.rel
52clock_g_rel_SOURCES = $(clock_rel_SOURCES)
53clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
54clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
55
56noinst_PROGRAMS += console.rel
57console_rel_SOURCES = console/conio.c console/console.c console/defaultfont.c
58console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
59console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
60
61noinst_PROGRAMS += console_g.rel
62console_g_rel_SOURCES = $(console_rel_SOURCES)
63console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
64console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65
66noinst_PROGRAMS += timer.rel
67timer_rel_SOURCES = timer/timer.c
68timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
69timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
70
71noinst_PROGRAMS += timer_g.rel
72timer_g_rel_SOURCES = $(timer_rel_SOURCES)
73timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
74timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
75
76include_HEADERS += irq/irq.h
77
78noinst_PROGRAMS += irq.rel
79irq_rel_SOURCES = irq/irq.c irq/bsp_irq_init.c \
80    irq/irq_init.c irq/bsp_irq_asm.S \
81    irq/irq_asm.S
82irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
83irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
84
85noinst_PROGRAMS += irq_g.rel
86irq_g_rel_SOURCES = $(irq_rel_SOURCES)
87irq_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
88irq_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
89
90if HAS_NETWORKING
91##
92endif
93
94noinst_LIBRARIES = libbsp.a
95libbsp_a_SOURCES =
96libbsp_a_LIBADD = clock$(LIB_VARIANT).rel console$(LIB_VARIANT).rel \
97    startup$(LIB_VARIANT).rel irq$(LIB_VARIANT).rel timer$(LIB_VARIANT).rel
98if HAS_NETWORKING
99##
100endif
101noinst_LIBRARIES += libbsp_g.a
102libbsp_g_a_SOURCES = $(libbsp_a_SOURCES)
103libbsp_g_a_LIBADD = $(libbsp_a_LIBADD)
104
105all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
106
107PREINSTALL_DIRS =
108PREINSTALL_FILES =
109TMPINSTALL_FILES =
110
111$(PROJECT_INCLUDE)/$(dirstamp):
112        @$(mkdir_p) $(PROJECT_INCLUDE)
113        @: > $(PROJECT_INCLUDE)/$(dirstamp)
114PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
115
116$(PROJECT_LIB)/$(dirstamp):
117        @$(mkdir_p) $(PROJECT_LIB)
118        @: > $(PROJECT_LIB)/$(dirstamp)
119PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
120
121$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
122        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
123PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
124
125$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
126        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
127PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
128
129$(PROJECT_INCLUDE)/arm_mode_bits.h: include/arm_mode_bits.h $(PROJECT_INCLUDE)/$(dirstamp)
130        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/arm_mode_bits.h
131PREINSTALL_FILES += $(PROJECT_INCLUDE)/arm_mode_bits.h
132
133$(PROJECT_INCLUDE)/asm_macros.h: include/asm_macros.h $(PROJECT_INCLUDE)/$(dirstamp)
134        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/asm_macros.h
135PREINSTALL_FILES += $(PROJECT_INCLUDE)/asm_macros.h
136
137$(PROJECT_INCLUDE)/gba_registers.h: include/gba_registers.h $(PROJECT_INCLUDE)/$(dirstamp)
138        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gba_registers.h
139PREINSTALL_FILES += $(PROJECT_INCLUDE)/gba_registers.h
140
141$(PROJECT_INCLUDE)/conio.h: include/conio.h $(PROJECT_INCLUDE)/$(dirstamp)
142        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/conio.h
143PREINSTALL_FILES += $(PROJECT_INCLUDE)/conio.h
144
145$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
146        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
147PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
148
149$(PROJECT_INCLUDE)/gba.h: include/gba.h $(PROJECT_INCLUDE)/$(dirstamp)
150        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gba.h
151PREINSTALL_FILES += $(PROJECT_INCLUDE)/gba.h
152
153$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
154        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
155PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
156
157$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
158        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
159PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
160
161$(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT): start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
162        $(INSTALL_DATA) $< $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
163TMPINSTALL_FILES += $(PROJECT_LIB)/start$(LIB_VARIANT).$(OBJEXT)
164
165$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
166        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
167PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
168
169$(PROJECT_INCLUDE)/irq.h: irq/irq.h $(PROJECT_INCLUDE)/$(dirstamp)
170        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/irq.h
171PREINSTALL_FILES += $(PROJECT_INCLUDE)/irq.h
172
173CLEANFILES = $(PREINSTALL_FILES)
174DISTCLEANFILES += $(PREINSTALL_DIRS)
175CLEANFILES += $(TMPINSTALL_FILES)
176
177include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.