From 0724e79bef5686ef2b510173597be343fbdb4683 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 12 Feb 2004 14:27:25 +0000 Subject: 2004-02-12 Ralf Corsepius * Makefile.am: Don't include host.am. * automake/compile.am: Further cleanups. --- c/src/ChangeLog | 5 +++++ c/src/Makefile.am | 1 - c/src/automake/compile.am | 32 +++----------------------------- 3 files changed, 8 insertions(+), 30 deletions(-) diff --git a/c/src/ChangeLog b/c/src/ChangeLog index 964a3eb57b..0c081309bc 100644 --- a/c/src/ChangeLog +++ b/c/src/ChangeLog @@ -1,3 +1,8 @@ +2004-02-12 Ralf Corsepius + + * Makefile.am: Don't include host.am. + * automake/compile.am: Further cleanups. + 2004-02-12 Ralf Corsepius * automake/lib.am: Remove (Unused). diff --git a/c/src/Makefile.am b/c/src/Makefile.am index 659dd99229..e800ee409d 100644 --- a/c/src/Makefile.am +++ b/c/src/Makefile.am @@ -46,4 +46,3 @@ pkgconfig_DATA = @host_alias@-@RTEMS_BSP@.pc DISTCLEANFILES += @host_alias@-@RTEMS_BSP@.pc include $(top_srcdir)/automake/subdirs.am -include $(top_srcdir)/automake/host.am diff --git a/c/src/automake/compile.am b/c/src/automake/compile.am index 0aee6951aa..e494314ed5 100644 --- a/c/src/automake/compile.am +++ b/c/src/automake/compile.am @@ -38,38 +38,22 @@ if RTEMS_USE_GCC ## All the stuff below is specific to gcc - -## gcc >= 2.8.x GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS) -else -## fall back to the old style compilers/*.cfg -## CONFIG.CC is supposed to be provided by .cfg -include $(CONFIG.CC) endif # RTEMS_USE_GCC -DEFS = @DEFS@ - CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) $(DEFINES) CFLAGS = @RTEMS_CFLAGS@ ## FIXME: This should be correct, but is not supported, yet -# CXXFLAGS = @RTEMS_CXXFLAGS@ $(XCXXFLAGS) +# CXXFLAGS = @RTEMS_CXXFLAGS@ ## Fall back to using RTEMS_CFLAGS for C++ -CXXFLAGS = @RTEMS_CFLAGS@ $(XCXXFLAGS) -ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS) +CXXFLAGS = @RTEMS_CFLAGS@ +ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) depend: if RTEMS_USE_GCC ## gcc >= 2.8 RTEMS_RELLDFLAGS = -qnolinkcmds -nostdlib -Wl,-r -define make-rel - $(LINK) $(RTEMS_RELLDFLAGS) $^ -endef -else -## non-gcc -define make-rel - $(LINK) $(RTEMS_RELLDFLAGS) $^ -endef endif ## ------------------------------------------------------------------------- @@ -103,10 +87,6 @@ if RTEMS_USE_GCC ## gcc >= gcc-2.8 RTEMS_CFLAGS_OPTIMIZE_V = RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused - -## non-gcc -## We can't guess what flags might be required here. -## Pass the values from the environment if you want to apply them. endif RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V) @@ -116,12 +96,6 @@ CC = @CC@ $(GCCSPECS) CXX = @CXX@ $(GCCSPECS) CPP = @CPP@ $(GCCSPECS) -LD = @LD@ -OBJCOPY = @OBJCOPY@ -NM = @NM@ -SIZE = @SIZE@ -STRIP = @STRIP@ - ## AM_CPPFLAGS = $(RTEMS_CPPFLAGS) AM_CFLAGS = -- cgit v1.2.3