source: rtems/c/src/lib/libbsp/or32/orp/Makefile.am @ 7c6c630

4.104.114.84.95
Last change on this file since 7c6c630 was 7c6c630, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 3, 2005 at 4:11:58 AM

2005-01-02 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am: Remove build-variant support.
  • Property mode set to 100644
File size: 3.2 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/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20include_HEADERS += include/coverhd.h
21
22EXTRA_DIST = start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -DASM -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29noinst_PROGRAMS += startup.rel
30startup_rel_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
31    startup/bspstart.c startup/bspclean.c ../../shared/bootcard.c \
32    ../../shared/main.c ../../shared/sbrk.c \
33    ../../shared/gnatinstallhandler.c startup/setvec.c
34startup_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
35startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
36
37noinst_PROGRAMS += clock.rel
38clock_rel_SOURCES = clock/clockdrv.c
39clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
40clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42noinst_PROGRAMS += console.rel
43console_rel_SOURCES = console/console.c console/console.h
44console_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
45console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
46
47noinst_PROGRAMS += timer.rel
48timer_rel_SOURCES = timer/timer.c timer/timerisr.c
49timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
50timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
51
52noinst_LIBRARIES = libbsp.a
53libbsp_a_SOURCES =
54libbsp_a_LIBADD = startup.rel clock.rel console.rel timer.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)/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: 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.