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

4.104.114.84.95
Last change on this file since 44b4cf4 was 44b4cf4, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 6, 2005 at 2:16:30 PM

2005-06-06 Philippe Simons <loki_666@…>

  • Makefile.am: Include lcd.rel.
  • Property mode set to 100644
File size: 3.4 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    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/lcd.rel
51
52all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
53
54PREINSTALL_DIRS =
55PREINSTALL_FILES =
56TMPINSTALL_FILES =
57
58$(PROJECT_INCLUDE)/$(dirstamp):
59        @$(mkdir_p) $(PROJECT_INCLUDE)
60        @: > $(PROJECT_INCLUDE)/$(dirstamp)
61PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
62
63$(PROJECT_LIB)/$(dirstamp):
64        @$(mkdir_p) $(PROJECT_LIB)
65        @: > $(PROJECT_LIB)/$(dirstamp)
66PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
67
68$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
69        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
70PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
71
72$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
73        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
74PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
75
76$(PROJECT_INCLUDE)/conio.h: include/conio.h $(PROJECT_INCLUDE)/$(dirstamp)
77        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/conio.h
78PREINSTALL_FILES += $(PROJECT_INCLUDE)/conio.h
79
80$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
81        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
82PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
83
84$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
85        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
86PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
87
88$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
90PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
91
92$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
93        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
94TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
95
96$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
97        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
98PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
99
100CLEANFILES = $(PREINSTALL_FILES)
101DISTCLEANFILES += $(PREINSTALL_DIRS)
102CLEANFILES += $(TMPINSTALL_FILES)
103
104include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.