source: rtems/c/src/lib/libcpu/sh/sh7750/Makefile.am @ 2334e94b

4.104.114.84.95
Last change on this file since 2334e94b was 2334e94b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 08/16/03 at 12:35:10

2003-08-16 Ralf Corsepius <corsepiu@…>

Makefile.am: Reflect having moved automake.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../../../automake/lib.am
9
10# NOTE: Unlike other CPUS, we install into a subdirectory to avoid
11#       file name conflicts
12include_shdir = $(includedir)/sh
13include_rtems_scoredir = $(includedir)/rtems/score
14
15include_sh_HEADERS = include/sh/sh4uart.h
16include_rtems_score_HEADERS = \
17include/rtems/score/sh7750_regs.h \
18include/rtems/score/ipl.h \
19include/rtems/score/iosh7750.h \
20include/rtems/score/ispsh7750.h \
21include/rtems/score/sh4_regs.h
22
23$(PROJECT_INCLUDE)/sh:
24        $(mkinstalldirs) $@
25
26$(PROJECT_INCLUDE)/rtems/score:
27        $(mkinstalldirs) $@
28
29$(PROJECT_INCLUDE)/%.h: include/%.h
30        $(INSTALL_DATA) $< $@
31
32PREINSTALL_FILES = \
33    $(PROJECT_INCLUDE)/sh \
34    $(include_sh_HEADERS:include/%=$(PROJECT_INCLUDE)/%) \
35    $(PROJECT_INCLUDE)/rtems/score \
36    $(include_rtems_score_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
37
38all-local: $(TMPINSTALL_FILES)
39
40## clock
41
42PGMS = $(ARCH)/clock.rel
43
44clock_C_FILES = clock/ckinit.c
45clock_rel_OBJECTS = $(clock_C_FILES:clock/%.c=$(ARCH)/%.$(OBJEXT))
46EXTRA_DIST = $(clock_C_FILES)
47
48${ARCH}/%.$(OBJEXT): clock/%.c
49        ${COMPILE} -o $@ -c $<
50${ARCH}/clock.rel: $(clock_rel_OBJECTS)
51        ${make-rel}
52
53## sci
54
55PGMS += $(ARCH)/sci.rel
56
57sci_C_FILES = sci/sh4uart.c
58sci_rel_OBJECTS = $(sci_C_FILES:sci/%.c=$(ARCH)/%.$(OBJEXT))
59EXTRA_DIST += $(sci_C_FILES)
60
61${ARCH}/%.$(OBJEXT): sci/%.c
62        ${COMPILE} -o $@ -c $<
63${ARCH}/sci.rel: $(sci_rel_OBJECTS)
64        ${make-rel}
65
66## score
67
68PGMS += $(ARCH)/score.rel
69
70score_C_FILES = score/cpu_asm.c score/ispsh7750.c
71score_rel_OBJECTS = $(score_C_FILES:score/%.c=$(ARCH)/%.$(OBJEXT))
72EXTRA_DIST += $(score_C_FILES)
73
74${ARCH}/%.$(OBJEXT): score/%.c
75        ${COMPILE} -o $@ -c $<
76${ARCH}/score.rel: $(score_rel_OBJECTS)
77        ${make-rel}
78
79## timer
80
81PGMS += $(ARCH)/timer.rel
82
83timer_C_FILES = timer/timer.c
84timer_rel_OBJECTS = $(timer_C_FILES:timer/%.c=$(ARCH)/%.$(OBJEXT))
85EXTRA_DIST += $(timer_C_FILES)
86
87${ARCH}/%.$(OBJEXT): timer/%.c
88        ${COMPILE} -o $@ -c $<
89${ARCH}/timer.rel: $(timer_rel_OBJECTS)
90        ${make-rel}
91
92# --
93
94all-local: $(ARCH) $(PGMS) $(TMPINSTALL_FILES)
95
96.PRECIOUS: $(PGMS)
97
98include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.