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

4.104.114.84.95
Last change on this file since cba119c9 was 4906d7f7, checked in by Philippe Simons <loki_666@…>, on 07/25/05 at 19:18:09

2005-07-25 Philippe Simons <loki_666@…>

  • Makefile.am: added smc.rel.
  • smc/smc.c, smc/smc.h: New files.
  • 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 += smc/smc.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/uart.c ../../shared/console.c
40console_rel_CPPFLAGS = $(AM_CPPFLAGS)
41console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42
43noinst_PROGRAMS += smc.rel
44smc_rel_SOURCES = smc/smc.c smc/smc.h
45smc_rel_CPPFLAGS = $(AM_CPPFLAGS)
46smc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48noinst_LIBRARIES = libbsp.a
49libbsp_a_SOURCES =
50libbsp_a_LIBADD = startup.rel console.rel smc.rel
51libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
52    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
53    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
54    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
55
56all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
57
58PREINSTALL_DIRS =
59PREINSTALL_FILES =
60TMPINSTALL_FILES =
61
62$(PROJECT_INCLUDE)/$(dirstamp):
63        @$(mkdir_p) $(PROJECT_INCLUDE)
64        @: > $(PROJECT_INCLUDE)/$(dirstamp)
65PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
66
67$(PROJECT_LIB)/$(dirstamp):
68        @$(mkdir_p) $(PROJECT_LIB)
69        @: > $(PROJECT_LIB)/$(dirstamp)
70PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
71
72$(PROJECT_LIB)/bsp_specs: bsp_specs $(PROJECT_LIB)/$(dirstamp)
73        $(INSTALL_DATA) $< $(PROJECT_LIB)/bsp_specs
74PREINSTALL_FILES += $(PROJECT_LIB)/bsp_specs
75
76$(PROJECT_INCLUDE)/bsp.h: include/bsp.h $(PROJECT_INCLUDE)/$(dirstamp)
77        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp.h
78PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp.h
79
80$(PROJECT_INCLUDE)/smc.h: smc/smc.h $(PROJECT_INCLUDE)/$(dirstamp)
81        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/smc.h
82PREINSTALL_FILES += $(PROJECT_INCLUDE)/smc.h
83
84$(PROJECT_INCLUDE)/tm27.h: include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
85        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
86PREINSTALL_FILES += $(PROJECT_INCLUDE)/tm27.h
87
88$(PROJECT_INCLUDE)/bspopts.h: include/bspopts.h $(PROJECT_INCLUDE)/$(dirstamp)
89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bspopts.h
90PREINSTALL_FILES += $(PROJECT_INCLUDE)/bspopts.h
91
92$(PROJECT_INCLUDE)/coverhd.h: ../../shared/include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
93        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
94PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
95
96$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
97        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
98TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
99
100$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
101        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
102PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
103
104CLEANFILES = $(PREINSTALL_FILES)
105DISTCLEANFILES += $(PREINSTALL_DIRS)
106CLEANFILES += $(TMPINSTALL_FILES)
107
108include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.