Changeset 385b2e2 in rtems for cpukit/automake/compile.am


Ignore:
Timestamp:
Feb 18, 2003, 12:58:44 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Children:
f7276a9b
Parents:
a0d2c79a
Message:

2003-02-18 Ralf Corsepius <corsepiu@…>

  • automake/local.am: Introduce depend-gcc. Remove ${ARCH}.
  • automake/compile.am: Remove GCCSPECS, GCC_SPECS, CONFIG.CC, CC, CPP. Add ${ARCH}. depend-gcc.
  • aclocal/prog-cc.m4: Set up RTEMS_CPPFLAGS.
  • aclocal/env-rtemscpu.m4: Remove GCC_SPECS.
  • aclocal/env-rtemsbsp.m4: Remove GCC_SPECS.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/automake/compile.am

    ra0d2c79a r385b2e2  
    4141## cf. make.info ("Implicit rules/variables" for details)
    4242
    43 if RTEMS_USE_GCC
    44 ## All the stuff below is specific to gcc
    45 ## gcc >= 2.8.x
    46 GCCSPECS = $(GCC_SPECS)
    47 else
    48 ## fall back to the old style compilers/*.cfg
    49 ## CONFIG.CC is supposed to be provided by <BSP>.cfg
    50 include $(CONFIG.CC)
    51 endif # RTEMS_USE_GCC
    52 
    5343DEFS = @DEFS@
    5444
     
    8878#
    8979
     80if RTEMS_USE_GCC
    9081## HACK: Specific to gcc
    9182## FIXME: The approach below is known to be conceptionally broken.
    92 depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
     83depend-gcc: $(C_FILES) $(CC_FILES) $(S_FILES)
    9384##       Use gcc -M to generate dependencies
    9485##       Replace foo.$(OBJEXT) with $(ARCH)/foo.$(OBJEXT)
     
    9990            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
    10091        mv $(DEPEND).tmp $(DEPEND)
    101 depend: depend-am
    10292
    10393# pull in dependencies if they exist 
     
    10595include ${DEPEND}
    10696@ENDIF@
     97endif
     98depend: depend-gcc
    10799
    108100## -------------------------------------------------------------------------
     
    127119ARCH__V = $(ARCH_OPTIMIZE_V)
    128120ARCH = $(ARCH_$(VARIANT_V)_V)
     121
     122${ARCH}:
     123        mkdir ${ARCH}
    129124
    130125## Setup the library suffix
     
    159154
    160155## -------------------------------------------------------------------------
    161 
    162 CC = @CC@ $(GCCSPECS)
    163 CPP = @CPP@ $(GCCSPECS)
    164 
    165 ##
    166156AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
    167157AM_CFLAGS =
Note: See TracChangeset for help on using the changeset viewer.