From ec8c1949f0221a7044e9ee9a083bad455b4e141a Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 11 Jan 2004 02:37:03 +0000 Subject: 2004-01-11 Ralf Corsepius * Makefile.am: Convert to using automake compilation rules. --- cpukit/score/cpu/arm/ChangeLog | 4 ++++ cpukit/score/cpu/arm/Makefile.am | 24 ++++++++++-------------- cpukit/score/cpu/c4x/ChangeLog | 4 ++++ cpukit/score/cpu/c4x/Makefile.am | 24 ++++++++++-------------- cpukit/score/cpu/h8300/ChangeLog | 4 ++++ cpukit/score/cpu/h8300/Makefile.am | 24 ++++++++++-------------- cpukit/score/cpu/i386/ChangeLog | 4 ++++ cpukit/score/cpu/i386/Makefile.am | 24 ++++++++++-------------- cpukit/score/cpu/i960/ChangeLog | 4 ++++ cpukit/score/cpu/i960/Makefile.am | 24 ++++++++++-------------- cpukit/score/cpu/m68k/ChangeLog | 4 ++++ cpukit/score/cpu/m68k/Makefile.am | 23 ++++++++++------------- cpukit/score/cpu/mips/ChangeLog | 4 ++++ cpukit/score/cpu/mips/Makefile.am | 24 ++++++++++-------------- cpukit/score/cpu/no_cpu/ChangeLog | 4 ++++ cpukit/score/cpu/no_cpu/Makefile.am | 20 ++++++++++---------- cpukit/score/cpu/or32/ChangeLog | 4 ++++ cpukit/score/cpu/or32/Makefile.am | 21 ++++++++++----------- cpukit/score/cpu/powerpc/ChangeLog | 4 ++++ cpukit/score/cpu/powerpc/Makefile.am | 3 +-- cpukit/score/cpu/sh/ChangeLog | 4 ++++ cpukit/score/cpu/sh/Makefile.am | 21 ++++++++++----------- cpukit/score/cpu/sparc/ChangeLog | 4 ++++ cpukit/score/cpu/sparc/Makefile.am | 24 ++++++++++-------------- cpukit/score/cpu/unix/ChangeLog | 4 ++++ cpukit/score/cpu/unix/Makefile.am | 21 ++++++++++----------- 26 files changed, 173 insertions(+), 156 deletions(-) (limited to 'cpukit') diff --git a/cpukit/score/cpu/arm/ChangeLog b/cpukit/score/cpu/arm/ChangeLog index 3508278c6f..bc01ff4a4d 100644 --- a/cpukit/score/cpu/arm/ChangeLog +++ b/cpukit/score/cpu/arm/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/arm/Makefile.am b/cpukit/score/cpu/arm/Makefile.am index ef31feb35d..4e748a8db6 100644 --- a/cpukit/score/cpu/arm/Makefile.am +++ b/cpukit/score/cpu/arm/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS = asm.h @@ -14,20 +13,17 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/cpu_asm.h \ rtems/score/arm.h rtems/score/types.h -C_FILES = cpu.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c cpu_asm.S +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -S_FILES = cpu_asm.S -OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -LIB = $(ARCH)/libscorecpu.a - -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c cpu_asm.S +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = diff --git a/cpukit/score/cpu/c4x/ChangeLog b/cpukit/score/cpu/c4x/ChangeLog index a2c3791fd1..64706af8d0 100644 --- a/cpukit/score/cpu/c4x/ChangeLog +++ b/cpukit/score/cpu/c4x/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/c4x/Makefile.am b/cpukit/score/cpu/c4x/Makefile.am index 44c8f1dfc8..bcd463d3f9 100644 --- a/cpukit/score/cpu/c4x/Makefile.am +++ b/cpukit/score/cpu/c4x/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS = asm.h c4xio.h @@ -14,20 +13,17 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/c4x.h \ rtems/score/types.h rtems/score/cpu_asm.h -C_FILES = cpu.c irq.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c irq.c cpu_asm.S +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -S_FILES = cpu_asm.S -OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -LIB = $(ARCH)/libscorecpu.a - -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c irq.c cpu_asm.S +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = diff --git a/cpukit/score/cpu/h8300/ChangeLog b/cpukit/score/cpu/h8300/ChangeLog index e3c883bec4..5ae07cfc13 100644 --- a/cpukit/score/cpu/h8300/ChangeLog +++ b/cpukit/score/cpu/h8300/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/h8300/Makefile.am b/cpukit/score/cpu/h8300/Makefile.am index 4bb3832239..dadbf9c3af 100644 --- a/cpukit/score/cpu/h8300/Makefile.am +++ b/cpukit/score/cpu/h8300/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS = asm.h @@ -14,20 +13,17 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/h8300.h \ rtems/score/types.h -C_FILES = cpu.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c cpu_asm.S +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -S_FILES = cpu_asm.S -OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -LIB = $(ARCH)/libscorecpu.a - -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c cpu_asm.S +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = diff --git a/cpukit/score/cpu/i386/ChangeLog b/cpukit/score/cpu/i386/ChangeLog index 895f856bc8..aebea0ef28 100644 --- a/cpukit/score/cpu/i386/ChangeLog +++ b/cpukit/score/cpu/i386/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/i386/Makefile.am b/cpukit/score/cpu/i386/Makefile.am index 44242da27b..80ec2e6383 100644 --- a/cpukit/score/cpu/i386/Makefile.am +++ b/cpukit/score/cpu/i386/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS= asm.h @@ -15,20 +14,17 @@ include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/i386.h \ rtems/score/types.h rtems/score/interrupts.h rtems/score/registers.h \ rtems/score/idtr.h -LIB = $(ARCH)/libscorecpu.a +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c cpu_asm.S +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -C_FILES = cpu.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -S_FILES = cpu_asm.S -OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) - -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c cpu_asm.S +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = diff --git a/cpukit/score/cpu/i960/ChangeLog b/cpukit/score/cpu/i960/ChangeLog index 61a5e0d428..884deb522b 100644 --- a/cpukit/score/cpu/i960/ChangeLog +++ b/cpukit/score/cpu/i960/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/i960/Makefile.am b/cpukit/score/cpu/i960/Makefile.am index 594d5fb205..8cd702647e 100644 --- a/cpukit/score/cpu/i960/Makefile.am +++ b/cpukit/score/cpu/i960/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS = asm.h @@ -14,20 +13,17 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/i960.h \ rtems/score/types.h -C_FILES = cpu.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c cpu_asm.S +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -S_FILES = cpu_asm.S -OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -LIB = $(ARCH)/libscorecpu.a - -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c cpu_asm.S i960RP.h +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = diff --git a/cpukit/score/cpu/m68k/ChangeLog b/cpukit/score/cpu/m68k/ChangeLog index 4cb308af90..d74df64dce 100644 --- a/cpukit/score/cpu/m68k/ChangeLog +++ b/cpukit/score/cpu/m68k/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2004-01-07 Joel Sherrill * qsm.h, sim.h: Remove efi68k and efi332 references as they are no diff --git a/cpukit/score/cpu/m68k/Makefile.am b/cpukit/score/cpu/m68k/Makefile.am index 988b710372..1300d2943d 100644 --- a/cpukit/score/cpu/m68k/Makefile.am +++ b/cpukit/score/cpu/m68k/Makefile.am @@ -5,7 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am +include $(top_srcdir)/../../../automake/amcompile.am include $(top_srcdir)/../../../automake/lib.am include_HEADERS = asm.h m68302.h m68360.h qsm.h sim.h @@ -14,20 +14,17 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/m68k.h \ rtems/score/types.h -C_FILES = cpu.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c cpu_asm.S +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -S_FILES = cpu_asm.S -OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -LIB = $(ARCH)/libscorecpu.a - -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c cpu_asm.S +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = diff --git a/cpukit/score/cpu/mips/ChangeLog b/cpukit/score/cpu/mips/ChangeLog index 3a92f63f36..014a44685c 100644 --- a/cpukit/score/cpu/mips/ChangeLog +++ b/cpukit/score/cpu/mips/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2004-01-07 Joel Sherrill * rtems/score/mips.h: Removed junk revision line. diff --git a/cpukit/score/cpu/mips/Makefile.am b/cpukit/score/cpu/mips/Makefile.am index 1fbca270b9..00e3f691ae 100644 --- a/cpukit/score/cpu/mips/Makefile.am +++ b/cpukit/score/cpu/mips/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS = asm.h idtcpu.h iregdef.h @@ -14,20 +13,17 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/mips.h \ rtems/score/types.h -C_FILES = cpu.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c cpu_asm.S +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -S_FILES = cpu_asm.S -OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -LIB = $(ARCH)/libscorecpu.a - -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c cpu_asm.S +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = diff --git a/cpukit/score/cpu/no_cpu/ChangeLog b/cpukit/score/cpu/no_cpu/ChangeLog index e9e9f02e73..6df710caea 100644 --- a/cpukit/score/cpu/no_cpu/ChangeLog +++ b/cpukit/score/cpu/no_cpu/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/no_cpu/Makefile.am b/cpukit/score/cpu/no_cpu/Makefile.am index 7e16d2bf5f..61ad9ec7a5 100644 --- a/cpukit/score/cpu/no_cpu/Makefile.am +++ b/cpukit/score/cpu/no_cpu/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS = asm.h @@ -14,17 +13,18 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/no_cpu.h \ rtems/score/cpu_asm.h rtems/score/types.h -C_FILES = cpu.c cpu_asm.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c cpu_asm.c +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -LIB = $(ARCH)/libscorecpu.a +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -$(LIB): $(OBJS) - $(make-library) +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c cpu_asm.c PREINSTALL_FILES = diff --git a/cpukit/score/cpu/or32/ChangeLog b/cpukit/score/cpu/or32/ChangeLog index 4c4d991b13..1ce97782d8 100644 --- a/cpukit/score/cpu/or32/ChangeLog +++ b/cpukit/score/cpu/or32/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/or32/Makefile.am b/cpukit/score/cpu/or32/Makefile.am index 2f81d6f4c8..369fac2ada 100644 --- a/cpukit/score/cpu/or32/Makefile.am +++ b/cpukit/score/cpu/or32/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS= asm.h @@ -14,17 +13,17 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/types.h \ rtems/score/or32.h rtems/score/cpu_asm.h -C_FILES = cpu.c cpu_asm.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c cpu_asm.c +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -LIB = $(ARCH)/libscorecpu.a +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c cpu_asm.c +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = diff --git a/cpukit/score/cpu/powerpc/ChangeLog b/cpukit/score/cpu/powerpc/ChangeLog index ab53b727c6..80f489df5b 100644 --- a/cpukit/score/cpu/powerpc/ChangeLog +++ b/cpukit/score/cpu/powerpc/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/powerpc/Makefile.am b/cpukit/score/cpu/powerpc/Makefile.am index bad97dbe93..2243b03e41 100644 --- a/cpukit/score/cpu/powerpc/Makefile.am +++ b/cpukit/score/cpu/powerpc/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS = asm.h diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog index 40a3e381af..3b435119e8 100644 --- a/cpukit/score/cpu/sh/ChangeLog +++ b/cpukit/score/cpu/sh/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/sh/Makefile.am b/cpukit/score/cpu/sh/Makefile.am index ed8c135863..effd7d02fe 100644 --- a/cpukit/score/cpu/sh/Makefile.am +++ b/cpukit/score/cpu/sh/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS= asm.h @@ -14,17 +13,17 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/cpu.h rtems/score/types.h \ rtems/score/sh.h rtems/score/sh_io.h -C_FILES = cpu.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -LIB = $(ARCH)/libscorecpu.a +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = diff --git a/cpukit/score/cpu/sparc/ChangeLog b/cpukit/score/cpu/sparc/ChangeLog index 7f17d0ed07..e964a5fc9a 100644 --- a/cpukit/score/cpu/sparc/ChangeLog +++ b/cpukit/score/cpu/sparc/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/sparc/Makefile.am b/cpukit/score/cpu/sparc/Makefile.am index 5b6c35310c..3d7b34c008 100644 --- a/cpukit/score/cpu/sparc/Makefile.am +++ b/cpukit/score/cpu/sparc/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am include_HEADERS= asm.h @@ -14,20 +13,17 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/sparc.h rtems/score/cpu.h \ rtems/score/types.h -C_FILES = cpu.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c cpu_asm.S +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -S_FILES = cpu_asm.S -OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -LIB = $(ARCH)/libscorecpu.a - -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c cpu_asm.S +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = diff --git a/cpukit/score/cpu/unix/ChangeLog b/cpukit/score/cpu/unix/ChangeLog index f1b9eeaab1..846a073186 100644 --- a/cpukit/score/cpu/unix/ChangeLog +++ b/cpukit/score/cpu/unix/ChangeLog @@ -1,3 +1,7 @@ +2004-01-11 Ralf Corsepius + + * Makefile.am: Convert to using automake compilation rules. + 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PREINSTALL_FILES. diff --git a/cpukit/score/cpu/unix/Makefile.am b/cpukit/score/cpu/unix/Makefile.am index a35afbc2e5..878b2c9926 100644 --- a/cpukit/score/cpu/unix/Makefile.am +++ b/cpukit/score/cpu/unix/Makefile.am @@ -5,8 +5,7 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal include $(top_srcdir)/../../../automake/multilib.am -include $(top_srcdir)/../../../automake/compile.am -include $(top_srcdir)/../../../automake/lib.am +include $(top_srcdir)/../../../automake/amcompile.am AM_CPPFLAGS += -DCPU_SYNC_IO $(LIBC_DEFINES) @@ -14,17 +13,17 @@ include_rtems_scoredir = $(includedir)/rtems/score include_rtems_score_HEADERS = rtems/score/types.h rtems/score/cpu.h \ rtems/score/unix.h rtems/score/unixsize.h -C_FILES = cpu.c -OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) +EXTRA_LIBRARIES = libscorecpu.a +CLEANFILES = libscorecpu.a +libscorecpu_a_SOURCES = cpu.c +libscorecpu_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) -LIB = $(ARCH)/libscorecpu.a +EXTRA_LIBRARIES += libscorecpu_g.a +CLEANFILES += libscorecpu_g.a +libscorecpu_g_a_SOURCES = $(libscorecpu_a_SOURCES) +libscorecpu_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) -$(LIB): $(OBJS) - $(make-library) - -all-local: $(PREINSTALL_FILES) $(LIB) - -EXTRA_DIST = cpu.c +all-local: $(PREINSTALL_FILES) libscorecpu$(LIB_VARIANT).a PREINSTALL_FILES = -- cgit v1.2.3