Changeset 29d82b25 in rtems for automake


Ignore:
Timestamp:
Dec 1, 2002, 8:01:04 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c47c12b
Parents:
472f35a
Message:

2002-12-01 Ralf Corsepius <corsepiu@…>

  • automake/compile.am: Remove LDFLAGS_INCOMPLETE. Remove LDFLAGS. Add CCAS, CCASCOMPILE. Remove compilation rules for *.cpp, *.cxx, *.C. Use CCASCOMPILE to compile *.S. Add -pg to RTEMS_CFLAGS_PROFILE_V.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • automake/compile.am

    r472f35a r29d82b25  
    6767LDFLAGS_PROFILE_V =
    6868
    69 # ld flag for incomplete link
    70 LDFLAGS_INCOMPLETE = -r
    71 
    72 # ld flags for profiling, debugging
    73 LDFLAGS=$(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG)
    74 
    7569#
    7670# Client compiler and support tools
     
    9387        $(AM_LDFLAGS) $(LDFLAGS) -o $@
    9488
     89CCAS = $(CC)
     90CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
     91
     92# OBSOLETE: Don't use
    9593AS = $(CC)
    9694ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
     
    104102        ${CXXCOMPILE} -o $@ -c $<
    105103
    106 ${ARCH}/%.o: %.cpp
    107         test -d $(ARCH) || mkdir $(ARCH)
    108         ${CXXCOMPILE} -o $@ -c $<
    109 
    110 ${ARCH}/%.o: %.cxx
    111         test -d $(ARCH) || mkdir $(ARCH)
    112         ${CXXCOMPILE} -o $@ -c $<
    113 
    114 ${ARCH}/%.o: %.C
    115         test -d $(ARCH) || mkdir $(ARCH)
    116         ${CXXCOMPILE} -o $@ -c $<
    117 
    118104${ARCH}/%.o: %.S
    119105        test -d $(ARCH) || mkdir $(ARCH)
    120         ${ASCOMPILE} -DASM -o $@ -c $<
     106        ${CCASCOMPILE} -DASM -o $@ -c $<
    121107
    122108# Dependency files for use by gmake
     
    220206RTEMS_CFLAGS_OPTIMIZE_V =
    221207RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
    222 RTEMS_CFLAGS_PROFILE_V =
     208RTEMS_CFLAGS_PROFILE_V = -pg
    223209
    224210## non-gcc
Note: See TracChangeset for help on using the changeset viewer.