Author: miguel
Date: 2007-03-22 15:22:17 -0500 (Thu, 22 Mar 2007)
New Revision: 74837

Modified:
   trunk/bitsharp/src/MonoTorrent.BEncoding/Makefile
   trunk/bitsharp/src/MonoTorrent.Client/Makefile
   trunk/bitsharp/src/MonoTorrent.Common/Makefile
   trunk/bitsharp/src/MonoTorrent.Interface/src/Makefile
   trunk/bitsharp/src/MonoTorrent.Tracker/Makefile
   trunk/bitsharp/src/MonoTorrent.TrackerApp/Makefile
Log:
Make this build

Modified: trunk/bitsharp/src/MonoTorrent.BEncoding/Makefile
===================================================================
--- trunk/bitsharp/src/MonoTorrent.BEncoding/Makefile   2007-03-22 20:10:58 UTC 
(rev 74836)
+++ trunk/bitsharp/src/MonoTorrent.BEncoding/Makefile   2007-03-22 20:22:17 UTC 
(rev 74837)
@@ -1,6 +1,6 @@
 CSC=gmcs 
 OUT=../bin/MonoTorrent.BEncoding.dll
-REFERENCES=System
+REFERENCES=-r:System
 SOURCES=AssemblyInfo.cs \
        BEncode.cs \
        BEncodedDictionary.cs \
@@ -10,9 +10,7 @@
        BEncodingException.cs \
        IBEncodedValue.cs
 
+all: $(OUT)
 
-all: bencoding
+include ../rules.make
 
-bencoding: $(SOURCES)
-       mkdir -p ../bin
-       $(CSC) -r:$(REFERENCES) -target:library -d:DEBUG -out:$(OUT) $(SOURCES)

Modified: trunk/bitsharp/src/MonoTorrent.Client/Makefile
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Client/Makefile      2007-03-22 20:10:58 UTC 
(rev 74836)
+++ trunk/bitsharp/src/MonoTorrent.Client/Makefile      2007-03-22 20:22:17 UTC 
(rev 74837)
@@ -1,8 +1,10 @@
-CSC=gmcs 
-
 OUT=../bin/MonoTorrent.Client.dll
 
-REFERENCES=../bin/MonoTorrent.Common.dll,System.Web,Mono.Security.dll,../bin/MonoTorrent.BEncoding.dll,../Libs/Upnp.dll
+REFERENCES=    \
+       -r:../bin/MonoTorrent.Common.dll        \
+       -r:System.Web,Mono.Security.dll         \
+       -r:../bin/MonoTorrent.BEncoding.dll     \
+       -r:../Libs/Upnp.dll
 
 SOURCES=BitField.cs \
        Block.cs \
@@ -87,9 +89,4 @@
 
 all: $(OUT)
 
-$(OUT): $(SOURCES)
-       mkdir -p ../bin
-       $(CSC) -r:$(REFERENCES) -target:library -d:DEBUG -out:$(OUT) $(SOURCES)
-
-clean:
-       -rm $(OUT)
\ No newline at end of file
+include ../rules.make
\ No newline at end of file

Modified: trunk/bitsharp/src/MonoTorrent.Common/Makefile
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Common/Makefile      2007-03-22 20:10:58 UTC 
(rev 74836)
+++ trunk/bitsharp/src/MonoTorrent.Common/Makefile      2007-03-22 20:22:17 UTC 
(rev 74837)
@@ -1,6 +1,5 @@
-CSC=gmcs 
 OUT=../bin/MonoTorrent.Common.dll
-REFERENCES=../bin/MonoTorrent.BEncoding.dll
+REFERENCES=-r:../bin/MonoTorrent.BEncoding.dll
 SOURCES=Enums.cs \
        Hashes.cs \
        Peer.cs \
@@ -25,7 +24,4 @@
 
 all: $(OUT)
 
-$(OUT): $(SOURCES)
-       mkdir -p ../bin
-       $(CSC) $(SOURCES) -target:library -d:DEBUG -out:$(OUT) -r:$(REFERENCES)
-
+include ../rules.make
\ No newline at end of file

