<commit_before>CLASSPATH=.:../../..
OPTIONS=-g
GTKLIBS= -pkg:gtk-sharp 
WXLIBS=/r:wx.NET.dll /r:System.Drawing
SWFLIBS=/r:System.Windows.Forms.dll /r:System.Drawing
#LIBS=-pkg:gtk-sharp
DEBUG=-debug+ -warn:2
#LIBS=-gtk -L/usr/local/lib/

all: lib exe
	@echo " building gtk backend"
	@make gtk || true
	@echo " done"
	@echo " building wx backend"
	@make wx || true
	@echo " done"
	@echo " building swf backend"
	@make swf || true
	@echo " done"
	@echo " building compact swf backend"
	@make cswf || true
	@echo " done"

#exe :
#	mcs ${DEBUG} -o uiml.net.exe -target:exe /r:uiml.net.dll  -main:Uiml.UimlTool UimlTool.cs 
#	cscc -o uiml.net.exe -l System.Xml -l System.Windows.Forms *.cs Rendering/*.cs Rendering/SWF/*.cs Executing/*.cs Utils/*.cs Peers/*.cs
exe:
	@echo "building executable" 
	mcs ${DEBUG} -pkg:gtk-sharp -keyfile:uiml.net.snk -o uiml.net.exe -target:exe *.cs Rendering/*.cs Executing/*.cs Utils/*.cs\
	Peers/*.cs Executing/Binding/*.cs FrontEnd/*.cs -main:Uiml.FrontEnd.UimlTool
	@echo "done"

cli-exe:
	@echo "building executable" 
	mcs ${DEBUG} -keyfile:uiml.net.snk -o uiml.net.exe -target:exe *.cs Rendering/*.cs Executing/*.cs Utils/*.cs\
	Peers/*.cs Executing/Binding/*.cs FrontEnd/*.cs -main:Uiml.FrontEnd.CommandLine
	@echo "done"

lib :
	@echo "building library"
	mcs ${DEBUG} -keyfile:uiml.net.snk -o uiml.net.dll -target:library *.cs Rendering/*.cs Executing/*.cs Utils/*.cs\
	Peers/*.cs Executing/Binding/*.cs
	@echo "done"

gtk:
	mcs ${DEBUG} ${GTKLIBS} -keyfile:Rendering/GTKsharp/uiml-gtk-sharp.snk /r:uiml.net.dll -o uiml-gtk-sharp.dll -target:library Rendering/GTKsharp/*.cs

wx:
	mcs ${DEBUG} ${WXLIBS} -keyfile:Rendering/WXnet/uiml-wx-net.snk /r:uiml.net.dll -o uiml-wx-net.dll -target:library Rendering/WXnet/*.cs

swf:
	mcs ${DEBUG} ${SWFLIBS} /r:uiml.net.dll -o uiml-swf.dll -target:library Rendering/SWF/*.cs

cswf:
	mcs ${DEBUG} ${SWFLIBS} /r:uiml.net.dll -o uiml-compact-swf.dll -target:library Rendering/CompactSWF/*.cs



clean:
	rm *.exe *.dll *.mdb<commit_msg>Changed -o FILE to -out:FILE due to warning by Mono version 1.1.5.<commit_after>CLASSPATH=.:../../..
OPTIONS=-g
GTKLIBS= -pkg:gtk-sharp 
WXLIBS=/r:wx.NET.dll /r:System.Drawing
SWFLIBS=/r:System.Windows.Forms.dll /r:System.Drawing
#LIBS=-pkg:gtk-sharp
DEBUG=-debug+ -warn:2
#LIBS=-gtk -L/usr/local/lib/

all: lib exe
	@echo " building gtk backend"
	@make gtk || true
	@echo " done"
	@echo " building wx backend"
	@make wx || true
	@echo " done"
	@echo " building swf backend"
	@make swf || true
	@echo " done"
	@echo " building compact swf backend"
	@make cswf || true
	@echo " done"

#exe :
#	mcs ${DEBUG} -out:uiml.net.exe -target:exe /r:uiml.net.dll  -main:Uiml.UimlTool UimlTool.cs 
#	cscc -out:uiml.net.exe -l System.Xml -l System.Windows.Forms *.cs Rendering/*.cs Rendering/SWF/*.cs Executing/*.cs Utils/*.cs Peers/*.cs
exe:
	@echo "building executable" 
	mcs ${DEBUG} -pkg:gtk-sharp -keyfile:uiml.net.snk -out:uiml.net.exe -target:exe *.cs Rendering/*.cs Executing/*.cs Utils/*.cs\
	Peers/*.cs Executing/Binding/*.cs FrontEnd/*.cs -main:Uiml.FrontEnd.UimlTool
	@echo "done"

cli-exe:
	@echo "building executable" 
	mcs ${DEBUG} -keyfile:uiml.net.snk -out:uiml.net.exe -target:exe *.cs Rendering/*.cs Executing/*.cs Utils/*.cs\
	Peers/*.cs Executing/Binding/*.cs FrontEnd/*.cs -main:Uiml.FrontEnd.CommandLine
	@echo "done"

lib :
	@echo "building library"
	mcs ${DEBUG} -keyfile:uiml.net.snk -out:uiml.net.dll -target:library *.cs Rendering/*.cs Executing/*.cs Utils/*.cs\
	Peers/*.cs Executing/Binding/*.cs
	@echo "done"

gtk:
	mcs ${DEBUG} ${GTKLIBS} -keyfile:Rendering/GTKsharp/uiml-gtk-sharp.snk /r:uiml.net.dll -out:uiml-gtk-sharp.dll -target:library Rendering/GTKsharp/*.cs

wx:
	mcs ${DEBUG} ${WXLIBS} -keyfile:Rendering/WXnet/uiml-wx-net.snk /r:uiml.net.dll -out:uiml-wx-net.dll -target:library Rendering/WXnet/*.cs

swf:
	mcs ${DEBUG} ${SWFLIBS} /r:uiml.net.dll -out:uiml-swf.dll -target:library Rendering/SWF/*.cs

cswf:
	mcs ${DEBUG} ${SWFLIBS} /r:uiml.net.dll -out:uiml-compact-swf.dll -target:library Rendering/CompactSWF/*.cs



clean:
	rm *.exe *.dll *.mdb
{'fraction_non_alphanumeric': 0.18696397941680962, 'fraction_numerical': 0.0012251899044351876, 'mean_word_length': 3.6919540229885057, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '598299', 'n_tokens_mistral': 1910, 'n_tokens_neox': 1790, 'n_words': 355}