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

4.104.114.84.95
Last change on this file since b752e632 was b752e632, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/02/03 at 05:02:20

2003-12-02 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Remove all-local: $(ARCH).
  • Property mode set to 100644
File size: 3.5 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 = include/rtems/score/sh7750_regs.h \
17    include/rtems/score/ipl.h include/rtems/score/iosh7750.h \
18    include/rtems/score/ispsh7750.h include/rtems/score/sh4_regs.h
19
20all-local: $(TMPINSTALL_FILES)
21
22## clock
23
24PGMS = $(ARCH)/clock.rel
25
26clock_C_FILES = clock/ckinit.c
27clock_rel_OBJECTS = $(clock_C_FILES:clock/%.c=$(ARCH)/%.$(OBJEXT))
28EXTRA_DIST = $(clock_C_FILES)
29
30${ARCH}/%.$(OBJEXT): clock/%.c
31        ${COMPILE} -o $@ -c $<
32${ARCH}/clock.rel: $(clock_rel_OBJECTS)
33        ${make-rel}
34
35## sci
36
37PGMS += $(ARCH)/sci.rel
38
39sci_C_FILES = sci/sh4uart.c
40sci_rel_OBJECTS = $(sci_C_FILES:sci/%.c=$(ARCH)/%.$(OBJEXT))
41EXTRA_DIST += $(sci_C_FILES)
42
43${ARCH}/%.$(OBJEXT): sci/%.c
44        ${COMPILE} -o $@ -c $<
45${ARCH}/sci.rel: $(sci_rel_OBJECTS)
46        ${make-rel}
47
48## score
49
50PGMS += $(ARCH)/score.rel
51
52score_C_FILES = score/cpu_asm.c score/ispsh7750.c
53score_rel_OBJECTS = $(score_C_FILES:score/%.c=$(ARCH)/%.$(OBJEXT))
54EXTRA_DIST += $(score_C_FILES)
55
56${ARCH}/%.$(OBJEXT): score/%.c
57        ${COMPILE} -o $@ -c $<
58${ARCH}/score.rel: $(score_rel_OBJECTS)
59        ${make-rel}
60
61## timer
62
63PGMS += $(ARCH)/timer.rel
64
65timer_C_FILES = timer/timer.c
66timer_rel_OBJECTS = $(timer_C_FILES:timer/%.c=$(ARCH)/%.$(OBJEXT))
67EXTRA_DIST += $(timer_C_FILES)
68
69${ARCH}/%.$(OBJEXT): timer/%.c
70        ${COMPILE} -o $@ -c $<
71${ARCH}/timer.rel: $(timer_rel_OBJECTS)
72        ${make-rel}
73
74# --
75
76all-local: $(PGMS) $(TMPINSTALL_FILES)
77
78.PRECIOUS: $(PGMS)
79
80PREINSTALL_FILES =
81
82$(PROJECT_INCLUDE)/sh/$(dirstamp):
83        @$(mkinstalldirs) $(PROJECT_INCLUDE)/sh
84        @: > $(PROJECT_INCLUDE)/sh/$(dirstamp)
85PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/$(dirstamp)
86
87$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
88        @$(mkinstalldirs) $(PROJECT_INCLUDE)/rtems/score
89        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
90PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
91
92$(PROJECT_INCLUDE)/sh/sh4uart.h: include/sh/sh4uart.h $(PROJECT_INCLUDE)/sh/$(dirstamp)
93        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sh/sh4uart.h
94PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/sh4uart.h
95
96$(PROJECT_INCLUDE)/rtems/score/sh7750_regs.h: include/rtems/score/sh7750_regs.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
97        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sh7750_regs.h
98PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sh7750_regs.h
99
100$(PROJECT_INCLUDE)/rtems/score/ipl.h: include/rtems/score/ipl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
101        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ipl.h
102PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ipl.h
103
104$(PROJECT_INCLUDE)/rtems/score/iosh7750.h: include/rtems/score/iosh7750.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
105        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/iosh7750.h
106PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/iosh7750.h
107
108$(PROJECT_INCLUDE)/rtems/score/ispsh7750.h: include/rtems/score/ispsh7750.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
109        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ispsh7750.h
110PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ispsh7750.h
111
112$(PROJECT_INCLUDE)/rtems/score/sh4_regs.h: include/rtems/score/sh4_regs.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
113        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sh4_regs.h
114PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sh4_regs.h
115
116include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.