Subversion Repositories DevTools

Rev

Rev 363 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 363 Rev 6177
Line 151... Line 151...
151
		$(patsubst %,-I %,$(cc_includes)) \
151
		$(patsubst %,-I %,$(cc_includes)) \
152
		$(patsubst %,-I %,$(arm_includes))
152
		$(patsubst %,-I %,$(arm_includes))
153
cc_term		=
153
cc_term		=
154
 
154
 
155
define cc_pre
155
define cc_pre
156
	@echo [$<] compiling..
156
	@echo '[$<] compiling..'
157
endef
157
endef
158
 
158
 
159
cc_post =
159
cc_post =
160
 
160
 
161
###############################################################################
161
###############################################################################
Line 173... Line 173...
173
		$(patsubst %,-I %,$(INCDIRS)) \
173
		$(patsubst %,-I %,$(INCDIRS)) \
174
		$(patsubst %,-I %,$(cxx_includes)) \
174
		$(patsubst %,-I %,$(cxx_includes)) \
175
		$(patsubst %,-I %,$(arm_includes))
175
		$(patsubst %,-I %,$(arm_includes))
176
 
176
 
177
define cxx_pre
177
define cxx_pre
178
	@echo [$<] compiling..
178
	@echo '[$<] compiling..'
179
endef
179
endef
180
 
180
 
181
define cxx_post
181
define cxx_post
182
endef
182
endef
183
 
183
 
Line 212... Line 212...
212
ld_term		=
212
ld_term		=
213
 
213
 
214
define ld_pre
214
define ld_pre
215
	$(AA_PRE)$(cmdfile) -wkWeo$(ld_cmdfile) \
215
	$(AA_PRE)$(cmdfile) -wkWeo$(ld_cmdfile) \
216
		"$(ld_file_flags) $($(notdir $(basename $@))_ld)"; \
216
		"$(ld_file_flags) $($(notdir $(basename $@))_ld)"; \
217
	echo [$@] Linking..;\
217
	echo '[$@] Linking..';\
218
        $(call show_cmdfile,$(ld_cmdfile))
218
        $(call show_cmdfile,$(ld_cmdfile))
219
endef
219
endef
220
 
220
 
221
ifndef LEAVETMP
221
ifndef LEAVETMP
222
define ld_post
222
define ld_post
Line 247... Line 247...
247
ar_cmdfile      = $(basename $@).ar
247
ar_cmdfile      = $(basename $@).ar
248
ar_flags        =
248
ar_flags        =
249
ar_o_switch     = -v $(ar_cmdfile)
249
ar_o_switch     = -v $(ar_cmdfile)
250
 
250
 
251
define ar_pre
251
define ar_pre
252
        $(XX_PRE) $(echo) [\$@] Creating library archive.. ; \
252
        $(XX_PRE) $(echo) '[$@] Creating library archive..' ; \
253
        $(rm) -f $@ ;\
253
        $(rm) -f $@ ;\
254
        $(cmdfile) -ko$(ar_cmdfile) \
254
        $(cmdfile) -ko$(ar_cmdfile) \
255
                -c $@\\n\
255
                -c $@\\n\
256
                $(patsubst %,%\\n,$(filter %.o, $^));\
256
                $(patsubst %,%\\n,$(filter %.o, $^));\
257
	$(call show_cmdfile,$(ar_cmdfile))
257
	$(call show_cmdfile,$(ar_cmdfile))
Line 276... Line 276...
276
armerge_init	=
276
armerge_init	=
277
armerge_flags	= -d $(MLIBDIR) -t unix -a $(librarian)
277
armerge_flags	= -d $(MLIBDIR) -t unix -a $(librarian)
278
armerge_o_switch= $@ $^
278
armerge_o_switch= $@ $^
279
 
279
 
280
define armerge_pre
280
define armerge_pre
281
        @$(echo) [\$@] Creating a Merged library.. ; \
281
        @$(echo) '[$@] Creating a Merged library..' ; \
282
        $(rm) -f $@
282
        $(rm) -f $@
283
endef
283
endef
284
 
284
 
285
armerge_post 	     =
285
armerge_post 	     =
286
 
286
 
Line 326... Line 326...
326
else
326
else
327
as_flags 	+= -nowarn
327
as_flags 	+= -nowarn
328
endif
328
endif
329
 
329
 
330
define as_pre
330
define as_pre
331
    @$(echo) [$<] Assembling file..
331
    @$(echo) '[$<] Assembling file..'
332
endef
332
endef
333
 
333
 
334
define as_post
334
define as_post
335
endef
335
endef
336
 
336