Changeset ba74852 in rtems for automake


Ignore:
Timestamp:
Dec 20, 2001, 5:33:23 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
8fec915
Parents:
f92cc34
Message:

2001-12-20 Ralf Corsepius <corsepiu@…>

  • configure.ac: Reworked for multilibs, reflect changes to aclocal/*.m4.
  • aclocal/subdirs.m4: New file.
  • aclocal/multi.m4: New file, adopted from autoconf-2.52 w/ modifications.
  • aclocal/check-posix.m4: Apply AS_IF.
  • aclocal/config-subdirs.m4: Reflect changes to other m4-macros.
  • aclocal/env-rtemsbsp.m4: Add PROJECT_INCLUDE, PROJECT_RELEASE. Add AM_CONDITIONAL(MULTILIB). Adapt GCC_SPECS to multilibs.
  • aclocal/env-rtemscpu.m4: Remove RTEMS_BSP. Add support for MULTIBUILDTOP, MULTISUBDIR. Adapt GCC_SPECS to multilibs. Add PROJECT_INCLUDE, PROJECT_RELEASE, includedir, libdir.
  • aclocal/multilib.m4: Fix m4-quoting, adopt automake-1.5's OUTPUT_COMMANDS.
  • aclocal/project-root.m4: Remove PROJECT_INCLUDE, PROJECT_RELEASE.
  • aclocal/rtems-debug.m4: Minor cleanups.
  • aclocal/rtems-top.m4: Minor cleanups.
  • automake/compile.am: Further steps towards automake's rules.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • automake/compile.am

    rf92cc34 rba74852  
    119119        $(AM_LDFLAGS) $(LDFLAGS) -o $@
    120120
    121 CXXLD = $(CXX)
    122121CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    123122        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     123CXXLD = $(CXX)
    124124CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
    125125        $(AM_LDFLAGS) $(LDFLAGS) -o $@
    126126
    127127AS = $(CC)
    128 ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS) -o $@
     128ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
    129129
    130130${ARCH}/%.o: %.c
     
    144144
    145145${ARCH}/%.o: %.S
    146         ${ASCOMPILE} -DASM -c $<
     146        ${ASCOMPILE} -DASM -o $@ -c $<
    147147
    148148# Make foo.rel from foo.o
     
    177177##       Replace $(ARCH) value with string $(ARCH)
    178178##           so that it will for debug and profile cases
    179         $(COMPILE) $(AM_CPPFLAGS) $(AM_CFLAGS) -M   $^    |  \
     179        $(COMPILE) -M   $^    |  \
    180180        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
    181181            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
     
    205205if RTEMS_USE_GCC272
    206206define make-rel
    207         $(LINK) -nostdlib -Wl,-r $(XLDFLAGS) -o $@ $^
     207        $(LINK) -nostdlib -Wl,-r $(XLDFLAGS) $^
    208208endef
    209209else
Note: See TracChangeset for help on using the changeset viewer.