From 305dd8bd82986c33b2dc89d92cc433c9c1501380 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 22 Jul 2002 13:58:30 +0000 Subject: 2002-07-22 Ralf Corsepius * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o. --- cpukit/ChangeLog | 4 ++++ cpukit/wrapup/Makefile.am | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 41f9d365ac..51874642a4 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,7 @@ +2002-07-22 Ralf Corsepius + + * wrapup/Makefile.am: Use .$(OBJEXT) instead of .o. + 2002-07-22 Ralf Corsepius * wrapup/Makefile.am: Use project_libdir instead of diff --git a/cpukit/wrapup/Makefile.am b/cpukit/wrapup/Makefile.am index 04667dc5ae..7e0bdd612e 100644 --- a/cpukit/wrapup/Makefile.am +++ b/cpukit/wrapup/Makefile.am @@ -8,10 +8,10 @@ include $(top_srcdir)/automake/multilib.am include $(top_srcdir)/automake/compile.am include $(top_srcdir)/automake/lib.am -CPU_OBJS = $(wildcard ../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.o) -CORE_OBJS = $(wildcard ../score/src/$(ARCH)/*.o) -SAPI_OBJS = $(wildcard ../sapi/src/$(ARCH)/*.o) -RTEMS_OBJS = $(wildcard ../rtems/src/$(ARCH)/*.o) +CPU_OBJS = $(wildcard ../score/cpu/$(RTEMS_CPU)/$(ARCH)/*.$(OBJEXT)) +CORE_OBJS = $(wildcard ../score/src/$(ARCH)/*.$(OBJEXT)) +SAPI_OBJS = $(wildcard ../sapi/src/$(ARCH)/*.$(OBJEXT)) +RTEMS_OBJS = $(wildcard ../rtems/src/$(ARCH)/*.$(OBJEXT)) if HAS_POSIX POSIX_OBJS = ../posix/src/$(ARCH)/libposix.a @@ -47,7 +47,7 @@ $(LIB): ${OBJS} rm -rf $(ARCH)/* for f in $(OBJS); do \ case $$f in \ - *.o | *.rel) \ + *.$(OBJEXT) | *.rel) \ if test -f $(ARCH)/`basename $$f`; then \ if cmp $$f $(ARCH)/`basename $$f`; then \ true; \ @@ -70,7 +70,7 @@ $(LIB): ${OBJS} done test -d $(project_libdir)$(MULTISUBDIR) || $(mkinstalldirs) $(project_libdir)$(MULTISUBDIR) $(AR) rc $@ $(ARCH)/* - rm -f $(ARCH)/*.o + rm -f $(ARCH)/*.$(OBJEXT) $(RANLIB) $@ TMPINSTALL_FILES += $(project_libdir)$(MULTISUBDIR)/librtemscpu$(LIB_VARIANT).a -- cgit v1.2.3