source: rtems/c/src/lib/libcpu/m68k/mcf5206/Makefile.am @ ccc15ab

4.104.114.84.95
Last change on this file since ccc15ab was ccc15ab, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/04/03 at 18:35:25

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

  • configure.ac: Cosmetics.
  • clock/Makefile.am: Remove.
  • console/Makefile.am: Remove.
  • include/Makefile.am: Remove.
  • mbus/Makefile.am: Remove.
  • timer/Makefile.am: Remove.
  • Makefile.am: Merge-in former clock/Makefile.am, console/Makefile.am, include/Makefile.am, mbus/Makefile.am, timer/Makefile.am.
  • configure.ac: Reflect changes above.
  • Property mode set to 100644
File size: 3.0 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# include
11include_mcf5206dir = $(includedir)/mcf5206
12include_mcf5206_HEADERS = include/mcf5206e.h include/mcfmbus.h \
13    include/mcfuart.h
14
15## clock
16
17clock_C_FILES = clock/ckinit.c
18clock_OBJS = $(clock_C_FILES:clock/%.c=clock/$(ARCH)/%.$(OBJEXT))
19EXTRA_DIST = $(clock_C_FILES)
20
21clock/$(ARCH)/$(dirstamp):
22        @$(mkinstalldirs) clock/$(ARCH)
23        @: > clock/$(ARCH)/$(dirstamp)
24clock/$(ARCH)/%.$(OBJEXT): clock/%.c clock/$(ARCH)/$(dirstamp)
25        ${COMPILE} -o $@ -c $<
26clock/$(ARCH)/clock.rel: $(clock_OBJS)
27        $(make-rel)
28PGMS = clock/$(ARCH)/clock.rel
29
30## console
31
32console_C_FILES = console/mcfuart.c
33console_OBJS = $(console_C_FILES:console/%.c=console/$(ARCH)/%.$(OBJEXT))
34EXTRA_DIST += $(console_C_FILES)
35
36console/$(ARCH)/$(dirstamp):
37        @$(mkinstalldirs) console/$(ARCH)
38        @: > console/$(ARCH)/$(dirstamp)
39console/$(ARCH)/%.$(OBJEXT): console/%.c console/$(ARCH)/$(dirstamp)
40        ${COMPILE} -o $@ -c $<
41console/$(ARCH)/console.rel: $(console_OBJS)
42        $(make-rel)
43PGMS += console/$(ARCH)/console.rel
44
45## mbus
46
47mbus_C_FILES = mbus/mcfmbus.c
48mbus_OBJS = $(mbus_C_FILES:mbus/%.c=mbus/$(ARCH)/%.$(OBJEXT))
49EXTRA_DIST += $(mbus_C_FILES)
50
51mbus/$(ARCH)/$(dirstamp):
52        @$(mkinstalldirs) mbus/$(ARCH)
53        @: > mbus/$(ARCH)/$(dirstamp)
54mbus/$(ARCH)/%.$(OBJEXT): mbus/%.c mbus/$(ARCH)/$(dirstamp)
55        ${COMPILE} -o $@ -c $<
56mbus/$(ARCH)/mbus.rel: $(mbus_OBJS)
57        $(make-rel)
58PGMS += mbus/$(ARCH)/mbus.rel
59
60## timer
61
62timer_C_FILES = timer/timer.c
63timer_OBJS = $(timer_C_FILES:timer/%.c=timer/$(ARCH)/%.$(OBJEXT))
64EXTRA_DIST += $(timer_C_FILES)
65
66timer_S_FILES = timer/timerisr.S
67timer_OBJS += $(timer_S_FILES:timer/%.S=timer/$(ARCH)/%.$(OBJEXT))
68EXTRA_DIST += $(timer_S_FILES)
69
70timer/$(ARCH)/$(dirstamp):
71        @$(mkinstalldirs) timer/$(ARCH)
72        @: > timer/$(ARCH)/$(dirstamp)
73timer/$(ARCH)/%.$(OBJEXT): timer/%.c timer/$(ARCH)/$(dirstamp)
74        ${COMPILE} -o $@ -c $<
75timer/$(ARCH)/%.o: timer/%.S timer/$(ARCH)/$(dirstamp)
76        ${CCASCOMPILE} -DASM -o $@ -c $<
77timer/$(ARCH)/timer.rel: $(timer_OBJS)
78        $(make-rel)
79PGMS += timer/$(ARCH)/timer.rel
80
81## --
82
83all-local: $(PGMS)
84CLEANDIRS = */$(ARCH)
85
86.PRECIOUS: $(PGMS)
87
88PREINSTALL_FILES =
89
90$(PROJECT_INCLUDE)/mcf5206/$(dirstamp):
91        @$(mkinstalldirs) $(PROJECT_INCLUDE)/mcf5206
92        @: > $(PROJECT_INCLUDE)/mcf5206/$(dirstamp)
93PREINSTALL_FILES += $(PROJECT_INCLUDE)/mcf5206/$(dirstamp)
94
95$(PROJECT_INCLUDE)/mcf5206/mcf5206e.h: include/mcf5206e.h $(PROJECT_INCLUDE)/mcf5206/$(dirstamp)
96        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mcf5206/mcf5206e.h
97PREINSTALL_FILES += $(PROJECT_INCLUDE)/mcf5206/mcf5206e.h
98
99$(PROJECT_INCLUDE)/mcf5206/mcfmbus.h: include/mcfmbus.h $(PROJECT_INCLUDE)/mcf5206/$(dirstamp)
100        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mcf5206/mcfmbus.h
101PREINSTALL_FILES += $(PROJECT_INCLUDE)/mcf5206/mcfmbus.h
102
103$(PROJECT_INCLUDE)/mcf5206/mcfuart.h: include/mcfuart.h $(PROJECT_INCLUDE)/mcf5206/$(dirstamp)
104        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mcf5206/mcfuart.h
105PREINSTALL_FILES += $(PROJECT_INCLUDE)/mcf5206/mcfuart.h
106
107include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.