Author: miguel
Date: 2007-03-22 15:26:56 -0500 (Thu, 22 Mar 2007)
New Revision: 74838

Added:
   trunk/bitsharp/src/configure
   trunk/bitsharp/src/rules.make
Log:
Add missing files

Added: trunk/bitsharp/src/configure
===================================================================
--- trunk/bitsharp/src/configure        2007-03-22 20:22:17 UTC (rev 74837)
+++ trunk/bitsharp/src/configure        2007-03-22 20:26:56 UTC (rev 74838)
@@ -0,0 +1,19 @@
+#!/bin/sh
+VERSION=0.1
+prefix=/usr/local
+while test x$1 != x; do
+        case $1 in
+                --prefix=*)
+                        prefix=`echo $1 | sed 's/--prefix=//'`
+                        ;;
+                --prefix)
+                        echo --prefix needs an argument: --prefix=directory >&2
+                        ;;
+                *)
+                        echo Unknown argument $1 >&2
+        esac
+        shift
+done
+
+echo "prefix=$prefix" > config.make
+echo "RUNTIME=mono" >> config.make


Property changes on: trunk/bitsharp/src/configure
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/bitsharp/src/rules.make
===================================================================
--- trunk/bitsharp/src/rules.make       2007-03-22 20:22:17 UTC (rev 74837)
+++ trunk/bitsharp/src/rules.make       2007-03-22 20:26:56 UTC (rev 74838)
@@ -0,0 +1,20 @@
+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: 
+       mkdir $(prefix)/lib/bitsharp
+       mkdir $(prefix)/bin
+       cp $(OUT) $(prefix)/lib/bitsharp
+       
\ No newline at end of file

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

Reply via email to