<commit_before># $RCSfile: win32.mak,v $
# $Revision: 1.4 $ $Date: 2013/12/20 21:49:44 $
# Auth: <NAME> (<EMAIL>)
# 

!include $(ROSE_CONFIG)
!include version.mak

NAME		= stepnc
SOLUTION	= $(NAME).sln

EXEC		= STEPNCExplorer.exe
EXEC_VCDIR	= $(VC32DIR)

VC32DIR		= explore\builds\Release-x86
VC64DIR		= explore\builds\Release-x64

MSBUILD		= MSBuild.exe
MSBUILD_FLAGS	= $(SOLUTION) /t:Rebuild /v:detailed



#========================================
# Standard Symbolic Targets
#
# Copy rather than move on install to keep the exec in the vc dirs in
# case we want to build a MSM from them.
#

default: $(EXEC_VCDIR)\$(EXEC)
install: $(EXEC_VCDIR)\$(EXEC) 

build-win32: "$(VC32DIR)\$(EXEC)"
build-win64: "$(VC64DIR)\$(EXEC)"

clean:
	- $(RMDIR) "explore\builds"
	- $(RMDIR) "netdll\builds"

#	- $(RM) $(SOLUTION).cache

very-clean spotless: clean
	-attrib -h $(NAME).suo
	-$(RM) $(NAME).suo
	-$(RM) $(NAME).vcxproj.user


#========================================
# File Targets 
#

# Originally we tried vcbuild, but that does not work for mixed C++
# and .NET projects.  MSbuild is part of the .NET framework and works
# properly for the mixed ones, which we have here.
#
# /p:Platform="Mixed Platforms"
#
# Build both versions, but we just install one to rose bin.
"$(VC32DIR)\$(EXEC)":
	$(MSBUILD) $(MSBUILD_FLAGS) /p:Platform="x86" /p:Configuration="Release" 

"$(VC64DIR)\$(EXEC)":
	$(MSBUILD) $(MSBUILD_FLAGS) /p:Platform="x64" /p:Configuration="Release"



#========================================
# Compiler and Platform Configurations  
#
!include $(ROSE)/config/release_win.mak


# We do not need to change 32/64 configs because the project file has
# all of that, but we do need to set the compiler to VS 2012
#
release: very-clean update-version
	@echo ------------------------------
	@echo BUILDING VS 2012
	$(USECONFIG) -win32 -cxx vc11_md & $(WINMAKE) build-win32
	$(USECONFIG) -win64 -cxx vc11_md & $(WINMAKE) build-win64


sign-release:


update-version:
	perl verupdate.pl "explore\My Project\AssemblyInfo.vb" $(PKG_MAJ) $(PKG_MIN)
	perl verupdate.pl "netdll\app.rc" $(PKG_MAJ) $(PKG_MIN)
	perl verupdate.pl "netdll\AssemblyInfo.cpp" $(PKG_MAJ) $(PKG_MIN)<commit_msg>*** empty log message ***<commit_after># $RCSfile: win32.mak,v $
# $Revision: 1.5 $ $Date: 2013/12/22 03:18:43 $
# Auth: <NAME> (<EMAIL>)
# 

!include $(ROSE_CONFIG)
!include version.mak

NAME		= stepnc
SOLUTION	= $(NAME).sln

EXEC		= STEPNCExplorer.exe
EXEC_VCDIR	= $(VC32DIR)

VC32DIR		= explore\builds\Release-x86
VC64DIR		= explore\builds\Release-x64

MSBUILD		= MSBuild.exe
MSBUILD_FLAGS	= $(SOLUTION) /t:Rebuild /v:detailed



#========================================
# Standard Symbolic Targets
#
# Copy rather than move on install to keep the exec in the vc dirs in
# case we want to build a MSM from them.
#

default: $(EXEC_VCDIR)\$(EXEC)
install: $(EXEC_VCDIR)\$(EXEC) 

build-win32: "$(VC32DIR)\$(EXEC)"
build-win64: "$(VC64DIR)\$(EXEC)"

clean:
	- $(RMDIR) "explore\builds"
	- $(RMDIR) "netdll\builds"

#	- $(RM) $(SOLUTION).cache

very-clean spotless: clean
	-attrib -h $(NAME).suo
	-$(RM) $(NAME).suo
	-$(RM) $(NAME).vcxproj.user


#========================================
# File Targets 
#

# Originally we tried vcbuild, but that does not work for mixed C++
# and .NET projects.  MSbuild is part of the .NET framework and works
# properly for the mixed ones, which we have here.
#
# /p:Platform="Mixed Platforms"
#
# Build both versions, but we just install one to rose bin.
"$(VC32DIR)\$(EXEC)":
	$(MSBUILD) $(MSBUILD_FLAGS) /p:Platform="x86" /p:Configuration="Release" 

"$(VC64DIR)\$(EXEC)":
	$(MSBUILD) $(MSBUILD_FLAGS) /p:Platform="x64" /p:Configuration="Release"



#========================================
# Compiler and Platform Configurations  
#
!include $(ROSE)/config/release_win.mak


# We do not need to change 32/64 configs because the project file has
# all of that, but we do need to set the compiler to VS 2012
#
release: very-clean update-version
	@echo ------------------------------
	@echo BUILDING VS 2012
	$(USECONFIG) -win32 -cxx vc11_md & $(WINMAKE) build-win32
	$(USECONFIG) -win64 -cxx vc11_md & $(WINMAKE) build-win64


sign-release:
	signstep \
		$(VC32DIR)\*.exe $(VC32DIR)\*.dll \
		$(VC64DIR)\*.exe $(VC64DIR)\*.dll


update-version:
	perl verupdate.pl "explore\My Project\AssemblyInfo.vb" $(PKG_MAJ) $(PKG_MIN)
	perl verupdate.pl "netdll\app.rc" $(PKG_MAJ) $(PKG_MIN)
	perl verupdate.pl "netdll\AssemblyInfo.cpp" $(PKG_MAJ) $(PKG_MIN)
{'fraction_non_alphanumeric': 0.21492403932082216, 'fraction_numerical': 0.032171581769437, 'mean_word_length': 4.260869565217392, 'pattern_counts': {'":': 4, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '849490', 'n_tokens_mistral': 1801, 'n_tokens_neox': 1631, 'n_words': 436}