From 64edee073bed561c981802154037b7ccc0505327 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 16 Jan 2003 10:52:43 +0000 Subject: 2003-01-16 Ralf Corsepius * Makefile.am: Merge-in subdir Makefile.ams * configure.ac: Reflect changes above. * score/Makefile.am: Removed. * sci/Makefile.am: Removed. * timer/Makefile.am: Removed. * clock/Makefile.am: Removed. * delay/Makefile.am: Removed. --- c/src/lib/libcpu/sh/sh7032/ChangeLog | 10 ++++ c/src/lib/libcpu/sh/sh7032/Makefile.am | 75 ++++++++++++++++++++++++++-- c/src/lib/libcpu/sh/sh7032/clock/Makefile.am | 27 ---------- c/src/lib/libcpu/sh/sh7032/configure.ac | 7 +-- c/src/lib/libcpu/sh/sh7032/delay/Makefile.am | 27 ---------- c/src/lib/libcpu/sh/sh7032/sci/Makefile.am | 27 ---------- c/src/lib/libcpu/sh/sh7032/score/Makefile.am | 27 ---------- c/src/lib/libcpu/sh/sh7032/timer/Makefile.am | 27 ---------- 8 files changed, 82 insertions(+), 145 deletions(-) delete mode 100644 c/src/lib/libcpu/sh/sh7032/clock/Makefile.am delete mode 100644 c/src/lib/libcpu/sh/sh7032/delay/Makefile.am delete mode 100644 c/src/lib/libcpu/sh/sh7032/sci/Makefile.am delete mode 100644 c/src/lib/libcpu/sh/sh7032/score/Makefile.am delete mode 100644 c/src/lib/libcpu/sh/sh7032/timer/Makefile.am diff --git a/c/src/lib/libcpu/sh/sh7032/ChangeLog b/c/src/lib/libcpu/sh/sh7032/ChangeLog index 445e9cb5af..c1e70342bd 100644 --- a/c/src/lib/libcpu/sh/sh7032/ChangeLog +++ b/c/src/lib/libcpu/sh/sh7032/ChangeLog @@ -1,3 +1,13 @@ +2003-01-16 Ralf Corsepius + + * Makefile.am: Merge-in subdir Makefile.ams + * configure.ac: Reflect changes above. + * score/Makefile.am: Removed. + * sci/Makefile.am: Removed. + * timer/Makefile.am: Removed. + * clock/Makefile.am: Removed. + * delay/Makefile.am: Removed. + 2002-12-14 Ralf Corsepius * clock/Makefile.am: Eliminate *_O_FILES. diff --git a/c/src/lib/libcpu/sh/sh7032/Makefile.am b/c/src/lib/libcpu/sh/sh7032/Makefile.am index 78dd4408ca..0cb0806f9c 100644 --- a/c/src/lib/libcpu/sh/sh7032/Makefile.am +++ b/c/src/lib/libcpu/sh/sh7032/Makefile.am @@ -4,7 +4,8 @@ ACLOCAL_AMFLAGS = -I ../../../../../../aclocal -SUBDIRS = . score clock timer sci delay +include $(top_srcdir)/../../../../../../automake/compile.am +include $(top_srcdir)/../../../../../../automake/lib.am # NOTE: Unlike other CPUS, we install into a subdirectory to avoid # file name conflicts @@ -23,11 +24,77 @@ $(PROJECT_INCLUDE)/sh/%.h: include/%.h $(PROJECT_INCLUDE)/rtems/score/%.h: include/%.h $(INSTALL_DATA) $< $@ -TMPINSTALL_FILES = $(PROJECT_INCLUDE)/sh \ +PREINSTALL_FILES = $(PROJECT_INCLUDE)/sh \ $(include_sh_HEADERS:include/%.h=$(PROJECT_INCLUDE)/sh/%.h) \ $(include_rtems_score_HEADERS:include/%.h=$(PROJECT_INCLUDE)/rtems/score/%.h) -all-local: $(TMPINSTALL_FILES) +# clock + +PGMS = $(ARCH)/clock.rel + +clock_C_FILES = clock/ckinit.c +clock_rel_OBJECTS = $(clock_C_FILES:clock/%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_DIST = $(clock_C_FILES) + +${ARCH}/%.$(OBJEXT): clock/%.c + ${COMPILE} -o $@ -c $< +${ARCH}/clock.rel: $(clock_rel_OBJECTS) + ${make-rel} + +# delay + +PGMS += $(ARCH)/delay.rel + +delay_C_FILES = delay/delay.c +delay_rel_OBJECTS = $(delay_C_FILES:delay/%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_DIST += $(delay_C_FILES) + +${ARCH}/%.$(OBJEXT): delay/%.c + ${COMPILE} -o $@ -c $< +${ARCH}/delay.rel: $(delay_rel_OBJECTS) + ${make-rel} + +# sci + +PGMS += $(ARCH)/sci.rel + +sci_C_FILES = sci/sci.c +sci_rel_OBJECTS = $(sci_C_FILES:sci/%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_DIST += $(sci_C_FILES) + +${ARCH}/%.$(OBJEXT): sci/%.c + ${COMPILE} -o $@ -c $< +${ARCH}/sci.rel: $(sci_rel_OBJECTS) + ${make-rel} + +# score + +PGMS += $(ARCH)/score.rel + +score_C_FILES = score/cpu_asm.c score/ispsh7032.c +score_rel_OBJECTS = $(score_C_FILES:score/%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_DIST += $(score_C_FILES) + +${ARCH}/%.$(OBJEXT): score/%.c + ${COMPILE} -o $@ -c $< +${ARCH}/score.rel: $(score_rel_OBJECTS) + ${make-rel} + +## timer + +PGMS += $(ARCH)/timer.rel + +timer_C_FILES = timer/timer.c +timer_rel_OBJECTS = $(timer_C_FILES:timer/%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_DIST += $(timer_C_FILES) + +${ARCH}/%.$(OBJEXT): timer/%.c + ${COMPILE} -o $@ -c $< +${ARCH}/timer.rel: $(timer_rel_OBJECTS) + ${make-rel} + +all-local: $(ARCH) $(PGMS) $(TMPINSTALL_FILES) + +.PRECIOUS: $(PGMS) -include $(top_srcdir)/../../../../../../automake/subdirs.am include $(top_srcdir)/../../../../../../automake/local.am diff --git a/c/src/lib/libcpu/sh/sh7032/clock/Makefile.am b/c/src/lib/libcpu/sh/sh7032/clock/Makefile.am deleted file mode 100644 index 46b0b5e0df..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/clock/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -## -## $Id$ -## - - -PGM = $(ARCH)/clock.rel - -C_FILES = ckinit.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) - -include $(top_srcdir)/../../../../../../automake/compile.am -include $(top_srcdir)/../../../../../../automake/lib.am - -# -# (OPTIONAL) Add local stuff here using += -# - -$(PGM): $(OBJS) - $(make-rel) - -all-local: $(ARCH) $(OBJS) $(PGM) - -.PRECIOUS: $(PGM) - -EXTRA_DIST = ckinit.c - -include $(top_srcdir)/../../../../../../automake/local.am diff --git a/c/src/lib/libcpu/sh/sh7032/configure.ac b/c/src/lib/libcpu/sh/sh7032/configure.ac index 776cd41dd3..e92bbb835a 100644 --- a/c/src/lib/libcpu/sh/sh7032/configure.ac +++ b/c/src/lib/libcpu/sh/sh7032/configure.ac @@ -27,10 +27,5 @@ RTEMS_CANONICALIZE_TOOLS RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) # Explicitly list all Makefiles here -AC_CONFIG_FILES([Makefile -clock/Makefile -delay/Makefile -score/Makefile -timer/Makefile -sci/Makefile]) +AC_CONFIG_FILES([Makefile]) AC_OUTPUT diff --git a/c/src/lib/libcpu/sh/sh7032/delay/Makefile.am b/c/src/lib/libcpu/sh/sh7032/delay/Makefile.am deleted file mode 100644 index 14ab1c9ff5..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/delay/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -## -## $Id$ -## - - -PGM = $(ARCH)/delay.rel - -C_FILES = delay.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) - -include $(top_srcdir)/../../../../../../automake/compile.am -include $(top_srcdir)/../../../../../../automake/lib.am - -# -# (OPTIONAL) Add local stuff here using += -# - -$(PGM): $(OBJS) - $(make-rel) - -all-local: $(ARCH) $(OBJS) $(PGM) - -.PRECIOUS: $(PGM) - -EXTRA_DIST = delay.c - -include $(top_srcdir)/../../../../../../automake/local.am diff --git a/c/src/lib/libcpu/sh/sh7032/sci/Makefile.am b/c/src/lib/libcpu/sh/sh7032/sci/Makefile.am deleted file mode 100644 index f13b07c5aa..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/sci/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -## -## $Id$ -## - - -PGM = $(ARCH)/sci.rel - -C_FILES = sci.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) - -include $(top_srcdir)/../../../../../../automake/compile.am -include $(top_srcdir)/../../../../../../automake/lib.am - -# -# (OPTIONAL) Add local stuff here using += -# - -$(PGM): $(OBJS) - $(make-rel) - -all-local: $(ARCH) $(OBJS) $(PGM) - -.PRECIOUS: $(PGM) - -EXTRA_DIST = sci.c - -include $(top_srcdir)/../../../../../../automake/local.am diff --git a/c/src/lib/libcpu/sh/sh7032/score/Makefile.am b/c/src/lib/libcpu/sh/sh7032/score/Makefile.am deleted file mode 100644 index 618f758e71..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/score/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -## -## $Id$ -## - - -PGM = $(ARCH)/score.rel - -C_FILES = cpu_asm.c ispsh7032.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) - -include $(top_srcdir)/../../../../../../automake/compile.am -include $(top_srcdir)/../../../../../../automake/lib.am - -# -# (OPTIONAL) Add local stuff here using += -# - -$(PGM): $(OBJS) - $(make-rel) - -all-local: $(ARCH) $(OBJS) $(PGM) - -.PRECIOUS: $(PGM) - -EXTRA_DIST = ispsh7032.c - -include $(top_srcdir)/../../../../../../automake/local.am diff --git a/c/src/lib/libcpu/sh/sh7032/timer/Makefile.am b/c/src/lib/libcpu/sh/sh7032/timer/Makefile.am deleted file mode 100644 index 40aac3426c..0000000000 --- a/c/src/lib/libcpu/sh/sh7032/timer/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -## -## $Id$ -## - - -PGM = $(ARCH)/timer.rel - -C_FILES = timer.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) - -include $(top_srcdir)/../../../../../../automake/compile.am -include $(top_srcdir)/../../../../../../automake/lib.am - -# -# (OPTIONAL) Add local stuff here using += -# - -$(PGM): $(OBJS) - $(make-rel) - -all-local: $(ARCH) $(OBJS) $(PGM) - -.PRECIOUS: $(PGM) - -EXTRA_DIST = timer.c - -include $(top_srcdir)/../../../../../../automake/local.am -- cgit v1.2.3