source: rtems/c/src/lib/libbsp/arm/gp32/Makefile.am @ e8c785c6

4.104.114.84.95
Last change on this file since e8c785c6 was e8c785c6, checked in by Jay Monkman <jtm@…>, on Mar 11, 2005 at 7:27:56 AM

2005-03-11 Philippe Simons <loki_666@…>

  • acinclude.m4: Added gp32 BSP.
  • gp32/.cvsignore, gp32/Makefile.am, gp32/README, gp32/bsp_specs, gp32/configure.ac, gp32/console/.cvsignore, gp32/console/conio.c, gp32/console/console.c, gp32/console/defaultfont.c, gp32/include/.cvsignore, gp32/include/bsp.h, gp32/include/conio.h, gp32/include/tm27.h, gp32/start/.cvsignore, gp32/start/start.S, gp32/startup/.cvsignore, gp32/startup/bspstart.c, gp32/startup/exit.c, gp32/startup/linkcmds, gp32/startup/memmap.c: New files.
  • Property mode set to 100644
File size: 3.3 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/conio.h
14include_HEADERS += include/tm27.h
15
16nodist_include_HEADERS = include/bspopts.h
17DISTCLEANFILES = include/bspopts.h
18
19noinst_PROGRAMS =
20
21nodist_include_HEADERS += ../../shared/include/coverhd.h
22
23EXTRA_DIST = start/start.S
24start.$(OBJEXT): start/start.S
25        $(CPPASCOMPILE) -DASM -o $@ -c $<
26project_lib_DATA = start.$(OBJEXT)
27
28dist_project_lib_DATA += startup/linkcmds
29
30noinst_PROGRAMS += startup.rel
31startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
32    startup/bspstart.c startup/exit.c startup/memmap.c \
33    ../../shared/bootcard.c ../../shared/main.c ../../shared/sbrk.c \
34    ../../shared/gnatinstallhandler.c
35startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
36startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
37
38noinst_PROGRAMS += console.rel
39console_rel_SOURCES = console/conio.c console/defaultfont.c console/console.c
40console_rel_CPPFLAGS = $(AM_CPPFLAGS)
41console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43noinst_LIBRARIES = libbsp.a
44libbsp_a_SOURCES =
45libbsp_a_LIBADD = startup.rel console.rel
46libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
47    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
48    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
49    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
50
51all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
52
53PREINSTALL_DIRS =
54PREINSTALL_FILES =
55TMPINSTALL_FILES =
56
57$(PROJECT_INCLUDE)/$(dirstamp):
58        @$(mkdir_p) $(PROJECT_INCLUDE)
59        @: > $(PROJECT_INCLUDE)/$(dirstamp)
60PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
61
62$(PROJECT_LIB)/$(dirstamp):
63        @$(mkdir_p) $(PROJECT_LIB)
64        @: > $(PROJECT_LIB)/$(dirstamp)
65PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
66
67$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
68        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
69PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
70
71$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
72        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
73PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
74
75$(PROJECT_INCLUDE)/conio.h: include/conio.h $(PROJECT_INCLUDE)/$(dirstamp)
76        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/conio.h
77PREINSTALL_FILES += $(PROJECT_INCLUDE)/conio.h
78
79$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
80        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
81PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
82
83$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
84        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
85PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
86
87$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
88        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
89PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
90
91$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
92        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
93TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
94
95$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
96        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
97PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
98
99CLEANFILES = $(PREINSTALL_FILES)
100DISTCLEANFILES += $(PREINSTALL_DIRS)
101CLEANFILES += $(TMPINSTALL_FILES)
102
103include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.