Modified: trunk/bitsharp/src/MonoTorrent.Interface/src/Makefile
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Interface/src/Makefile       2007-03-22 
20:10:58 UTC (rev 74836)
+++ trunk/bitsharp/src/MonoTorrent.Interface/src/Makefile       2007-03-22 
20:22:17 UTC (rev 74837)
@@ -1,4 +1,5 @@
-CSC=gmcs
+TARGET=-target:winexe
+EXTRADIR=../
 OUT=../../bin/MonoTorrent.Interface.exe
 SOURCES=MonoTorrent.Interface/Program.cs \
        MonoTorrent.Interface/PathConstants.cs \
@@ -29,20 +30,19 @@
        MonoTorrent.Interface/Settings/BEncodedSettingsStorage.cs \
        AssemblyInfo.cs
 
-REFERENCES=../../bin/MonoTorrent.Client.dll \
-       ../../bin/MonoTorrent.Common.dll \
+PKGS=-pkg:gtk-sharp-2.0 -pkg:gconf-sharp-2.0
 
+REFERENCES=\
+       -r:../../bin/MonoTorrent.Client.dll \
+       -r:../../bin/MonoTorrent.Common.dll \
+       -r:../../bin/MonoTorrent.BEncoding.dll \
+       -r:Mono.Posix
+
 RESOURCES=../res/ui.xml \
        ../COPYING
 
-REFERENCES_B=$(addprefix -reference:, $(REFERENCES))
 RESOURCE_B=$(addprefix -resource:, $(RESOURCES))
 
 all: $(OUT)
 
-$(OUT): $(SOURCES)
-       mkdir -p ../bin
-       $(CSC) $(SOURCES) $(RESOURCE_B) -r:Mono.Posix $(REFERENCES_B) 
-pkg:gtk-sharp-2.0 -pkg:gconf-sharp-2.0 -target:winexe -d:DEBUG -out:$(OUT)
-
-clean: 
-       rm $(OUT)
+include ../../rules.make

Modified: trunk/bitsharp/src/MonoTorrent.Tracker/Makefile
===================================================================
--- trunk/bitsharp/src/MonoTorrent.Tracker/Makefile     2007-03-22 20:10:58 UTC 
(rev 74836)
+++ trunk/bitsharp/src/MonoTorrent.Tracker/Makefile     2007-03-22 20:22:17 UTC 
(rev 74837)
@@ -1,6 +1,9 @@
-CSC=gmcs 
 OUT=../bin/MonoTorrent.Tracker.dll
-REFERENCES=../bin/MonoTorrent.Common.dll,System.Web,../bin/MonoTorrent.BEncoding.dll
+REFERENCES=    \
+       -r:../bin/MonoTorrent.Common.dll        \
+       -r:System.Web                           \
+       -r:../bin/MonoTorrent.BEncoding.dll
+
 SOURCES=Frontend/AnnounceHandler.cs \
        Frontend/AnnounceParameterParser.cs \
        Frontend/AnnounceParameters.cs \
@@ -22,6 +25,4 @@
 
 all: $(OUT)
 
-$(OUT): $(SOURCES)
-       mkdir -p ../bin
-       $(CSC) $(SOURCES) -target:library -out:$(OUT) -r:$(REFERENCES)
+include ../rules.make
\ No newline at end of file

Modified: trunk/bitsharp/src/MonoTorrent.TrackerApp/Makefile
===================================================================
--- trunk/bitsharp/src/MonoTorrent.TrackerApp/Makefile  2007-03-22 20:10:58 UTC 
(rev 74836)
+++ trunk/bitsharp/src/MonoTorrent.TrackerApp/Makefile  2007-03-22 20:22:17 UTC 
(rev 74837)
@@ -1,10 +1,11 @@
-CSC=gmcs 
 OUT=../TrackerApp.exe
-REFERENCES=../bin/MonoTorrent.Common.dll,../bin/MonoTorrent.Tracker.dll
+TARGET=-target:exe
+REFERENCES=    \
+       -r:../bin/MonoTorrent.Common.dll        \
+       -r:../bin/MonoTorrent.Tracker.dll
+
 SOURCES=Main.cs AssemblyInfo.cs
 
-all: trackerapp
+all: $(OUT)
 
-trackerapp: $(SOURCES)
-       mkdir -p ../bin
-       $(CSC) $(SOURCES) -target:exe -out:$(OUT) -r:$(REFERENCES)
+include ../rules.make
\ No newline at end of file

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to