summaryrefslogtreecommitdiffstats
path: root/c/src/support
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-01-15 04:08:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-01-15 04:08:46 +0000
commitca1531c56c7c3263bcde13533405e909f90bc46f (patch)
treee20f3d36925a3261dd89b03eb354659fcb20b87a /c/src/support
parent2004-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-ca1531c56c7c3263bcde13533405e909f90bc46f.tar.bz2
2004-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* support/Makefile.am: Use automake compilation rules. * wrapup/Makefile.am: Reflect changes to support/*.
Diffstat (limited to 'c/src/support')
-rw-r--r--c/src/support/Makefile.am16
1 files changed, 9 insertions, 7 deletions
diff --git a/c/src/support/Makefile.am b/c/src/support/Makefile.am
index 5fa25b44be..10422cc77f 100644
--- a/c/src/support/Makefile.am
+++ b/c/src/support/Makefile.am
@@ -7,14 +7,16 @@ include $(top_srcdir)/automake/lib.am
AM_CPPFLAGS += -DRTEMS_BSP=\"@RTEMS_BSP@\"
-C_FILES=version.c
-OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
+EXTRA_LIBRARIES = libsupport.a
+CLEANFILES = libsupport.a
+libsupport_a_SOURCES = version.c
+libsupport_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
-LIB = $(ARCH)/libsupport.a
+EXTRA_LIBRARIES += libsupport_g.a
+CLEANFILES += libsupport_g.a
+libsupport_g_a_SOURCES = $(libsupport_a_SOURCES)
+libsupport_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
-$(LIB): $(OBJS)
- $(make-library)
-
-all-local: $(LIB)
+noinst_DATA = libsupport$(LIB_VARIANT).a
include $(top_srcdir)/automake/local.am