Subversion Repositories DevTools

Rev

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

Rev 335 Rev 347
Line 50... Line 50...
50
#		  VSCOMPILER in the range 1.. as defined in the .PL file
50
#		  VSCOMPILER in the range 1.. as defined in the .PL file
51
#
51
#
52
#		  Current usage
52
#		  Current usage
53
#			1 - vc6
53
#			1 - vc6
54
#			2 - vc7
54
#			2 - vc7
55
#			3 - vc8,vc9
55
#			3 - vc8,vc9,vc10
56
#
56
#
57
$(if $(VSCOMPILER),,$(error VCWIN32 toolset requires VSCOMPILER to be defined))
57
$(if $(VSCOMPILER),,$(error VCWIN32 toolset requires VSCOMPILER to be defined))
58
select_co = $(subst --,,$(word $(VSCOMPILER),$1 $2 $3))
58
select_co = $(subst --,,$(word $(VSCOMPILER),$1 $2 $3))
59
 
59
 
60
###############################################################################
60
###############################################################################
Line 281... Line 281...
281
 
281
 
282
ifdef GEN_SBR_FILES
282
ifdef GEN_SBR_FILES
283
vc_flags	+= -FR$(subst /,\\,$(basename $@).sbr)
283
vc_flags	+= -FR$(subst /,\\,$(basename $@).sbr)
284
endif
284
endif
285
 
285
 
286
SHCFLAGS	+= -GD
286
SHCFLAGS	+= $(call select_co,-GD,--,--)
287
SHCXXFLAGS	+= -GD
287
SHCXXFLAGS	+= $(call select_co,-GD,--,--)
288
 
288
 
289
	# Standard includes
289
	# Standard includes
290
	# INCLUDE    - a ';' seperated list of paths
290
	# INCLUDE    - a ';' seperated list of paths
291
        # vc_include - a 'space' seperated list of paths
291
        # vc_include - a 'space' seperated list of paths
292
        #            - Using / for path sep
292
        #            - Using / for path sep
Line 477... Line 477...
477
#
477
#
478
ar		= $(XX_PRE)lib
478
ar		= $(XX_PRE)lib
479
ar_init 	=
479
ar_init 	=
480
ar_flags	= -nologo -machine:IX86
480
ar_flags	= -nologo -machine:IX86
481
ifeq "$(DEBUG)" "1"
481
ifeq "$(DEBUG)" "1"
482
ar_flags	+= -debugtype:cv
482
ar_flags	+= $(call select_co,-debugtype:cv,--,--)
483
endif
483
endif
484
 
484
 
485
LIBDEF		+=
485
LIBDEF		+=
486
ar_flags	+= $(patsubst %,-def:%,$(LIBDEF))
486
ar_flags	+= $(patsubst %,-def:%,$(LIBDEF))
487
LIBNAME     +=
487
LIBNAME     +=