Changeset b9184faa in rtems


Ignore:
Timestamp:
Feb 28, 2003, 6:57:04 AM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9c59c2d9
Parents:
309a9dc
Message:

Merger from rtems-4-6-branch.

Location:
cpukit/automake
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/automake/compile.am

    r309a9dc rb9184faa  
    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 =
  • cpukit/automake/local.am

    r309a9dc rb9184faa  
    2121.PHONY: preinstall preinstall-am
    2222
    23 depend-am:
     23depend-am: depend-gcc
    2424depend: depend-am
    25 .PHONY: depend depend-am
    26 
    27 ${ARCH}:
    28         mkdir ${ARCH}
     25.PHONY: depend depend-am depend-gcc
    2926
    3027clean-local:
Note: See TracChangeset for help on using the changeset viewer.