Subversion Repositories DevTools

Rev

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

Rev 5859 Rev 6177
Line 221... Line 221...
221
		$(patsubst %,-I %,$(cc_includes)) \
221
		$(patsubst %,-I %,$(cc_includes)) \
222
		$(patsubst %,-I %,$(gcc_includes))
222
		$(patsubst %,-I %,$(gcc_includes))
223
cc_term		=
223
cc_term		=
224
 
224
 
225
define cc_pre
225
define cc_pre
226
	@echo [$<] compiling..
226
	@echo '[$<] compiling..'
227
endef
227
endef
228
 
228
 
229
ifdef USE_METRICS
229
ifdef USE_METRICS
230
define cc_post
230
define cc_post
231
	$(cc) -E $(cc_flags) $(cc_source) | mcstrip | cyclo -c > $(basename $@).met
231
	$(cc) -E $(cc_flags) $(cc_source) | mcstrip | cyclo -c > $(basename $@).met
Line 369... Line 369...
369
		$(patsubst %,-I %,$(INCDIRS)) \
369
		$(patsubst %,-I %,$(INCDIRS)) \
370
		$(patsubst %,-I %,$(cxx_includes)) \
370
		$(patsubst %,-I %,$(cxx_includes)) \
371
		$(patsubst %,-I %,$(gcc_includes))
371
		$(patsubst %,-I %,$(gcc_includes))
372
 
372
 
373
define cxx_pre
373
define cxx_pre
374
	@echo [$<] compiling..
374
	@echo '[$<] compiling..'
375
endef
375
endef
376
 
376
 
377
define cxx_post
377
define cxx_post
378
endef
378
endef
379
 
379
 
Line 409... Line 409...
409
		$(patsubst %,$(as_i_switch)%,$(INCDIRS)) \
409
		$(patsubst %,$(as_i_switch)%,$(INCDIRS)) \
410
		$(patsubst %,$(as_i_switch)%,$(as_includes)) \
410
		$(patsubst %,$(as_i_switch)%,$(as_includes)) \
411
		$(as_object)
411
		$(as_object)
412
 
412
 
413
define as_pre
413
define as_pre
414
	@echo [$<] compiling..
414
	@echo '[$<] compiling..'
415
endef
415
endef
416
 
416
 
417
define as_post
417
define as_post
418
endef
418
endef
419
 
419
 
Line 428... Line 428...
428
ar_o_switch	=
428
ar_o_switch	=
429
ar_flags	= -scr $@ \
429
ar_flags	= -scr $@ \
430
		$(patsubst %,%,$^)
430
		$(patsubst %,%,$^)
431
 
431
 
432
define ar_pre
432
define ar_pre
433
	@echo [$@] Create archive..
433
	@echo '[$@] Create archive..'
434
endef
434
endef
435
 
435
 
436
define ar_post
436
define ar_post
437
endef
437
endef
438
 
438
 
Line 473... Line 473...
473
		$(patsubst %,%,$(GCC_LDFLAGS)) \
473
		$(patsubst %,%,$(GCC_LDFLAGS)) \
474
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
474
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
475
		$($(notdir $(SHBASE))_shld)
475
		$($(notdir $(SHBASE))_shld)
476
 
476
 
477
define shld_pre
477
define shld_pre
478
	@echo [$@] Linking shared library..; \
478
	@echo '[$@] Linking shared library..'; \
479
	$(touch) $(LIBDIR)/$(SHBASE).map
479
	$(touch) $(LIBDIR)/$(SHBASE).map
480
endef
480
endef
481
 
481
 
482
define shld_post
482
define shld_post
483
endef
483
endef
Line 514... Line 514...
514
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
514
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
515
		$(patsubst %,-Xlinker -rpath-link %,$(wildcard $(LIBDIRS))) \
515
		$(patsubst %,-Xlinker -rpath-link %,$(wildcard $(LIBDIRS))) \
516
		$($(notdir $(basename $@))_ld)
516
		$($(notdir $(basename $@))_ld)
517
 
517
 
518
define ld_pre
518
define ld_pre
519
	@echo [$@] Linking..; \
519
	@echo '[$@] Linking..'; \
520
	$(touch) $(basename $@).map
520
	$(touch) $(basename $@).map
521
endef
521
endef
522
 
522
 
523
define ld_post
523
define ld_post
524
endef
524
endef