Subversion Repositories DevTools

Rev

Rev 7299 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7299 Rev 7300
Line 312... Line 312...
312
		$(patsubst %,-D%,$(cc_defines)) \
312
		$(patsubst %,-D%,$(cc_defines)) \
313
                $(call decodepath,-I","$(spacealt),$(INCLUDE_LIST))
313
                $(call decodepath,-I","$(spacealt),$(INCLUDE_LIST))
314
cc_term		=
314
cc_term		=
315
 
315
 
316
define cc_pre
316
define cc_pre
317
	@$(echo) [$<] compiling..;
317
	@$(echo) '[$<] compiling..';
318
endef
318
endef
319
 
319
 
320
define cc_post
320
define cc_post
321
endef
321
endef
322
 
322
 
Line 386... Line 386...
386
		$(patsubst %,-D%,$(cxx_defines)) \
386
		$(patsubst %,-D%,$(cxx_defines)) \
387
                $(call decodepath,-I","$(spacealt),$(INCLUDE_LIST))
387
                $(call decodepath,-I","$(spacealt),$(INCLUDE_LIST))
388
cxx_term	=
388
cxx_term	=
389
 
389
 
390
define cxx_pre
390
define cxx_pre
391
	@echo [$<] compiling..;
391
	@echo '[$<] compiling..';
392
endef
392
endef
393
 
393
 
394
define cxx_post
394
define cxx_post
395
endef
395
endef
396
 
396
 
Line 468... Line 468...
468
ar_flags	+= $(patsubst %,-name:%,$(LIBNAME))
468
ar_flags	+= $(patsubst %,-name:%,$(LIBNAME))
469
ar_o_switch	= -out:$(subst /,\\,$@) $(subst /,\\,$(filter %.obj,$^)) $(subst /,\\,$(filter %.res,$^))
469
ar_o_switch	= -out:$(subst /,\\,$@) $(subst /,\\,$(filter %.obj,$^)) $(subst /,\\,$(filter %.res,$^))
470
ar_term		=
470
ar_term		=
471
 
471
 
472
define ar_pre
472
define ar_pre
473
	echo [$@] Building library ..;
473
	echo '[$@] Building library ..';
474
endef
474
endef
475
 
475
 
476
define ar_post
476
define ar_post
477
endef
477
endef
478
 
478
 
Line 484... Line 484...
484
armerge_cmdfile =
484
armerge_cmdfile =
485
armerge_flags	= -d $(MLIBDIR) -t MSVC
485
armerge_flags	= -d $(MLIBDIR) -t MSVC
486
armerge_o_switch= $(subst /,\\,$@) $(subst /,\\,$^)
486
armerge_o_switch= $(subst /,\\,$@) $(subst /,\\,$^)
487
 
487
 
488
define armerge_pre
488
define armerge_pre
489
	-echo [$@] Merging library ..; $(rm) -f $@
489
	-echo '[$@] Merging library ..'; $(rm) -f $@
490
endef
490
endef
491
armerge_post	=
491
armerge_post	=
492
 
492
 
493
 
493
 
494
###############################################################################
494
###############################################################################
Line 531... Line 531...
531
shld_term	=
531
shld_term	=
532
 
532
 
533
define shld_pre
533
define shld_pre
534
	@$(cmdfile) -wkWeo$(shld_cmdfile) \
534
	@$(cmdfile) -wkWeo$(shld_cmdfile) \
535
		"$(vc_ldflags) $($(notdir $(SHBASE))_shld)"; \
535
		"$(vc_ldflags) $($(notdir $(SHBASE))_shld)"; \
536
	echo [$@] Linking shared library ..;\
536
	echo '[$@] Linking shared library ..';\
537
        $(call show_cmdfile,$(shld_cmdfile))
537
        $(call show_cmdfile,$(shld_cmdfile))
538
        
538
        
539
endef
539
endef
540
 
540
 
541
ifndef LEAVETMP
541
ifndef LEAVETMP
Line 561... Line 561...
561
ld_term		=
561
ld_term		=
562
 
562
 
563
define ld_pre
563
define ld_pre
564
	@$(cmdfile) -wkWeo$(ld_cmdfile) \
564
	@$(cmdfile) -wkWeo$(ld_cmdfile) \
565
		"$(vc_ldflags) $($(notdir $(basename $@))_ld)"; \
565
		"$(vc_ldflags) $($(notdir $(basename $@))_ld)"; \
566
	echo [$@] Linking application ..;\
566
	echo '[$@] Linking application ..';\
567
        $(call show_cmdfile,$(ld_cmdfile))
567
        $(call show_cmdfile,$(ld_cmdfile))
568
endef
568
endef
569
 
569
 
570
ifndef LEAVETMP
570
ifndef LEAVETMP
571
define ld_post
571
define ld_post
Line 595... Line 595...
595
rc_dirs += $(vc_includes)
595
rc_dirs += $(vc_includes)
596
rc_include = $(call decodepath,,;,$(rc_dirs))
596
rc_include = $(call decodepath,,;,$(rc_dirs))
597
rc_include1 = $(subst \;,;,$(rc_include))
597
rc_include1 = $(subst \;,;,$(rc_include))
598
 
598
 
599
define RC
599
define RC
600
	@$(echo) [$@] Compile Resource File ..
600
	@$(echo) '[$@] Compile Resource File ..'
601
	@$(show_environment)
601
	@$(show_environment)
602
	$(XX_PRE) export INCLUDE; INCLUDE="$(rc_include1)"; \
602
	$(XX_PRE) export INCLUDE; INCLUDE="$(rc_include1)"; \
603
	RC /l 0xC09 $(rc_defines) /fo $(subst /,\\,$@) $(subst /,\\,$<)
603
	RC /l 0xC09 $(rc_defines) /fo $(subst /,\\,$@) $(subst /,\\,$<)
604
endef
604
endef
605
 
605
 
606
#.. Browser Information
606
#.. Browser Information
607
#   Create a .BSC file from many .SBR files
607
#   Create a .BSC file from many .SBR files
608
#   Filter out non .SBR files to assist in rule creation
608
#   Filter out non .SBR files to assist in rule creation
609
#
609
#
610
define BSCMAKE
610
define BSCMAKE
611
	@$(echo) [$@] Create Source Browser Information ..
611
	@$(echo) '[$@] Create Source Browser Information ..'
612
	@$(show_environment)
612
	@$(show_environment)
613
	$(XX_PRE) bscmake -nologo -n -o $(subst /,\\,$@) $(subst /,\\,$(filter %.sbr,$^))
613
	$(XX_PRE) bscmake -nologo -n -o $(subst /,\\,$@) $(subst /,\\,$(filter %.sbr,$^))
614
endef
614
endef
615
 
615
 
616
#
616
#