Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simplify the makefile build system so it uses xbuild instead

Also remove the rediculously complex autoconf/automake files and
use a much simpler configure/Makefile script which just does what
we need.
  • Loading branch information...
commit cf4f7ee0c917f923ea360683c770a1b2bec42d24 1 parent dff6481
@alanmcgovern alanmcgovern authored
View
49 Makefile
@@ -0,0 +1,49 @@
+CONFIG=config.make
+
+XBUILD=xbuild
+XBUILD_ARGS=/verbosity:quiet /nologo /property:Configuration=$(MONOTORRENT_PROFILE)
+MAIN_SLN=src/MonoTorrent.sln
+DIST_FILE=monotorrent-$(MONOTORRENT_VERSION).tar.gz
+
+all:
+ @echo Building $(MAIN_SLN)
+ @$(XBUILD) $(XBUILD_ARGS) $(MAIN_SLN)
+
+clean:
+ @echo Cleaning $(MAIN_SLN)
+ @$(XBUILD) $(XBUILD_ARGS) $(MAIN_SLN) /t:Clean
+
+dist:
+ git archive --format=tar HEAD | gzip > $(DIST_FILE)
+
+dist-clean:
+ rm -f $(DIST_FILE)
+
+dist-check:
+
+install: $(CONFIG)
+ @echo Installing MonoTorrent libraries
+ mkdir -p $(DESTDIR)$(MONOTORRENT_INSTALL_DIR)
+ cp -R build/MonoTorrent/$(MONOTORRENT_PROFILE)/* $(DESTDIR)$(MONOTORRENT_INSTALL_DIR)/
+
+ @echo Installing pc files
+ mkdir -p $(DESTDIR)$(pkgconfigdir)
+ cp src/MonoTorrent/monotorrent.pc $(DESTDIR)$(pkgconfigdir)/
+ cp src/MonoTorrent.Dht/monotorrent.dht.pc $(DESTDIR)$(pkgconfigdir)/
+
+uninstall: $(CONFIG)
+ @echo Removing MonoTorrent libraries
+ rm -rf $(DESTDIR)/$(libdir)/monotorrent
+ @echo Removing MonoTorrent pc files
+ rm -f $(DESTDIR)$(pkgconfigdir)/monotorrent.pc
+ rm -f $(DESTDIR)$(pkgconfigdir)/monotorrent.dht.pc
+
+$(CONFIG):
+ @if ! test -e "$(CONFIG)"; then \
+ echo "You must run configure first" && exit 1; \
+ fi
+
+
+include $(CONFIG)
+
+.PHONY: all clean dist dist-clean dist-check install
View
59 configure
@@ -0,0 +1,59 @@
+prefix=/usr/local
+bindir=$prefix/bin
+libdir=$prefix/lib
+profile=Debug
+pkgconfigdir=$prefix/pkgconfig
+monotorrent_version=`grep 'AssemblyFileVersion' src/MonoTorrent/AssemblyInfo.cs | grep -Eo '([0-9]\.[0-9]\.[0-9])'`
+
+while test x$1 != x; do
+ case $1 in
+ --bindir=*)
+ bindir=`echo $1 | sed s/--bindir=//`
+ ;;
+ --libdir=*)
+ libdir=`echo $1i | sed s/--libdir=//`
+ ;;
+ --prefix=*)
+ prefix=`echo $1 | sed s/--prefix=//`
+ ;;
+ --profile=*)
+ profile=`echo $1 | sed s/--profile=//`
+ ;;
+ --pkgconfigdir=*)
+ pkgconfigdir=`echo $1 s/--pkgconfigdir=//`
+ ;;
+ *)
+ echo Unknown argument $1 >&2
+ usage
+ exit 1
+ ;;
+ esac
+ shift
+done
+
+monotorrent_install_dir=$libdir/monotorrent
+
+mt_pc=src/MonoTorrent/monotorrent.pc
+cp src/MonoTorrent/monotorrent.pc.in $mt_pc
+sed -i '' s,@monotorrent_version@,$monotorrent_version, $mt_pc
+sed -i '' s,@monotorrent_install_dir@,$monotorrent_install_dir, $mt_pc
+
+mt_pc=src/MonoTorrent.Dht/monotorrent.dht.pc
+cp $mt_pc.in $mt_pc
+sed -i '' s,@monotorrent_version@,$monotorrent_version, $mt_pc
+sed -i '' s,@monotorrent_install_dir@,$monotorrent_install_dir, $mt_pc
+
+echo prefix=$prefix > config.make
+echo bindir=$bindir >> config.make
+echo libdir=$libdir >> config.make
+echo pkgconfigdir=$pkgconfigdir >> config.make
+echo '' >> config.make
+echo MONOTORRENT_INSTALL_DIR=$monotorrent_install_dir >> config.make
+echo MONOTORRENT_VERSION=$monotorrent_version >> config.make
+echo MONOTORRENT_PROFILE=$profile >> config.make
+
+echo "MonoTorrent has been configured with "
+echo " prefix = $prefix"
+echo " profile = $profile"
+echo
+
View
10 src/Makefile.am
@@ -1,10 +0,0 @@
-
-EXTRA_DIST = expansions.m4
-
-#Warning: This is an automatically generated file, do not edit!
-if ENABLE_DEBUG
- SUBDIRS = MonoTorrent MonoTorrent.Dht
-endif
-if ENABLE_RELEASE
- SUBDIRS = MonoTorrent MonoTorrent.Dht
-endif
View
118 src/Makefile.include
@@ -1,118 +0,0 @@
-VALID_CULTURES = ar bg ca zh-CHS cs da de el en es fi fr he hu is it ja ko nl no pl pt ro ru hr sk sq sv th tr id uk be sl et lv lt fa vi hy eu mk af fo hi sw gu ta te kn mr gl kok ar-SA bg-BG ca-ES zh-TW cs-CZ da-DK de-DE el-GR en-US fi-FI fr-FR he-IL hu-HU is-IS it-IT ja-JP ko-KR nl-NL nb-NO pl-PL pt-BR ro-RO ru-RU hr-HR sk-SK sq-AL sv-SE th-TH tr-TR id-ID uk-UA be-BY sl-SI et-EE lv-LV lt-LT fa-IR vi-VN hy-AM eu-ES mk-MK af-ZA fo-FO hi-IN sw-KE gu-IN ta-IN te-IN kn-IN mr-IN gl-ES kok-IN ar-IQ zh-CN de-CH en-GB es-MX fr-BE it-CH nl-BE nn-NO pt-PT sv-FI ar-EG zh-HK de-AT en-AU es-ES fr-CA ar-LY zh-SG de-LU en-CA es-GT fr-CH ar-DZ zh-MO en-NZ es-CR fr-LU ar-MA en-IE es-PA ar-TN en-ZA es-DO ar-OM es-VE ar-YE es-CO ar-SY es-PE ar-JO en-TT es-AR ar-LB en-ZW es-EC ar-KW en-PH es-CL ar-AE es-UY ar-BH es-PY ar-QA es-BO es-SV es-HN es-NI es-PR zh-CHT
-
-s2q=$(subst \ ,?,$1)
-q2s=$(subst ?,\ ,$1)
-# use this when result will be quoted
-unesc2=$(subst ?, ,$1)
-
-build_sources = $(FILES) $(GENERATED_FILES)
-build_sources_esc= $(call s2q,$(build_sources))
-# use unesc2, as build_sources_embed is quoted
-build_sources_embed= $(call unesc2,$(build_sources_esc:%='$(srcdir)/%'))
-
-comma__=,
-get_resource_name = $(firstword $(subst $(comma__), ,$1))
-get_culture = $(lastword $(subst ., ,$(basename $1)))
-is_cultured_resource = $(and $(word 3,$(subst ., ,$1)), $(filter $(VALID_CULTURES),$(lastword $(subst ., ,$(basename $1)))))
-
-RESOURCES_ESC=$(call s2q,$(RESOURCES))
-
-build_resx_list = $(foreach res, $(RESOURCES_ESC), $(if $(filter %.resx, $(call get_resource_name,$(res))),$(res),))
-build_non_culture_resx_list = $(foreach res, $(build_resx_list),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res)))
-build_non_culture_others_list = $(foreach res, $(filter-out $(build_resx_list),$(RESOURCES_ESC)),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res)))
-build_others_list = $(build_non_culture_others_list)
-build_xamlg_list = $(filter %.xaml.g.cs, $(FILES))
-
-# resgen all .resx resources
-build_resx_files = $(foreach res, $(build_resx_list), $(call get_resource_name,$(res)))
-build_resx_resources_esc = $(build_resx_files:.resx=.resources)
-build_resx_resources = $(call q2s,$(build_resx_resources_esc))
-
-# embed resources for the main assembly
-build_resx_resources_hack = $(subst .resx,.resources, $(build_non_culture_resx_list))
-# use unesc2, as build_resx_resources_embed is quoted
-build_resx_resources_embed = $(call unesc2,$(build_resx_resources_hack:%='-resource:%'))
-build_others_files = $(call q2s,$(foreach res, $(build_others_list),$(call get_resource_name,$(res))))
-build_others_resources = $(build_others_files)
-# use unesc2, as build_others_resources_embed is quoted
-build_others_resources_embed = $(call unesc2,$(build_others_list:%='-resource:$(srcdir)/%'))
-
-build_resources = $(build_resx_resources) $(build_others_resources)
-build_resources_embed = $(build_resx_resources_embed) $(build_others_resources_embed)
-
-# -usesourcepath is available only for resgen2
-emit_resgen_target_1=$(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); cd '$$(shell dirname '$$<')' && MONO_IOMAP=drive $$(RESGEN) '$$(shell basename '$$<')' '$$(shell basename '$$@')'
-emit_resgen_target_2=$(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); MONO_IOMAP=drive $$(RESGEN) -usesourcepath '$$<' '$$@'
-
-emit_resgen_target=$(if $(filter resgen2,$(RESGEN)),$(emit_resgen_target_2),$(emit_resgen_target_1))
-emit_resgen_targets=$(foreach res,$(build_resx_resources_esc),$(eval $(call emit_resgen_target,$(res))))
-
-build_references_ref = $(call q2s,$(foreach ref, $(call s2q,$(REFERENCES)), $(if $(filter -pkg:%, $(ref)), $(ref), $(if $(filter -r:%, $(ref)), $(ref), -r:$(ref)))))
-build_references_ref += $(call q2s,$(foreach ref, $(call s2q,$(DLL_REFERENCES)), -r:$(ref)))
-build_references_ref += $(call q2s,$(foreach ref, $(call s2q,$(PROJECT_REFERENCES)), -r:$(ref)))
-
-s2q2s=$(call unesc2,$(call s2q,$1))
-cp_actual=test -z $1 || cp $1 $2
-cp=$(call cp_actual,'$(call s2q2s,$1)','$(call s2q2s,$2)')
-
-rm_actual=test -z '$1' || rm -f '$2'
-rm=$(call rm_actual,$(call s2q2s,$1),$(call s2q2s,$2)/$(shell basename '$(call s2q2s,$1)'))
-
-EXTRA_DIST += $(build_sources) $(build_resx_files) $(build_others_files) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) $(DATA_FILES) $(build_culture_res_files)
-CLEANFILES += $(ASSEMBLY) $(ASSEMBLY).mdb $(BINARIES) $(build_resx_resources) $(build_satellite_assembly_list)
-DISTCLEANFILES = $(GENERATED_FILES) $(pc_files) $(BUILD_DIR)/*
-
-pkglib_SCRIPTS = $(ASSEMBLY)
-bin_SCRIPTS = $(BINARIES)
-
-programfilesdir = @libdir@/@PACKAGE@
-programfiles_DATA = $(PROGRAMFILES)
-linuxpkgconfigdir = @libdir@/pkgconfig
-linuxpkgconfig_DATA = $(LINUX_PKGCONFIG)
-
-
-# macros
-
-# $(call emit-deploy-target,deploy-variable-name)
-define emit-deploy-target
-$($1): $($1_SOURCE)
- mkdir -p '$$(shell dirname '$$@')'
- cp '$$<' '$$@'
-endef
-
-# $(call emit-deploy-wrapper,wrapper-variable-name,wrapper-sourcefile,x)
-# assumes that for a wrapper foo.pc its source template is foo.pc.in
-# if $3 is non-empty then wrapper is marked exec
-define emit-deploy-wrapper
-$($1): $2
- mkdir -p '$$(shell dirname '$$@')'
- cp '$$<' '$$@'
- $(if $3,chmod +x '$$@')
-
-endef
-
-# generating satellite assemblies
-
-culture_resources = $(foreach res, $(RESOURCES_ESC), $(if $(call is_cultured_resource,$(call get_resource_name, $(res))),$(res)))
-cultures = $(sort $(foreach res, $(culture_resources), $(call get_culture,$(call get_resource_name,$(res)))))
-culture_resource_dependencies = $(call q2s,$(BUILD_DIR)/$1/$(SATELLITE_ASSEMBLY_NAME): $(subst .resx,.resources,$2))
-culture_resource_commandlines = $(call unesc2,cmd_line_satellite_$1 += '/embed:$(subst .resx,.resources,$2)')
-build_satellite_assembly_list = $(call q2s,$(cultures:%=$(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME)))
-build_culture_res_files = $(call q2s,$(foreach res, $(culture_resources),$(call get_resource_name,$(res))))
-install_satellite_assembly_list = $(subst $(BUILD_DIR),$(DESTDIR)$(libdir)/$(PACKAGE),$(build_satellite_assembly_list))
-
-$(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_dependencies,$(call get_culture,$(call get_resource_name,$(res))),$(call get_resource_name,$(res))))))
-$(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_commandlines,$(call get_culture,$(call get_resource_name,$(res))),$(res)))))
-
-$(build_satellite_assembly_list): $(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME):
- mkdir -p '$(@D)'
- $(AL) -out:'$@' -culture:$* -t:lib $(cmd_line_satellite_$*)
-
-$(install_satellite_assembly_list):
- mkdir -p '$(@D)'
- cp $(subst $(DESTDIR)$(libdir)/$(PACKAGE), $(BUILD_DIR), $@) $@
-
-install-satellite-assemblies: $(install_satellite_assembly_list)
-
-uninstall-satellite-assemblies:
- rm -rf $(install_satellite_assembly_list)
View
127 src/MonoTorrent.Dht/Makefile.am
@@ -1,127 +0,0 @@
-
-EXTRA_DIST =
-
-# Warning: This is an automatically generated file, do not edit!
-
-if ENABLE_DEBUG
-ASSEMBLY_COMPILER_COMMAND = gmcs
-ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -unsafe -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
-ASSEMBLY = bin/Debug/MonoTorrent.Dht.dll
-ASSEMBLY_MDB = $(ASSEMBLY).mdb
-COMPILE_TARGET = library
-PROJECT_REFERENCES = \
- ../MonoTorrent/bin/Debug/MonoTorrent.dll
-BUILD_DIR = bin/Debug/
-
-MONOTORRENT_DLL_SOURCE=../MonoTorrent/bin/Debug/MonoTorrent.dll
-MONOTORRENT_DLL_MDB_SOURCE=../MonoTorrent/bin/Debug/MonoTorrent.dll.mdb
-MONOTORRENT_DLL_MDB=$(BUILD_DIR)/MonoTorrent.dll.mdb
-MONOTORRENT_DHT_DLL_MDB_SOURCE=bin/Debug/MonoTorrent.Dht.dll.mdb
-
-endif
-
-if ENABLE_RELEASE
-ASSEMBLY_COMPILER_COMMAND = gmcs
-ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -unsafe -warn:4 -optimize+ -debug -define:DEBUG "-define:TRACE"
-ASSEMBLY = bin/Release/MonoTorrent.Dht.dll
-ASSEMBLY_MDB = $(ASSEMBLY).mdb
-COMPILE_TARGET = library
-PROJECT_REFERENCES = \
- ../MonoTorrent/bin/Release/MonoTorrent.dll
-BUILD_DIR = bin/Release/
-
-MONOTORRENT_DLL_SOURCE=../MonoTorrent/bin/Release/MonoTorrent.dll
-MONOTORRENT_DLL_MDB=
-MONOTORRENT_DHT_DLL_MDB_SOURCE=bin/Release/MonoTorrent.Dht.dll.mdb
-
-endif
-
-AL=al2
-SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
-
-PROGRAMFILES = \
- $(MONOTORRENT_DLL) \
- $(MONOTORRENT_DLL_MDB) \
- $(MONOTORRENT_DHT_DLL_MDB)
-
-LINUX_PKGCONFIG = \
- $(MONOTORRENT_DHT_PC)
-
-
-RESGEN=resgen2
-
-all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG)
-
-FILES = \
- BigInteger.cs \
- DhtEngine.cs \
- EventArgs/NodeAddedEventArgs.cs \
- EventArgs/SendMessageEventArgs.cs \
- EventArgs/TaskCompleteEventArgs.cs \
- Listeners/DhtListener.cs \
- Message.cs \
- MessageException.cs \
- MessageFactory.cs \
- MessageLoop.cs \
- Messages/Errors/ErrorMessage.cs \
- Messages/Queries/AnnouncePeer.cs \
- Messages/Queries/FindNode.cs \
- Messages/Queries/GetPeers.cs \
- Messages/Queries/Ping.cs \
- Messages/Queries/QueryMessage.cs \
- Messages/Responses/AnnouncePeerResponse.cs \
- Messages/Responses/FindNodeResponse.cs \
- Messages/Responses/GetPeersResponse.cs \
- Messages/Responses/PingResponse.cs \
- Messages/Responses/ResponseMessage.cs \
- Nodes/NodeId.cs \
- RoutingTable/Bucket.cs \
- Nodes/NodeState.cs \
- Nodes/Node.cs \
- RoutingTable/RoutingTable.cs \
- Tasks/AnnounceTask.cs \
- Tasks/GetPeersTask.cs \
- Tasks/InitialiseTask.cs \
- Tasks/ITask.cs \
- Tasks/RefreshBucketTask.cs \
- Tasks/ReplaceNodeTask.cs \
- Tasks/SendMessageTask.cs \
- Tasks/Task.cs \
- TransactionId.cs \
- Nodes/TokenManager.cs \
- EventArgs/NodeFoundEventArgs.cs
-
-DATA_FILES =
-
-RESOURCES =
-
-EXTRAS = \
- monotorrent.dht.pc.in
-
-REFERENCES = \
- System \
- System.Data \
- System.Xml
-
-DLL_REFERENCES =
-
-CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG)
-
-include $(top_srcdir)/Makefile.include
-
-MONOTORRENT_DLL = $(BUILD_DIR)/MonoTorrent.dll
-MONOTORRENT_DHT_DLL_MDB = $(BUILD_DIR)/MonoTorrent.Dht.dll.mdb
-MONOTORRENT_DHT_PC = $(BUILD_DIR)/monotorrent.dht.pc
-
-$(eval $(call emit-deploy-target,MONOTORRENT_DLL))
-$(eval $(call emit-deploy-target,MONOTORRENT_DLL_MDB))
-$(eval $(call emit-deploy-wrapper,MONOTORRENT_DHT_PC,monotorrent.dht.pc))
-
-
-$(eval $(call emit_resgen_targets))
-$(build_xamlg_list): %.xaml.g.cs: %.xaml
- xamlg '$<'
-
-$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
- mkdir -p $(shell dirname $(ASSEMBLY))
- $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
View
8 src/MonoTorrent.Dht/MonoTorrent.Dht.csproj
@@ -36,24 +36,20 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
+ <OutputPath>..\..\build\MonoTorrent\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <OutputType>Library</OutputType>
- <RootNamespace>MonoTorrent.Dht</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
+ <OutputPath>..\..\build\MonoTorrent\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <OutputType>Library</OutputType>
<DebugSymbols>true</DebugSymbols>
- <RootNamespace>MonoTorrent.Dht</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
View
4 src/MonoTorrent.Dht/monotorrent.dht.pc.in
@@ -1,7 +1,7 @@
Name: MonoTorrent.Dht
Description: MonoTorrent.Dht
-Version: @VERSION@
+Version: @monotorrent_version@
Requires:
-Libraries=@expanded_libdir@/@PACKAGE@/MonoTorrent.dll
+Libraries=@monotorrent_install_dir@/MonoTorrent.Dht.dll
Libs: -r:MonoTorrent.Dht.dll
View
6 src/MonoTorrent.Tests/MonoTorrent.Tests.csproj
@@ -36,7 +36,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
+ <OutputPath>..\..\build\Tests\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
@@ -44,7 +44,7 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
+ <OutputPath>..\..\build\Tests\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
@@ -53,7 +53,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
- <OutputPath>bin\Stats\</OutputPath>
+ <OutputPath>..\..\build\Tests\Stats\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
View
318 src/MonoTorrent/Makefile.am
@@ -1,318 +0,0 @@
-
-EXTRA_DIST =
-
-# Warning: This is an automatically generated file, do not edit!
-
-if ENABLE_DEBUG
-ASSEMBLY_COMPILER_COMMAND = gmcs
-ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -unsafe -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
-ASSEMBLY = bin/Debug/MonoTorrent.dll
-ASSEMBLY_MDB = $(ASSEMBLY).mdb
-COMPILE_TARGET = library
-PROJECT_REFERENCES =
-BUILD_DIR = bin/Debug/
-
-MONOTORRENT_DLL_MDB_SOURCE=bin/Debug/MonoTorrent.dll.mdb
-MONOTORRENT_DLL_MDB=$(BUILD_DIR)/MonoTorrent.dll.mdb
-
-endif
-
-if ENABLE_RELEASE
-ASSEMBLY_COMPILER_COMMAND = gmcs
-ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -unsafe -warn:4 -optimize- "-define:TRACE"
-ASSEMBLY = bin/Release/MonoTorrent.dll
-ASSEMBLY_MDB =
-COMPILE_TARGET = library
-PROJECT_REFERENCES =
-BUILD_DIR = bin/Release/
-
-MONOTORRENT_DLL_MDB=
-
-endif
-
-AL=al2
-SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
-
-PROGRAMFILES = \
- $(MONOTORRENT_DLL_MDB)
-
-LINUX_PKGCONFIG = \
- $(MONOTORRENT_PC)
-
-
-RESGEN=resgen2
-
-all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG)
-
-FILES = \
- AssemblyInfo.cs \
- BanLists/BanList.cs \
- BanLists/ListParser.cs \
- BanLists/RangeCollection.cs \
- MonoTorrent.Client/EventArgs/PeersFoundEventArgs.cs \
- MonoTorrent.Client/IDhtEngine.cs \
- MonoTorrent.BEncoding/RawReader.cs \
- MonoTorrent.Client/ConnectionListeners/IListener.cs \
- MonoTorrent.Client/ConnectionListeners/Listener.cs \
- MonoTorrent.Client/ConnectionListeners/LocalPeerListener.cs \
- MonoTorrent.Client/ConnectionListeners/PeerListener.cs \
- MonoTorrent.Client/ConnectionListeners/UdpListener.cs \
- MonoTorrent.Client/Encryption/EncryptionTypes.cs \
- MonoTorrent.Client/EventArgs/AttemptConnectionEventArgs.cs \
- MonoTorrent.Client/EventArgs/DhtPeersAdded.cs \
- MonoTorrent.Client/EventArgs/LocalPeersAdded.cs \
- MonoTorrent.Client/EventArgs/PeerAddedEventArgs.cs \
- MonoTorrent.Client/EventArgs/PeerConnectionFailedEventArgs.cs \
- MonoTorrent.Client/EventArgs/PeerEventArgs.cs \
- MonoTorrent.Client/EventArgs/PeersAddedEventArgs.cs \
- MonoTorrent.Client/EventArgs/PeerExchangePeersAdded.cs \
- MonoTorrent.Client/EventArgs/TorrentEventArgs.cs \
- MonoTorrent.Client/EventArgs/TrackerPeersAdded.cs \
- MonoTorrent.BEncoding/BEncodedDictionary.cs \
- MonoTorrent.BEncoding/BEncodedList.cs \
- MonoTorrent.BEncoding/BEncodedNumber.cs \
- MonoTorrent.BEncoding/BEncodedString.cs \
- MonoTorrent.BEncoding/BEncodingException.cs \
- MonoTorrent.BEncoding/IBEncodedValue.cs \
- MonoTorrent.Client/AllowedFastAlgorithm.cs \
- MonoTorrent.Client/AsyncConnectState.cs \
- MonoTorrent.Client/AsyncIOState.cs \
- MonoTorrent.Client/Block.cs \
- MonoTorrent.Client/ClientEngine.cs \
- MonoTorrent.Client/Encryption/EncryptorFactory.cs \
- MonoTorrent.Client/Encryption/IEncryption/RC4Header.cs \
- MonoTorrent.Client/EventArgs/CriticalExceptionEventArgs.cs \
- MonoTorrent.Client/FileStreamBuffer.cs \
- MonoTorrent.Client/Logger.cs \
- MonoTorrent.Client/MainLoop.cs \
- MonoTorrent.Client/Managers/InactivePeerManager.cs \
- MonoTorrent.Client/WaitHandleGroup.cs \
- MonoTorrent.Client/Messages/FastPeerExtensions/IFastPeerMessage.cs \
- MonoTorrent.Client/Messages/LibtorrentMessages/ExtensionSupports.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/MessageType.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/ScrapeDetails.cs \
- MonoTorrent.Client/Modes/DownloadMode.cs \
- MonoTorrent.Client/Modes/ErrorMode.cs \
- MonoTorrent.Client/Modes/HashingMode.cs \
- MonoTorrent.Client/Modes/InitialSeedingMode.cs \
- MonoTorrent.Client/Modes/MetadataMode.cs \
- MonoTorrent.Client/Modes/Mode.cs \
- MonoTorrent.Client/Modes/PausedMode.cs \
- MonoTorrent.Client/Modes/StoppedMode.cs \
- MonoTorrent.Client/Modes/StoppingMode.cs \
- MonoTorrent.Client/NetworkIO.cs \
- MonoTorrent.Client/NetworkIO/ReceiveMessageState.cs \
- MonoTorrent.Client/NetworkIO/State.cs \
- MonoTorrent.Client/NullDhtEngine.cs \
- MonoTorrent.Client/PeerConnections/HttpRequestData.cs \
- MonoTorrent.Client/PeerConnections/IPV6Connection.cs \
- MonoTorrent.Client/PeerConnections/PeerId.cs \
- MonoTorrent.Client/PeerIO.cs \
- MonoTorrent.Client/Piece.cs \
- MonoTorrent.Client/PiecePicking/EndGamePicker.cs \
- MonoTorrent.Client/PiecePicking/EndGameSwitcher.cs \
- MonoTorrent.Client/PiecePicking/IgnoringPicker.cs \
- MonoTorrent.Client/PiecePicking/LoggingPicker.cs \
- MonoTorrent.Client/PiecePicking/NullPicker.cs \
- MonoTorrent.Client/PiecePicking/PiecePicker.cs \
- MonoTorrent.Client/PiecePicking/PriorityPicker.cs \
- MonoTorrent.Client/PiecePicking/RandomisedPicker.cs \
- MonoTorrent.Client/PiecePicking/RarestFirstPicker.cs \
- MonoTorrent.Client/PiecePicking/SlidingWindowPicker.cs \
- MonoTorrent.Client/PiecePicking/SortedList.cs \
- MonoTorrent.Client/PiecePicking/StandardPicker.cs \
- MonoTorrent.Client/PieceWriter/NtfsSparseFile.cs \
- MonoTorrent.Client/PieceWriter/PieceWriter.cs \
- MonoTorrent.Client/PieceWriter/IPieceWriter.cs \
- MonoTorrent.Client/RateLimiters/DiskWriterLimiter.cs \
- MonoTorrent.Client/RateLimiters/IRateLimiter.cs \
- MonoTorrent.Client/RateLimiters/PauseLimiter.cs \
- MonoTorrent.Client/RateLimiters/RateLimiter.cs \
- MonoTorrent.Client/RateLimiters/RateLimiterGroup.cs \
- MonoTorrent.Client/TorrentFileStream.cs \
- MonoTorrent.Client/Tracker/ITracker.cs \
- MonoTorrent.Client/Tracker/ScrapeParameters.cs \
- MonoTorrent.Client/TransferType.cs \
- MonoTorrent.Client/ConnectionListeners/SocketListener.cs \
- MonoTorrent.Client/Encryption/EncryptedSocket.cs \
- MonoTorrent.Client/Encryption/IEncryption/IEncryption.cs \
- MonoTorrent.Client/Encryption/IEncryptor/IEncryptor.cs \
- MonoTorrent.Client/Encryption/ModuloCalculator.cs \
- MonoTorrent.Client/Encryption/IEncryption/NullEncryption.cs \
- MonoTorrent.Client/Encryption/PeerAEncryption.cs \
- MonoTorrent.Client/Encryption/PeerBEncryption.cs \
- MonoTorrent.Client/Encryption/IEncryption/RC4.cs \
- MonoTorrent.Client/Encryption/BigInteger/BigInteger.cs \
- MonoTorrent.Client/EventArgs/AnnounceResponseEventArgs.cs \
- MonoTorrent.Client/EventArgs/BlockEventArgs.cs \
- MonoTorrent.Client/EventArgs/MessageEventArgs.cs \
- MonoTorrent.Client/EventArgs/NewConnectionEventArgs.cs \
- MonoTorrent.Client/EventArgs/PeerConnectionEventArgs.cs \
- MonoTorrent.Client/EventArgs/PeersAddedEventArgs.cs \
- MonoTorrent.Client/EventArgs/PieceHashedEventArgs.cs \
- MonoTorrent.Client/EventArgs/ScrapeResponseEventArgs.cs \
- MonoTorrent.Client/EventArgs/StateUpdateEventArgs.cs \
- MonoTorrent.Client/EventArgs/TorrentEventArgs.cs \
- MonoTorrent.Client/EventArgs/TorrentStateChangedEventArgs.cs \
- MonoTorrent.Client/EventArgs/TrackerRequestEventArgs.cs \
- MonoTorrent.Client/EventArgs/TrackerStateChangedEventArgs.cs \
- MonoTorrent.Client/Exceptions/ConnectionException.cs \
- MonoTorrent.Client/Exceptions/ListenerException.cs \
- MonoTorrent.Client/Exceptions/MessageException.cs \
- MonoTorrent.Client/Exceptions/ProtocolException.cs \
- MonoTorrent.Client/Exceptions/TorrentLoadException.cs \
- MonoTorrent.Client/FastResume/FastResume.cs \
- MonoTorrent.Client/Managers/BufferManager.cs \
- MonoTorrent.Client/Managers/ChokeUnchokeManager.cs \
- MonoTorrent.Client/Managers/ConnectionManager.cs \
- MonoTorrent.Client/Managers/ConnectionMonitor.cs \
- MonoTorrent.Client/Managers/DiskManager.cs \
- MonoTorrent.Client/Managers/ListenManager.cs \
- MonoTorrent.Client/Managers/LocalPeerManager.cs \
- MonoTorrent.Client/Managers/PeerManager.cs \
- MonoTorrent.Client/Managers/PieceManager.cs \
- MonoTorrent.Client/Managers/TorrentManager.cs \
- MonoTorrent.Client/Managers/TrackerManager.cs \
- MonoTorrent.Client/Messages/IMessage.cs \
- MonoTorrent.Client/Messages/Message.cs \
- MonoTorrent.Client/Messages/MessageBundle.cs \
- MonoTorrent.Client/Messages/PeerMessage.cs \
- MonoTorrent.Client/Messages/FastPeerExtensions/AllowedFastMessage.cs \
- MonoTorrent.Client/Messages/FastPeerExtensions/HaveAllMessage.cs \
- MonoTorrent.Client/Messages/FastPeerExtensions/HaveNoneMessage.cs \
- MonoTorrent.Client/Messages/FastPeerExtensions/RejectRequestMessage.cs \
- MonoTorrent.Client/Messages/FastPeerExtensions/SuggestPieceMessage.cs \
- MonoTorrent.Client/Messages/LibtorrentMessages/ExtendedHandshakeMessage.cs \
- MonoTorrent.Client/Messages/LibtorrentMessages/LibtorrentMessage.cs \
- MonoTorrent.Client/Messages/LibtorrentMessages/LTChat.cs \
- MonoTorrent.Client/Messages/LibtorrentMessages/LTMetadata.cs \
- MonoTorrent.Client/Messages/LibtorrentMessages/LTSupport.cs \
- MonoTorrent.Client/Messages/StandardMessages/BitfieldMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/CancelMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/ChokeMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/HandshakeMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/HaveMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/InterestedMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/KeepAliveMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/NotInterestedMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/PieceMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/PortMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/RequestMessage.cs \
- MonoTorrent.Client/Messages/StandardMessages/UnchokeMessage.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/AnnounceMessage.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/AnnounceResponseMessage.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/ConnectMessage.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/ConnectResponseMessage.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/ErrorMessage.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/ScrapeMessage.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/ScrapeResponseMessage.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/UdpTrackerMessage.cs \
- MonoTorrent.Client/Messages/UdpTrackerMessages/Extensions/AuthenticationMessage.cs \
- MonoTorrent.Client/PeerConnections/ConnectionFactory.cs \
- MonoTorrent.Client/PeerConnections/HTTPConnection.cs \
- MonoTorrent.Client/PeerConnections/IConnection.cs \
- MonoTorrent.Client/PeerConnections/TCPConnection.cs \
- MonoTorrent.Client/Peers/Peer.cs \
- MonoTorrent.Client/Peers/PeerList.cs \
- MonoTorrent.Client/PieceWriter/DiskWriter.cs \
- MonoTorrent.Client/PieceWriter/MemoryWriter.cs \
- MonoTorrent.Client/PieceWriter/PieceData.cs \
- MonoTorrent.Client/Settings/EngineSettings.cs \
- MonoTorrent.Client/Settings/TorrentSettings.cs \
- MonoTorrent.Client/Tracker/AnnounceParameters.cs \
- MonoTorrent.Client/Tracker/HTTPTracker.cs \
- MonoTorrent.Client/Tracker/Tracker.cs \
- MonoTorrent.Client/Tracker/TrackerConnectionId.cs \
- MonoTorrent.Client/Tracker/TrackerFactory.cs \
- MonoTorrent.Client/Tracker/TrackerTier.cs \
- MonoTorrent.Client/Tracker/UdpTracker.cs \
- MonoTorrent.Client/Unchokers/InitialSeedUnchoker.cs \
- MonoTorrent.Client/Unchokers/IUnchoker.cs \
- MonoTorrent.Client/Unchokers/Unchoker.cs \
- MonoTorrent.Common/AsyncResult.cs \
- MonoTorrent.Common/BitField.cs \
- MonoTorrent.Common/Cache.cs \
- MonoTorrent.Common/Check.cs \
- MonoTorrent.Common/EditableTorrent.cs\
- MonoTorrent.Common/Enums.cs \
- MonoTorrent.Common/Hashes.cs \
- MonoTorrent.Common/HashAlgoFactory.cs \
- MonoTorrent.Common/ICacheable.cs \
- MonoTorrent.Common/IFileSource.cs \
- MonoTorrent.Common/InfoHash.cs \
- MonoTorrent.Common/FileMapping.cs \
- MonoTorrent.Common/MagnetLink.cs \
- MonoTorrent.Common/MonoTorrentCollectionBase.cs \
- MonoTorrent.Common/PeerID.cs \
- MonoTorrent.Common/RawTrackerTier.cs\
- MonoTorrent.Common/RawTrackerTiers.cs\
- MonoTorrent.Common/SpeedMonitor.cs \
- MonoTorrent.Common/TimeoutDispatcher.cs \
- MonoTorrent.Common/ToolBox.cs \
- MonoTorrent.Common/Torrent.cs \
- MonoTorrent.Common/TorrentCreator.cs \
- MonoTorrent.Common/TorrentCreatorAsyncResult.cs \
- MonoTorrent.Common/TorrentException.cs \
- MonoTorrent.Common/TorrentFile.cs \
- MonoTorrent.Common/TorrentFileSource.cs \
- MonoTorrent.Common/UriQueryBuilder.cs \
- MonoTorrent.Common/UriHelper.cs \
- MonoTorrent.Common/VersionInfo.cs \
- MonoTorrent.Common/EventArgs/TorrentCreatorEventArgs.cs \
- MonoTorrent.Tracker/EventArgs/AnnounceEventArgs.cs \
- MonoTorrent.Tracker/EventArgs/PeerEventArgs.cs \
- MonoTorrent.Tracker/InfoHashTrackable.cs \
- MonoTorrent.Tracker/IPAddressComparer.cs \
- MonoTorrent.Tracker/ITrackable.cs \
- MonoTorrent.Tracker/Peer.cs \
- MonoTorrent.Tracker/RequestMonitor.cs \
- MonoTorrent.Tracker/RequestParameters.cs \
- MonoTorrent.Tracker/EventArgs/ScrapeEventArgs.cs \
- MonoTorrent.Tracker/SimpleTorrentManager.cs \
- MonoTorrent.Tracker/EventArgs/TimedOutEventArgs.cs \
- MonoTorrent.Tracker/Tracker.cs \
- MonoTorrent.Tracker/Exceptions/TrackerException.cs \
- MonoTorrent.Tracker/Frontend/AnnounceParameters.cs \
- MonoTorrent.Tracker/Frontend/ScrapeParameters.cs \
- MonoTorrent.Tracker/Listeners/HttpListener.cs \
- MonoTorrent.Tracker/Listeners/ListenerBase.cs \
- MonoTorrent.Tracker/Listeners/ManualListener.cs \
- MonoTorrent.TorrentWatchers/ITorrentWatcher.cs \
- MonoTorrent.TorrentWatchers/TorrentFolderWatcher.cs \
- MonoTorrent.TorrentWatchers/TorrentWatcherEventArgs.cs \
- MonoTorrent.TorrentWatchers/TorrentWatchers.cs \
- MonoTorrent.Common/SHA1Fast.cs \
- MonoTorrent.Client/Managers/PeerExchangeManager.cs \
- MonoTorrent.Client/Messages/uTorrent/PeerExchangeMessage.cs
-
-DATA_FILES =
-
-RESOURCES =
-
-EXTRAS = \
- monotorrent.pc.in
-
-REFERENCES = \
- System \
- System.Data \
- System.Xml \
- System.Web
-
-DLL_REFERENCES =
-
-CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG)
-
-include $(top_srcdir)/Makefile.include
-
-MONOTORRENT_PC = $(BUILD_DIR)/monotorrent.pc
-
-$(eval $(call emit-deploy-wrapper,MONOTORRENT_PC,monotorrent.pc))
-
-
-$(eval $(call emit_resgen_targets))
-$(build_xamlg_list): %.xaml.g.cs: %.xaml
- xamlg '$<'
-
-$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
- mkdir -p $(shell dirname $(ASSEMBLY))
- $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
View
10 src/MonoTorrent/MonoTorrent.csproj
@@ -51,12 +51,10 @@
<DebugSymbols>true</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
+ <OutputPath>..\..\build\MonoTorrent\Debug\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
- <OutputType>Library</OutputType>
- <RootNamespace>MonoTorrent</RootNamespace>
<DebugType>full</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
@@ -69,17 +67,15 @@
</DocumentationFile>
<FileAlignment>4096</FileAlignment>
<Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
+ <OutputPath>..\..\build\MonoTorrent\Release\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
- <OutputType>Library</OutputType>
- <RootNamespace>MonoTorrent</RootNamespace>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Stats|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
- <OutputPath>bin\Stats\</OutputPath>
+ <OutputPath>..\..\build\MonoTorrent\Stats\</OutputPath>
<DefineConstants>TRACE;DEBUG;STATS</DefineConstants>
<BaseAddress>285212672</BaseAddress>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
View
4 src/MonoTorrent/monotorrent.pc.in
@@ -1,7 +1,7 @@
Name: MonoTorrent
Description: MonoTorrent
-Version: @VERSION@
+Version: @monotorrent_version@
Requires:
-Libraries=@expanded_libdir@/@PACKAGE@/MonoTorrent.dll
+Libraries=@monotorrent_install_dir@/MonoTorrent.dll
Libs: -r:MonoTorrent.dll
View
92 src/SampleClient/Makefile.am
@@ -1,92 +0,0 @@
-
-EXTRA_DIST =
-
-# Warning: This is an automatically generated file, do not edit!
-
-if ENABLE_DEBUG_ANY_CPU
-ASSEMBLY_COMPILER_COMMAND = gmcs
-ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG;TRACE"
-
-ASSEMBLY = bin/Debug/SampleClient.exe
-ASSEMBLY_MDB = $(ASSEMBLY).mdb
-COMPILE_TARGET = exe
-PROJECT_REFERENCES = \
- ../MonoTorrent/bin/Debug/MonoTorrent.dll
-BUILD_DIR = bin/Debug/
-
-MONOTORRENT_DLL_MDB_SOURCE=../MonoTorrent/bin/Debug/MonoTorrent.dll.mdb
-MONOTORRENT_DLL_MDB=$(BUILD_DIR)/MonoTorrent.dll.mdb
-MONOTORRENT_DLL_SOURCE=../MonoTorrent/bin/Debug/MonoTorrent.dll
-
-endif
-
-if ENABLE_RELEASE_ANY_CPU
-ASSEMBLY_COMPILER_COMMAND = gmcs
-ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
-
-ASSEMBLY = bin/Release/SampleClient.exe
-ASSEMBLY_MDB =
-COMPILE_TARGET = exe
-PROJECT_REFERENCES = \
- ../MonoTorrent/bin/Release/MonoTorrent.dll
-BUILD_DIR = bin/Release/
-
-MONOTORRENT_DLL_MDB=
-MONOTORRENT_DLL_SOURCE=../MonoTorrent/bin/Release/MonoTorrent.dll
-
-endif
-
-AL=al2
-SATELLITE_ASSEMBLY_NAME=SampleClient.resources.dll
-
-PROGRAMFILES = \
- $(MONOTORRENT_DLL_MDB) \
- $(MONOTORRENT_DLL)
-
-BINARIES = \
- $(SAMPLECLIENT)
-
-
-RESGEN=resgen2
-
-all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES)
-
-FILES = \
- main.cs \
- TestManualConnection.cs \
- Top10Listener.cs \
- Properties/AssemblyInfo.cs
-
-DATA_FILES =
-
-RESOURCES =
-
-EXTRAS = \
- sampleclient.in
-
-REFERENCES = \
- System \
- System.Web \
- System.Xml
-
-DLL_REFERENCES =
-
-CLEANFILES = $(PROGRAMFILES) $(BINARIES)
-
-include $(top_srcdir)/Makefile.include
-
-SAMPLECLIENT = $(BUILD_DIR)/sampleclient
-MONOTORRENT_DLL = $(BUILD_DIR)/MonoTorrent.dll
-
-$(eval $(call emit-deploy-wrapper,SAMPLECLIENT,sampleclient,x))
-$(eval $(call emit-deploy-target,MONOTORRENT_DLL_MDB))
-$(eval $(call emit-deploy-target,MONOTORRENT_DLL))
-
-
-$(eval $(call emit_resgen_targets))
-$(build_xamlg_list): %.xaml.g.cs: %.xaml
- xamlg '$<'
-
-$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
- mkdir -p $(shell dirname $(ASSEMBLY))
- $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
View
550 src/SampleClient/Makefile.in
@@ -1,550 +0,0 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(srcdir)/sampleclient.in $(top_srcdir)/Makefile.include
-subdir = SampleClient
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/expansions.m4 \
- $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_CLEAN_FILES = sampleclient
-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" \
- "$(DESTDIR)$(linuxpkgconfigdir)" \
- "$(DESTDIR)$(programfilesdir)"
-binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
-pkglibSCRIPT_INSTALL = $(INSTALL_SCRIPT)
-SCRIPTS = $(bin_SCRIPTS) $(pkglib_SCRIPTS)
-SOURCES =
-DIST_SOURCES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- *) f=$$p;; \
- esac;
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-linuxpkgconfigDATA_INSTALL = $(INSTALL_DATA)
-programfilesDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(linuxpkgconfig_DATA) $(programfiles_DATA)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-AMTAR = @AMTAR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-GMCS = @GMCS@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
-MKDIR_P = @MKDIR_P@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PKG_CONFIG = @PKG_CONFIG@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-am__leading_dot = @am__leading_dot@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build_alias = @build_alias@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-expanded_bindir = @expanded_bindir@
-expanded_datadir = @expanded_datadir@
-expanded_libdir = @expanded_libdir@
-host_alias = @host_alias@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-EXTRA_DIST = $(build_sources) $(build_resx_files) \
- $(build_others_files) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) \
- $(DATA_FILES) $(build_culture_res_files)
-
-# Warning: This is an automatically generated file, do not edit!
-@ENABLE_DEBUG_ANY_CPU_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs
-@ENABLE_RELEASE_ANY_CPU_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs
-@ENABLE_DEBUG_ANY_CPU_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG;TRACE"
-@ENABLE_RELEASE_ANY_CPU_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
-@ENABLE_DEBUG_ANY_CPU_TRUE@ASSEMBLY = bin/Debug/SampleClient.exe
-@ENABLE_RELEASE_ANY_CPU_TRUE@ASSEMBLY = bin/Release/SampleClient.exe
-@ENABLE_DEBUG_ANY_CPU_TRUE@ASSEMBLY_MDB = $(ASSEMBLY).mdb
-@ENABLE_RELEASE_ANY_CPU_TRUE@ASSEMBLY_MDB =
-@ENABLE_DEBUG_ANY_CPU_TRUE@COMPILE_TARGET = exe
-@ENABLE_RELEASE_ANY_CPU_TRUE@COMPILE_TARGET = exe
-@ENABLE_DEBUG_ANY_CPU_TRUE@PROJECT_REFERENCES = \
-@ENABLE_DEBUG_ANY_CPU_TRUE@ ../MonoTorrent/bin/Debug/MonoTorrent.dll
-
-@ENABLE_RELEASE_ANY_CPU_TRUE@PROJECT_REFERENCES = \
-@ENABLE_RELEASE_ANY_CPU_TRUE@ ../MonoTorrent/bin/Release/MonoTorrent.dll
-
-@ENABLE_DEBUG_ANY_CPU_TRUE@BUILD_DIR = bin/Debug/
-@ENABLE_RELEASE_ANY_CPU_TRUE@BUILD_DIR = bin/Release/
-@ENABLE_DEBUG_ANY_CPU_TRUE@MONOTORRENT_DLL_MDB_SOURCE = ../MonoTorrent/bin/Debug/MonoTorrent.dll.mdb
-@ENABLE_DEBUG_ANY_CPU_TRUE@MONOTORRENT_DLL_MDB = $(BUILD_DIR)/MonoTorrent.dll.mdb
-@ENABLE_RELEASE_ANY_CPU_TRUE@MONOTORRENT_DLL_MDB =
-@ENABLE_DEBUG_ANY_CPU_TRUE@MONOTORRENT_DLL_SOURCE = ../MonoTorrent/bin/Debug/MonoTorrent.dll
-@ENABLE_RELEASE_ANY_CPU_TRUE@MONOTORRENT_DLL_SOURCE = ../MonoTorrent/bin/Release/MonoTorrent.dll
-AL = al2
-SATELLITE_ASSEMBLY_NAME = SampleClient.resources.dll
-PROGRAMFILES = \
- $(MONOTORRENT_DLL_MDB) \
- $(MONOTORRENT_DLL)
-
-BINARIES = \
- $(SAMPLECLIENT)
-
-RESGEN = resgen2
-FILES = \
- main.cs \
- TestManualConnection.cs \
- Top10Listener.cs \
- Properties/AssemblyInfo.cs
-
-DATA_FILES =
-RESOURCES =
-EXTRAS = \
- sampleclient.in
-
-REFERENCES = \
- System \
- System.Web \
- System.Xml
-
-DLL_REFERENCES =
-CLEANFILES = $(PROGRAMFILES) $(BINARIES) $(ASSEMBLY) $(ASSEMBLY).mdb \
- $(BINARIES) $(build_resx_resources) \
- $(build_satellite_assembly_list)
-VALID_CULTURES = ar bg ca zh-CHS cs da de el en es fi fr he hu is it ja ko nl no pl pt ro ru hr sk sq sv th tr id uk be sl et lv lt fa vi hy eu mk af fo hi sw gu ta te kn mr gl kok ar-SA bg-BG ca-ES zh-TW cs-CZ da-DK de-DE el-GR en-US fi-FI fr-FR he-IL hu-HU is-IS it-IT ja-JP ko-KR nl-NL nb-NO pl-PL pt-BR ro-RO ru-RU hr-HR sk-SK sq-AL sv-SE th-TH tr-TR id-ID uk-UA be-BY sl-SI et-EE lv-LV lt-LT fa-IR vi-VN hy-AM eu-ES mk-MK af-ZA fo-FO hi-IN sw-KE gu-IN ta-IN te-IN kn-IN mr-IN gl-ES kok-IN ar-IQ zh-CN de-CH en-GB es-MX fr-BE it-CH nl-BE nn-NO pt-PT sv-FI ar-EG zh-HK de-AT en-AU es-ES fr-CA ar-LY zh-SG de-LU en-CA es-GT fr-CH ar-DZ zh-MO en-NZ es-CR fr-LU ar-MA en-IE es-PA ar-TN en-ZA es-DO ar-OM es-VE ar-YE es-CO ar-SY es-PE ar-JO es-AR ar-LB en-ZW es-EC ar-KW en-PH es-CL ar-AE es-UY ar-BH es-PY ar-QA es-BO es-SV es-HN es-NI es-PR zh-CHT
-s2q = $(subst \ ,?,$1)
-q2s = $(subst ?,\ ,$1)
-# use this when result will be quoted
-unesc2 = $(subst ?, ,$1)
-build_sources = $(FILES) $(GENERATED_FILES)
-build_sources_esc = $(call s2q,$(build_sources))
-# use unesc2, as build_sources_embed is quoted
-build_sources_embed = $(call unesc2,$(build_sources_esc:%='$(srcdir)/%'))
-comma__ = ,
-get_resource_name = $(firstword $(subst $(comma__), ,$1))
-get_culture = $(lastword $(subst ., ,$(basename $1)))
-is_cultured_resource = $(and $(word 3,$(subst ., ,$1)), $(filter $(VALID_CULTURES),$(lastword $(subst ., ,$(basename $1)))))
-RESOURCES_ESC = $(call s2q,$(RESOURCES))
-build_resx_list = $(foreach res, $(RESOURCES_ESC), $(if $(filter %.resx, $(call get_resource_name,$(res))),$(res),))
-build_non_culture_resx_list = $(foreach res, $(build_resx_list),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res)))
-build_non_culture_others_list = $(foreach res, $(filter-out $(build_resx_list),$(RESOURCES_ESC)),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res)))
-build_others_list = $(build_non_culture_others_list)
-build_xamlg_list = $(filter %.xaml.g.cs, $(FILES))
-
-# resgen all .resx resources
-build_resx_files = $(foreach res, $(build_resx_list), $(call get_resource_name,$(res)))
-build_resx_resources_esc = $(build_resx_files:.resx=.resources)
-build_resx_resources = $(call q2s,$(build_resx_resources_esc))
-
-# embed resources for the main assembly
-build_resx_resources_hack = $(subst .resx,.resources, $(build_non_culture_resx_list))
-# use unesc2, as build_resx_resources_embed is quoted
-build_resx_resources_embed = $(call unesc2,$(build_resx_resources_hack:%='-resource:%'))
-build_others_files = $(call q2s,$(foreach res, $(build_others_list),$(call get_resource_name,$(res))))
-build_others_resources = $(build_others_files)
-# use unesc2, as build_others_resources_embed is quoted
-build_others_resources_embed = $(call unesc2,$(build_others_list:%='-resource:$(srcdir)/%'))
-build_resources = $(build_resx_resources) $(build_others_resources)
-build_resources_embed = $(build_resx_resources_embed) $(build_others_resources_embed)
-
-# -usesourcepath is available only for resgen2
-emit_resgen_target_1 = $(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); cd '$$(shell dirname '$$<')' && $$(RESGEN) '$$(shell basename '$$<')' '$$(shell basename '$$@')'
-emit_resgen_target_2 = $(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); $$(RESGEN) -usesourcepath '$$<' '$$@'
-emit_resgen_target = $(if $(filter resgen2,$(RESGEN)),$(emit_resgen_target_2),$(emit_resgen_target_1))
-emit_resgen_targets = $(foreach res,$(build_resx_resources_esc),$(eval $(call emit_resgen_target,$(res))))
-build_references_ref = $(call q2s,$(foreach ref, $(call \
- s2q,$(REFERENCES)), $(if $(filter -pkg:%, $(ref)), $(ref), \
- $(if $(filter -r:%, $(ref)), $(ref), -r:$(ref))))) $(call \
- q2s,$(foreach ref, $(call s2q,$(DLL_REFERENCES)), -r:$(ref))) \
- $(call q2s,$(foreach ref, $(call s2q,$(PROJECT_REFERENCES)), \
- -r:$(ref)))
-s2q2s = $(call unesc2,$(call s2q,$1))
-cp_actual = test -z $1 || cp $1 $2
-cp = $(call cp_actual,'$(call s2q2s,$1)','$(call s2q2s,$2)')
-rm_actual = test -z '$1' || rm -f '$2'
-rm = $(call rm_actual,$(call s2q2s,$1),$(call s2q2s,$2)/$(shell basename '$(call s2q2s,$1)'))
-DISTCLEANFILES = $(GENERATED_FILES) $(pc_files) $(BUILD_DIR)/*
-pkglib_SCRIPTS = $(ASSEMBLY)
-bin_SCRIPTS = $(BINARIES)
-programfilesdir = @libdir@/@PACKAGE@
-programfiles_DATA = $(PROGRAMFILES)
-linuxpkgconfigdir = @libdir@/pkgconfig
-linuxpkgconfig_DATA = $(LINUX_PKGCONFIG)
-
-# generating satellite assemblies
-culture_resources = $(foreach res, $(RESOURCES_ESC), $(if $(call is_cultured_resource,$(call get_resource_name, $(res))),$(res)))
-cultures = $(sort $(foreach res, $(culture_resources), $(call get_culture,$(call get_resource_name,$(res)))))
-culture_resource_dependencies = $(call q2s,$(BUILD_DIR)/$1/$(SATELLITE_ASSEMBLY_NAME): $(subst .resx,.resources,$2))
-culture_resource_commandlines = $(call unesc2,cmd_line_satellite_$1 += '/embed:$(subst .resx,.resources,$2)')
-build_satellite_assembly_list = $(call q2s,$(cultures:%=$(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME)))
-build_culture_res_files = $(call q2s,$(foreach res, $(culture_resources),$(call get_resource_name,$(res))))
-SAMPLECLIENT = $(BUILD_DIR)/sampleclient
-MONOTORRENT_DLL = $(BUILD_DIR)/MonoTorrent.dll
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign SampleClient/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign SampleClient/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-sampleclient: $(top_builddir)/config.status $(srcdir)/sampleclient.in
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
-install-binSCRIPTS: $(bin_SCRIPTS)
- @$(NORMAL_INSTALL)
- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
- @list='$(bin_SCRIPTS)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- if test -f $$d$$p; then \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
- $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
- else :; fi; \
- done
-
-uninstall-binSCRIPTS:
- @$(NORMAL_UNINSTALL)
- @list='$(bin_SCRIPTS)'; for p in $$list; do \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
- rm -f "$(DESTDIR)$(bindir)/$$f"; \
- done
-install-pkglibSCRIPTS: $(pkglib_SCRIPTS)
- @$(NORMAL_INSTALL)
- test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
- @list='$(pkglib_SCRIPTS)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- if test -f $$d$$p; then \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- echo " $(pkglibSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
- $(pkglibSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
- else :; fi; \
- done
-
-uninstall-pkglibSCRIPTS:
- @$(NORMAL_UNINSTALL)
- @list='$(pkglib_SCRIPTS)'; for p in $$list; do \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- echo " rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
- rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
- done
-install-linuxpkgconfigDATA: $(linuxpkgconfig_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(linuxpkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(linuxpkgconfigdir)"
- @list='$(linuxpkgconfig_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
- echo " $(linuxpkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(linuxpkgconfigdir)/$$f'"; \
- $(linuxpkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(linuxpkgconfigdir)/$$f"; \
- done
-
-uninstall-linuxpkgconfigDATA:
- @$(NORMAL_UNINSTALL)
- @list='$(linuxpkgconfig_DATA)'; for p in $$list; do \
- f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(linuxpkgconfigdir)/$$f'"; \
- rm -f "$(DESTDIR)$(linuxpkgconfigdir)/$$f"; \
- done
-install-programfilesDATA: $(programfiles_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(programfilesdir)" || $(MKDIR_P) "$(DESTDIR)$(programfilesdir)"
- @list='$(programfiles_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
- echo " $(programfilesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(programfilesdir)/$$f'"; \
- $(programfilesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(programfilesdir)/$$f"; \
- done
-
-uninstall-programfilesDATA:
- @$(NORMAL_UNINSTALL)
- @list='$(programfiles_DATA)'; for p in $$list; do \
- f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(programfilesdir)/$$f'"; \
- rm -f "$(DESTDIR)$(programfilesdir)/$$f"; \
- done
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
-check-am: all-am
-check: check-am
-all-am: Makefile $(SCRIPTS) $(DATA)
-installdirs:
- for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(linuxpkgconfigdir)" "$(DESTDIR)$(programfilesdir)"; do \
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic mostlyclean-am
-
-distclean: distclean-am
- -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am: install-linuxpkgconfigDATA install-programfilesDATA
-
-install-dvi: install-dvi-am
-
-install-exec-am: install-binSCRIPTS install-pkglibSCRIPTS
-
-install-html: install-html-am
-
-install-info: install-info-am
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-ps: install-ps-am
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-binSCRIPTS uninstall-linuxpkgconfigDATA \
- uninstall-pkglibSCRIPTS uninstall-programfilesDATA
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic distclean \
- distclean-generic distdir dvi dvi-am html html-am info info-am \
- install install-am install-binSCRIPTS install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-linuxpkgconfigDATA install-man \
- install-pdf install-pdf-am install-pkglibSCRIPTS \
- install-programfilesDATA install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
- uninstall-binSCRIPTS uninstall-linuxpkgconfigDATA \
- uninstall-pkglibSCRIPTS uninstall-programfilesDATA
-
-
-all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES)
-
-# macros
-
-# $(call emit-deploy-target,deploy-variable-name)
-define emit-deploy-target
-$($1): $($1_SOURCE)
- mkdir -p '$$(shell dirname '$$@')'
- cp '$$<' '$$@'
-endef
-
-# $(call emit-deploy-wrapper,wrapper-variable-name,wrapper-sourcefile,x)
-# assumes that for a wrapper foo.pc its source template is foo.pc.in
-# if $3 is non-empty then wrapper is marked exec
-define emit-deploy-wrapper
-$($1): $2
- mkdir -p '$$(shell dirname '$$@')'
- cp '$$<' '$$@'
- $(if $3,chmod +x '$$@')
-
-endef
-
-$(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_dependencies,$(call get_culture,$(call get_resource_name,$(res))),$(call get_resource_name,$(res))))))
-$(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_commandlines,$(call get_culture,$(call get_resource_name,$(res))),$(res)))))
-
-$(build_satellite_assembly_list): $(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME):
- mkdir -p '$(@D)'
- $(AL) -out:'$@' -culture:$* -t:lib $(cmd_line_satellite_$*)
-
-$(eval $(call emit-deploy-wrapper,SAMPLECLIENT,sampleclient,x))
-$(eval $(call emit-deploy-target,MONOTORRENT_DLL_MDB))
-$(eval $(call emit-deploy-target,MONOTORRENT_DLL))
-
-$(eval $(call emit_resgen_targets))
-$(build_xamlg_list): %.xaml.g.cs: %.xaml
- xamlg '$<'
-
-$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
- mkdir -p $(shell dirname $(ASSEMBLY))
- $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
View
20 src/SampleClient/SampleClient.csproj
@@ -50,12 +50,10 @@
<DebugSymbols>true</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
+ <OutputPath>..\..\build\Samples\Debug\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
- <OutputType>Exe</OutputType>
- <RootNamespace>SampleClient</RootNamespace>
<DebugType>full</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
@@ -67,17 +65,15 @@
</DocumentationFile>
<FileAlignment>4096</FileAlignment>
<Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
+ <OutputPath>..\..\build\Samples\Release\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
- <OutputType>Exe</OutputType>
- <RootNamespace>SampleClient</RootNamespace>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Stats|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
- <OutputPath>bin\Stats\</OutputPath>
+ <OutputPath>..\..\build\Samples\Stats\</OutputPath>
<DefineConstants>TRACE;DEBUG;STATS</DefineConstants>
<BaseAddress>285212672</BaseAddress>
<DebugType>full</DebugType>
@@ -132,14 +128,4 @@
<ProjectGuid>{9CC2CC3A-4041-4857-AF8B-D58745FD3066}</ProjectGuid>
<RootNamespace>SampleClient</RootNamespace>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Stats|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>full</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Stats\</OutputPath>
- <DefineConstants>TRACE;DEBUG;STATS</DefineConstants>
- <WarningLevel>4</WarningLevel>
- <PlatformTarget>AnyCPU</PlatformTarget>
- <BaseAddress>285212672</BaseAddress>
- </PropertyGroup>
</Project>
View
91 src/TrackerApp/Makefile.am
@@ -1,91 +0,0 @@
-
-EXTRA_DIST =
-
-# Warning: This is an automatically generated file, do not edit!
-
-if ENABLE_DEBUG_ANY_CPU
-ASSEMBLY_COMPILER_COMMAND = gmcs
-ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG;TRACE"
-
-ASSEMBLY = bin/Debug/TrackerApp.exe
-ASSEMBLY_MDB = $(ASSEMBLY).mdb
-COMPILE_TARGET = exe
-PROJECT_REFERENCES = \
- ../MonoTorrent/bin/Debug/MonoTorrent.dll
-BUILD_DIR = bin/Debug/
-
-MONOTORRENT_DLL_MDB_SOURCE=../MonoTorrent/bin/Debug/MonoTorrent.dll.mdb
-MONOTORRENT_DLL_MDB=$(BUILD_DIR)/MonoTorrent.dll.mdb
-MONOTORRENT_DLL_SOURCE=../MonoTorrent/bin/Debug/MonoTorrent.dll
-
-endif
-
-if ENABLE_RELEASE_ANY_CPU
-ASSEMBLY_COMPILER_COMMAND = gmcs
-ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
-
-ASSEMBLY = bin/Release/TrackerApp.exe
-ASSEMBLY_MDB =
-COMPILE_TARGET = exe
-PROJECT_REFERENCES = \
- ../MonoTorrent/bin/Release/MonoTorrent.dll
-BUILD_DIR = bin/Release/
-
-MONOTORRENT_DLL_MDB=
-MONOTORRENT_DLL_SOURCE=../MonoTorrent/bin/Release/MonoTorrent.dll
-
-endif
-
-AL=al2
-SATELLITE_ASSEMBLY_NAME=TrackerApp.resources.dll
-
-PROGRAMFILES = \
- $(MONOTORRENT_DLL_MDB) \
- $(MONOTORRENT_DLL)
-
-BINARIES = \
- $(TRACKERAPP)
-
-
-RESGEN=resgen2
-
-all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES)
-
-FILES = \
- AssemblyInfo.cs \
- Main.cs \
- StressTest.cs
-
-DATA_FILES =
-
-RESOURCES =
-
-EXTRAS = \
- trackerapp.in
-
-REFERENCES = \
- System \
- System.Web \
- System.Xml
-
-DLL_REFERENCES =
-
-CLEANFILES = $(PROGRAMFILES) $(BINARIES)
-
-include $(top_srcdir)/Makefile.include
-
-TRACKERAPP = $(BUILD_DIR)/trackerapp
-MONOTORRENT_DLL = $(BUILD_DIR)/MonoTorrent.dll
-
-$(eval $(call emit-deploy-wrapper,TRACKERAPP,trackerapp,x))
-$(eval $(call emit-deploy-target,MONOTORRENT_DLL_MDB))
-$(eval $(call emit-deploy-target,MONOTORRENT_DLL))
-
-
-$(eval $(call emit_resgen_targets))
-$(build_xamlg_list): %.xaml.g.cs: %.xaml
- xamlg '$<'
-
-$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
- mkdir -p $(shell dirname $(ASSEMBLY))
- $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
View
550 src/TrackerApp/Makefile.in
@@ -1,550 +0,0 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(srcdir)/trackerapp.in $(top_srcdir)/Makefile.include \
- ChangeLog
-subdir = TrackerApp
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/expansions.m4 \
- $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_CLEAN_FILES = trackerapp
-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" \
- "$(DESTDIR)$(linuxpkgconfigdir)" \
- "$(DESTDIR)$(programfilesdir)"
-binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
-pkglibSCRIPT_INSTALL = $(INSTALL_SCRIPT)
-SCRIPTS = $(bin_SCRIPTS) $(pkglib_SCRIPTS)
-SOURCES =
-DIST_SOURCES =
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- *) f=$$p;; \
- esac;
-am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
-linuxpkgconfigDATA_INSTALL = $(INSTALL_DATA)
-programfilesDATA_INSTALL = $(INSTALL_DATA)
-DATA = $(linuxpkgconfig_DATA) $(programfiles_DATA)
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-AMTAR = @AMTAR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-GMCS = @GMCS@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
-MKDIR_P = @MKDIR_P@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PKG_CONFIG = @PKG_CONFIG@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-am__leading_dot = @am__leading_dot@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build_alias = @build_alias@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-expanded_bindir = @expanded_bindir@
-expanded_datadir = @expanded_datadir@
-expanded_libdir = @expanded_libdir@
-host_alias = @host_alias@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-EXTRA_DIST = $(build_sources) $(build_resx_files) \
- $(build_others_files) $(ASSEMBLY_WRAPPER_IN) $(EXTRAS) \
- $(DATA_FILES) $(build_culture_res_files)
-
-# Warning: This is an automatically generated file, do not edit!
-@ENABLE_DEBUG_ANY_CPU_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs
-@ENABLE_RELEASE_ANY_CPU_TRUE@ASSEMBLY_COMPILER_COMMAND = gmcs
-@ENABLE_DEBUG_ANY_CPU_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG;TRACE"
-@ENABLE_RELEASE_ANY_CPU_TRUE@ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
-@ENABLE_DEBUG_ANY_CPU_TRUE@ASSEMBLY = bin/Debug/TrackerApp.exe
-@ENABLE_RELEASE_ANY_CPU_TRUE@ASSEMBLY = bin/Release/TrackerApp.exe
-@ENABLE_DEBUG_ANY_CPU_TRUE@ASSEMBLY_MDB = $(ASSEMBLY).mdb
-@ENABLE_RELEASE_ANY_CPU_TRUE@ASSEMBLY_MDB =
-@ENABLE_DEBUG_ANY_CPU_TRUE@COMPILE_TARGET = exe
-@ENABLE_RELEASE_ANY_CPU_TRUE@COMPILE_TARGET = exe
-@ENABLE_DEBUG_ANY_CPU_TRUE@PROJECT_REFERENCES = \
-@ENABLE_DEBUG_ANY_CPU_TRUE@ ../MonoTorrent/bin/Debug/MonoTorrent.dll
-
-@ENABLE_RELEASE_ANY_CPU_TRUE@PROJECT_REFERENCES = \
-@ENABLE_RELEASE_ANY_CPU_TRUE@ ../MonoTorrent/bin/Release/MonoTorrent.dll
-
-@ENABLE_DEBUG_ANY_CPU_TRUE@BUILD_DIR = bin/Debug/
-@ENABLE_RELEASE_ANY_CPU_TRUE@BUILD_DIR = bin/Release/
-@ENABLE_DEBUG_ANY_CPU_TRUE@MONOTORRENT_DLL_MDB_SOURCE = ../MonoTorrent/bin/Debug/MonoTorrent.dll.mdb
-@ENABLE_DEBUG_ANY_CPU_TRUE@MONOTORRENT_DLL_MDB = $(BUILD_DIR)/MonoTorrent.dll.mdb
-@ENABLE_RELEASE_ANY_CPU_TRUE@MONOTORRENT_DLL_MDB =
-@ENABLE_DEBUG_ANY_CPU_TRUE@MONOTORRENT_DLL_SOURCE = ../MonoTorrent/bin/Debug/MonoTorrent.dll
-@ENABLE_RELEASE_ANY_CPU_TRUE@MONOTORRENT_DLL_SOURCE = ../MonoTorrent/bin/Release/MonoTorrent.dll
-AL = al2
-SATELLITE_ASSEMBLY_NAME = TrackerApp.resources.dll
-PROGRAMFILES = \
- $(MONOTORRENT_DLL_MDB) \
- $(MONOTORRENT_DLL)
-
-BINARIES = \
- $(TRACKERAPP)
-
-RESGEN = resgen2
-FILES = \
- AssemblyInfo.cs \
- Main.cs \
- StressTest.cs
-
-DATA_FILES =
-RESOURCES =
-EXTRAS = \
- trackerapp.in
-
-REFERENCES = \
- System \
- System.Web \
- System.Xml
-
-DLL_REFERENCES =
-CLEANFILES = $(PROGRAMFILES) $(BINARIES) $(ASSEMBLY) $(ASSEMBLY).mdb \
- $(BINARIES) $(build_resx_resources) \
- $(build_satellite_assembly_list)
-VALID_CULTURES = ar bg ca zh-CHS cs da de el en es fi fr he hu is it ja ko nl no pl pt ro ru hr sk sq sv th tr id uk be sl et lv lt fa vi hy eu mk af fo hi sw gu ta te kn mr gl kok ar-SA bg-BG ca-ES zh-TW cs-CZ da-DK de-DE el-GR en-US fi-FI fr-FR he-IL hu-HU is-IS it-IT ja-JP ko-KR nl-NL nb-NO pl-PL pt-BR ro-RO ru-RU hr-HR sk-SK sq-AL sv-SE th-TH tr-TR id-ID uk-UA be-BY sl-SI et-EE lv-LV lt-LT fa-IR vi-VN hy-AM eu-ES mk-MK af-ZA fo-FO hi-IN sw-KE gu-IN ta-IN te-IN kn-IN mr-IN gl-ES kok-IN ar-IQ zh-CN de-CH en-GB es-MX fr-BE it-CH nl-BE nn-NO pt-PT sv-FI ar-EG zh-HK de-AT en-AU es-ES fr-CA ar-LY zh-SG de-LU en-CA es-GT fr-CH ar-DZ zh-MO en-NZ es-CR fr-LU ar-MA en-IE es-PA ar-TN en-ZA es-DO ar-OM es-VE ar-YE es-CO ar-SY es-PE ar-JO es-AR ar-LB en-ZW es-EC ar-KW en-PH es-CL ar-AE es-UY ar-BH es-PY ar-QA es-BO es-SV es-HN es-NI es-PR zh-CHT
-s2q = $(subst \ ,?,$1)
-q2s = $(subst ?,\ ,$1)
-# use this when result will be quoted
-unesc2 = $(subst ?, ,$1)
-build_sources = $(FILES) $(GENERATED_FILES)
-build_sources_esc = $(call s2q,$(build_sources))
-# use unesc2, as build_sources_embed is quoted
-build_sources_embed = $(call unesc2,$(build_sources_esc:%='$(srcdir)/%'))
-comma__ = ,
-get_resource_name = $(firstword $(subst $(comma__), ,$1))
-get_culture = $(lastword $(subst ., ,$(basename $1)))
-is_cultured_resource = $(and $(word 3,$(subst ., ,$1)), $(filter $(VALID_CULTURES),$(lastword $(subst ., ,$(basename $1)))))
-RESOURCES_ESC = $(call s2q,$(RESOURCES))
-build_resx_list = $(foreach res, $(RESOURCES_ESC), $(if $(filter %.resx, $(call get_resource_name,$(res))),$(res),))
-build_non_culture_resx_list = $(foreach res, $(build_resx_list),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res)))
-build_non_culture_others_list = $(foreach res, $(filter-out $(build_resx_list),$(RESOURCES_ESC)),$(if $(call is_cultured_resource,$(call get_resource_name,$(res))),,$(res)))
-build_others_list = $(build_non_culture_others_list)
-build_xamlg_list = $(filter %.xaml.g.cs, $(FILES))
-
-# resgen all .resx resources
-build_resx_files = $(foreach res, $(build_resx_list), $(call get_resource_name,$(res)))
-build_resx_resources_esc = $(build_resx_files:.resx=.resources)
-build_resx_resources = $(call q2s,$(build_resx_resources_esc))
-
-# embed resources for the main assembly
-build_resx_resources_hack = $(subst .resx,.resources, $(build_non_culture_resx_list))
-# use unesc2, as build_resx_resources_embed is quoted
-build_resx_resources_embed = $(call unesc2,$(build_resx_resources_hack:%='-resource:%'))
-build_others_files = $(call q2s,$(foreach res, $(build_others_list),$(call get_resource_name,$(res))))
-build_others_resources = $(build_others_files)
-# use unesc2, as build_others_resources_embed is quoted
-build_others_resources_embed = $(call unesc2,$(build_others_list:%='-resource:$(srcdir)/%'))
-build_resources = $(build_resx_resources) $(build_others_resources)
-build_resources_embed = $(build_resx_resources_embed) $(build_others_resources_embed)
-
-# -usesourcepath is available only for resgen2
-emit_resgen_target_1 = $(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); cd '$$(shell dirname '$$<')' && $$(RESGEN) '$$(shell basename '$$<')' '$$(shell basename '$$@')'
-emit_resgen_target_2 = $(call q2s,$1) : $(call q2s,$(subst .resources,.resx,$1)); $$(RESGEN) -usesourcepath '$$<' '$$@'
-emit_resgen_target = $(if $(filter resgen2,$(RESGEN)),$(emit_resgen_target_2),$(emit_resgen_target_1))
-emit_resgen_targets = $(foreach res,$(build_resx_resources_esc),$(eval $(call emit_resgen_target,$(res))))
-build_references_ref = $(call q2s,$(foreach ref, $(call \
- s2q,$(REFERENCES)), $(if $(filter -pkg:%, $(ref)), $(ref), \
- $(if $(filter -r:%, $(ref)), $(ref), -r:$(ref))))) $(call \
- q2s,$(foreach ref, $(call s2q,$(DLL_REFERENCES)), -r:$(ref))) \
- $(call q2s,$(foreach ref, $(call s2q,$(PROJECT_REFERENCES)), \
- -r:$(ref)))
-s2q2s = $(call unesc2,$(call s2q,$1))
-cp_actual = test -z $1 || cp $1 $2
-cp = $(call cp_actual,'$(call s2q2s,$1)','$(call s2q2s,$2)')
-rm_actual = test -z '$1' || rm -f '$2'
-rm = $(call rm_actual,$(call s2q2s,$1),$(call s2q2s,$2)/$(shell basename '$(call s2q2s,$1)'))
-DISTCLEANFILES = $(GENERATED_FILES) $(pc_files) $(BUILD_DIR)/*
-pkglib_SCRIPTS = $(ASSEMBLY)
-bin_SCRIPTS = $(BINARIES)
-programfilesdir = @libdir@/@PACKAGE@
-programfiles_DATA = $(PROGRAMFILES)
-linuxpkgconfigdir = @libdir@/pkgconfig
-linuxpkgconfig_DATA = $(LINUX_PKGCONFIG)
-
-# generating satellite assemblies
-culture_resources = $(foreach res, $(RESOURCES_ESC), $(if $(call is_cultured_resource,$(call get_resource_name, $(res))),$(res)))
-cultures = $(sort $(foreach res, $(culture_resources), $(call get_culture,$(call get_resource_name,$(res)))))
-culture_resource_dependencies = $(call q2s,$(BUILD_DIR)/$1/$(SATELLITE_ASSEMBLY_NAME): $(subst .resx,.resources,$2))
-culture_resource_commandlines = $(call unesc2,cmd_line_satellite_$1 += '/embed:$(subst .resx,.resources,$2)')
-build_satellite_assembly_list = $(call q2s,$(cultures:%=$(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME)))
-build_culture_res_files = $(call q2s,$(foreach res, $(culture_resources),$(call get_resource_name,$(res))))
-TRACKERAPP = $(BUILD_DIR)/trackerapp
-MONOTORRENT_DLL = $(BUILD_DIR)/MonoTorrent.dll
-all: all-am
-
-.SUFFIXES:
-$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.include $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign TrackerApp/Makefile'; \
- cd $(top_srcdir) && \
- $(AUTOMAKE) --foreign TrackerApp/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
- esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure: $(am__configure_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-trackerapp: $(top_builddir)/config.status $(srcdir)/trackerapp.in
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
-install-binSCRIPTS: $(bin_SCRIPTS)
- @$(NORMAL_INSTALL)
- test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
- @list='$(bin_SCRIPTS)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- if test -f $$d$$p; then \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
- $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
- else :; fi; \
- done
-
-uninstall-binSCRIPTS:
- @$(NORMAL_UNINSTALL)
- @list='$(bin_SCRIPTS)'; for p in $$list; do \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
- rm -f "$(DESTDIR)$(bindir)/$$f"; \
- done
-install-pkglibSCRIPTS: $(pkglib_SCRIPTS)
- @$(NORMAL_INSTALL)
- test -z "$(pkglibdir)" || $(MKDIR_P) "$(DESTDIR)$(pkglibdir)"
- @list='$(pkglib_SCRIPTS)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- if test -f $$d$$p; then \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- echo " $(pkglibSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(pkglibdir)/$$f'"; \
- $(pkglibSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(pkglibdir)/$$f"; \
- else :; fi; \
- done
-
-uninstall-pkglibSCRIPTS:
- @$(NORMAL_UNINSTALL)
- @list='$(pkglib_SCRIPTS)'; for p in $$list; do \
- f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
- echo " rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \
- rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \
- done
-install-linuxpkgconfigDATA: $(linuxpkgconfig_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(linuxpkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(linuxpkgconfigdir)"
- @list='$(linuxpkgconfig_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
- echo " $(linuxpkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(linuxpkgconfigdir)/$$f'"; \
- $(linuxpkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(linuxpkgconfigdir)/$$f"; \
- done
-
-uninstall-linuxpkgconfigDATA:
- @$(NORMAL_UNINSTALL)
- @list='$(linuxpkgconfig_DATA)'; for p in $$list; do \
- f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(linuxpkgconfigdir)/$$f'"; \
- rm -f "$(DESTDIR)$(linuxpkgconfigdir)/$$f"; \
- done
-install-programfilesDATA: $(programfiles_DATA)
- @$(NORMAL_INSTALL)
- test -z "$(programfilesdir)" || $(MKDIR_P) "$(DESTDIR)$(programfilesdir)"
- @list='$(programfiles_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
- echo " $(programfilesDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(programfilesdir)/$$f'"; \
- $(programfilesDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(programfilesdir)/$$f"; \
- done
-
-uninstall-programfilesDATA:
- @$(NORMAL_UNINSTALL)
- @list='$(programfiles_DATA)'; for p in $$list; do \
- f=$(am__strip_dir) \
- echo " rm -f '$(DESTDIR)$(programfilesdir)/$$f'"; \
- rm -f "$(DESTDIR)$(programfilesdir)/$$f"; \
- done
-tags: TAGS
-TAGS:
-
-ctags: CTAGS
-CTAGS:
-
-
-distdir: $(DISTFILES)
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
- fi; \
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
- else \
- test -f $(distdir)/$$file \
- || cp -p $$d/$$file $(distdir)/$$file \
- || exit 1; \
- fi; \
- done
-check-am: all-am
-check: check-am
-all-am: Makefile $(SCRIPTS) $(DATA)
-installdirs:
- for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(linuxpkgconfigdir)" "$(DESTDIR)$(programfilesdir)"; do \
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- `test -z '$(STRIP)' || \
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
- -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic mostlyclean-am
-
-distclean: distclean-am
- -rm -f Makefile
-distclean-am: clean-am distclean-generic
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am: install-linuxpkgconfigDATA install-programfilesDATA
-
-install-dvi: install-dvi-am
-
-install-exec-am: install-binSCRIPTS install-pkglibSCRIPTS
-
-install-html: install-html-am
-
-install-info: install-info-am
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-ps: install-ps-am
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-generic
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-binSCRIPTS uninstall-linuxpkgconfigDATA \
- uninstall-pkglibSCRIPTS uninstall-programfilesDATA
-
-.MAKE: install-am install-strip
-
-.PHONY: all all-am check check-am clean clean-generic distclean \
- distclean-generic distdir dvi dvi-am html html-am info info-am \
- install install-am install-binSCRIPTS install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-linuxpkgconfigDATA install-man \
- install-pdf install-pdf-am install-pkglibSCRIPTS \
- install-programfilesDATA install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \
- uninstall-binSCRIPTS uninstall-linuxpkgconfigDATA \
- uninstall-pkglibSCRIPTS uninstall-programfilesDATA
-
-
-all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES)
-
-# macros
-
-# $(call emit-deploy-target,deploy-variable-name)
-define emit-deploy-target
-$($1): $($1_SOURCE)
- mkdir -p '$$(shell dirname '$$@')'
- cp '$$<' '$$@'
-endef
-
-# $(call emit-deploy-wrapper,wrapper-variable-name,wrapper-sourcefile,x)
-# assumes that for a wrapper foo.pc its source template is foo.pc.in
-# if $3 is non-empty then wrapper is marked exec
-define emit-deploy-wrapper
-$($1): $2
- mkdir -p '$$(shell dirname '$$@')'
- cp '$$<' '$$@'
- $(if $3,chmod +x '$$@')
-
-endef
-
-$(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_dependencies,$(call get_culture,$(call get_resource_name,$(res))),$(call get_resource_name,$(res))))))
-$(eval $(foreach res, $(culture_resources), $(eval $(call culture_resource_commandlines,$(call get_culture,$(call get_resource_name,$(res))),$(res)))))
-
-$(build_satellite_assembly_list): $(BUILD_DIR)/%/$(SATELLITE_ASSEMBLY_NAME):
- mkdir -p '$(@D)'
- $(AL) -out:'$@' -culture:$* -t:lib $(cmd_line_satellite_$*)
-
-$(eval $(call emit-deploy-wrapper,TRACKERAPP,trackerapp,x))
-$(eval $(call emit-deploy-target,MONOTORRENT_DLL_MDB))
-$(eval $(call emit-deploy-target,MONOTORRENT_DLL))
-
-$(eval $(call emit_resgen_targets))
-$(build_xamlg_list): %.xaml.g.cs: %.xaml
- xamlg '$<'
-
-$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
- mkdir -p $(shell dirname $(ASSEMBLY))
- $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
View
10 src/TrackerApp/TrackerApp.csproj
@@ -50,12 +50,10 @@
<DebugSymbols>true</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
+ <OutputPath>..\..\build\Tracker\Debug\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
- <OutputType>Exe</OutputType>
- <RootNamespace>TrackerApp</RootNamespace>
<DebugType>full</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
@@ -67,17 +65,15 @@
</DocumentationFile>
<FileAlignment>4096</FileAlignment>
<Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
+ <OutputPath>..\..\build\Tracker\Release\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<WarningLevel>4</WarningLevel>
- <OutputType>Exe</OutputType>
- <RootNamespace>TrackerApp</RootNamespace>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Stats|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
- <OutputPath>bin\Stats\</OutputPath>
+ <OutputPath>..\..\build\Tracker\Stats\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<BaseAddress>285212672</BaseAddress>
<DebugType>full</DebugType>
View
BIN  src/TrackerApp/TrackerTest.pidb
Binary file not shown
View
83 src/autogen.sh
@@ -1,83 +0,0 @@
-#! /bin/sh
-
-PROJECT=MonoTorrent
-FILE=
-CONFIGURE=configure.ac
-
-: ${AUTOCONF=autoconf}
-: ${AUTOHEADER=autoheader}
-: ${AUTOMAKE=automake}
-: ${LIBTOOLIZE=libtoolize}
-: ${ACLOCAL=aclocal}
-: ${LIBTOOL=libtool}
-
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-ORIGDIR=`pwd`
-cd $srcdir
-TEST_TYPE=-f
-aclocalinclude="-I . $ACLOCAL_FLAGS"
-
-DIE=0
-
-($AUTOCONF --version) < /dev/null > /dev/null 2>&1 || {
- echo
- echo "You must have autoconf installed to compile $PROJECT."
- echo "Download the appropriate package for your distribution,"
- echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
- DIE=1
-}
-
-($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
- echo
- echo "You must have automake installed to compile $PROJECT."
- echo "Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz"
- echo "(or a newer version if it is available)"
- DIE=1
-}
-
-(grep "^AM_PROG_LIBTOOL" $CONFIGURE >/dev/null) && {
- ($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
- echo
- echo "**Error**: You must have \`libtool' installed to compile $PROJECT."
- echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
- echo "(or a newer version if it is available)"
- DIE=1
- }
-}
-
-if test "$DIE" -eq 1; then
- exit 1
-fi
-
-#test $TEST_TYPE $FILE || {
-# echo "You must run this script in the top-level $PROJECT directory"
-# exit 1
-#}
-
-if test -z "$*"; then
- echo "I am going to run ./configure with no arguments - if you wish "
- echo "to pass any to it, please specify them on the $0 command line."
-fi
-
-case $CC in
-*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
-esac
-
-(grep "^AM_PROG_LIBTOOL" $CONFIGURE >/dev/null) && {
- echo "Running $LIBTOOLIZE ..."
- $LIBTOOLIZE --force --copy
-}
-
-echo "Running $ACLOCAL $aclocalinclude ..."
-$ACLOCAL $aclocalinclude
-
-echo "Running $AUTOMAKE --gnu $am_opt ..."
-$AUTOMAKE --add-missing --gnu $am_opt
-
-echo "Running $AUTOCONF ..."
-$AUTOCONF
-
-echo Running $srcdir/configure $conf_flags "$@" ...
-$srcdir/configure --enable-maintainer-mode $conf_flags "$@" \
View
63 src/configure.ac
@@ -1,63 +0,0 @@
-dnl Warning: This is an automatically generated file, do not edit!
-dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ([2.54])
-AC_INIT([MonoTorrent], [0.90])
-AM_INIT_AUTOMAKE([foreign tar-pax])
-AM_MAINTAINER_MODE
-
-dnl pkg-config
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
-if test "x$PKG_CONFIG" = "xno"; then
- AC_MSG_ERROR([You need to install pkg-config])
-fi
-
-SHAMROCK_EXPAND_LIBDIR
-SHAMROCK_EXPAND_BINDIR
-SHAMROCK_EXPAND_DATADIR
-
-AC_PROG_INSTALL
-
-AC_PATH_PROG(GMCS, gmcs, no)
-if test "x$GMCS" = "xno"; then
- AC_MSG_ERROR([gmcs Not found])
-fi
-
-
-AC_ARG_ENABLE(debug,
- AC_HELP_STRING([--enable-debug],
- [Use 'DEBUG' Configuration [default=NO]]),
- enable_debug=yes, enable_debug=no)
-AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes)
-if test "x$enable_debug" = "xyes" ; then
- CONFIG_REQUESTED="yes"
-fi
-AC_ARG_ENABLE(release,
- AC_HELP_STRING([--enable-release],
- [Use 'RELEASE' Configuration [default=YES]]),
- enable_release=yes, enable_release=no)
-AM_CONDITIONAL(ENABLE_RELEASE, test x$enable_release = xyes)
-if test "x$enable_release" = "xyes" ; then
- CONFIG_REQUESTED="yes"
-fi
-if test -z "$CONFIG_REQUESTED" ; then
- AM_CONDITIONAL(ENABLE_RELEASE, true)
- enable_release=yes
-fi
-
-
-dnl package checks, common for all configs
-
-dnl package checks, per config
-
-
-AC_CONFIG_FILES([
-MonoTorrent/AssemblyInfo.cs
-MonoTorrent/monotorrent.pc
-MonoTorrent/Makefile
-MonoTorrent.Dht/monotorrent.dht.pc
-MonoTorrent.Dht/Makefile
-Makefile
-
-])
-
-AC_OUTPUT
View
50 src/expansions.m4
@@ -1,50 +0,0 @@
-AC_DEFUN([SHAMROCK_EXPAND_LIBDIR],
-[
- expanded_libdir=`(
- case $prefix in
- NONE) prefix=$ac_default_prefix ;;
- *) ;;
- esac
- case $exec_prefix in
- NONE) exec_prefix=$prefix ;;
- *) ;;
- esac
- eval echo $libdir
- )`
- AC_SUBST(expanded_libdir)
-])
-
-AC_DEFUN([SHAMROCK_EXPAND_BINDIR],
-[
- expanded_bindir=`(
- case $prefix in
- NONE) prefix=$ac_default_prefix ;;
- *) ;;
- esac
- case $exec_prefix in
- NONE) exec_prefix=$prefix ;;
- *) ;;
- esac
- eval echo $bindir
- )`
- AC_SUBST(expanded_bindir)
-])
-
-AC_DEFUN([SHAMROCK_EXPAND_DATADIR],
-[
- case $prefix in
- NONE) prefix=$ac_default_prefix ;;
- *) ;;
- esac
-
- case $exec_prefix in
- NONE) exec_prefix=$prefix ;;
- *) ;;
- esac
-
- expanded_datadir=`(eval echo $datadir)`
- expanded_datadir=`(eval echo $expanded_datadir)`
-
- AC_SUBST(expanded_datadir)
-])
-
View
21 src/rules.make
@@ -1,21 +0,0 @@
-CSC=gmcs
-TARGET=-target:library
-rootdir=$(EXTRADIR)..
-bindir=$(rootdir)/bin
-include $(rootdir)/config.make
-
-$(OUT): $(SOURCES)
- mkdir -p $(bindir)
- $(CSC) $(REFERENCES) $(RESOURCES_B) $(TARGET) $(PKGS) -d:DEBUG -out:$(OUT) $(SOURCES)
-
-all: $(OUT)
-
-clean:
- -rm $(OUT)
-
-install:
- cp $(OUT) $(prefix)/lib/monotorrent
-
-distlocal:
- cp Makefile $(EXTRA_DIST) $(DESTDIR)
- for f in $(SOURCES); do d=`dirname $$f`; mkdir -p $(DESTDIR)/$$d || true; cp $$f $(DESTDIR)/$$d; done
Please sign in to comment.
Something went wrong with that request. Please try again.