Changeset 385b2e2 in rtems for cpukit/automake/compile.am
- Timestamp:
- Feb 18, 2003, 12:58:44 PM (18 years ago)
- Children:
- f7276a9b
- Parents:
- a0d2c79a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/automake/compile.am
ra0d2c79a r385b2e2 41 41 ## cf. make.info ("Implicit rules/variables" for details) 42 42 43 if RTEMS_USE_GCC44 ## All the stuff below is specific to gcc45 ## gcc >= 2.8.x46 GCCSPECS = $(GCC_SPECS)47 else48 ## fall back to the old style compilers/*.cfg49 ## CONFIG.CC is supposed to be provided by <BSP>.cfg50 include $(CONFIG.CC)51 endif # RTEMS_USE_GCC52 53 43 DEFS = @DEFS@ 54 44 … … 88 78 # 89 79 80 if RTEMS_USE_GCC 90 81 ## HACK: Specific to gcc 91 82 ## FIXME: The approach below is known to be conceptionally broken. 92 depend- am: $(C_FILES) $(CC_FILES) $(S_FILES)83 depend-gcc: $(C_FILES) $(CC_FILES) $(S_FILES) 93 84 ## Use gcc -M to generate dependencies 94 85 ## Replace foo.$(OBJEXT) with $(ARCH)/foo.$(OBJEXT) … … 99 90 -e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp 100 91 mv $(DEPEND).tmp $(DEPEND) 101 depend: depend-am102 92 103 93 # pull in dependencies if they exist … … 105 95 include ${DEPEND} 106 96 @ENDIF@ 97 endif 98 depend: depend-gcc 107 99 108 100 ## ------------------------------------------------------------------------- … … 127 119 ARCH__V = $(ARCH_OPTIMIZE_V) 128 120 ARCH = $(ARCH_$(VARIANT_V)_V) 121 122 ${ARCH}: 123 mkdir ${ARCH} 129 124 130 125 ## Setup the library suffix … … 159 154 160 155 ## ------------------------------------------------------------------------- 161 162 CC = @CC@ $(GCCSPECS)163 CPP = @CPP@ $(GCCSPECS)164 165 ##166 156 AM_CPPFLAGS = $(RTEMS_CPPFLAGS) 167 157 AM_CFLAGS =
Note: See TracChangeset
for help on using the changeset viewer.