diff options
author | Atsushi Eno <atsushieno@veritas-vos-liberabit.com> | 2013-04-08 12:33:17 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@veritas-vos-liberabit.com> | 2013-04-08 12:33:17 +0400 |
commit | 162539cf4b8464e64aabfea877dda77f5cc2faea (patch) | |
tree | b558774d0ae01427e279b2039bc367e7b2136c44 | |
parent | 9b8e5c360681b25a2bdc6bb89980388b91ec1668 (diff) |
added Makefile for building and packaging everything.
Also remove prebuilt dlls now that mcs doesn't generate broken dlls and
we don't have to resort to csc anymore.
-rwxr-xr-x | Rx/NET/Source/Rx_Xamarin/android/libs/Mono.Reactive.Testing.dll | bin | 19456 -> 0 bytes | |||
-rwxr-xr-x | Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Core.dll | bin | 97280 -> 0 bytes | |||
-rwxr-xr-x | Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Debugger.dll | bin | 5632 -> 0 bytes | |||
-rwxr-xr-x | Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Experimental.dll | bin | 30208 -> 0 bytes | |||
-rwxr-xr-x | Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Interfaces.dll | bin | 8192 -> 0 bytes | |||
-rwxr-xr-x | Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Linq.dll | bin | 732160 -> 0 bytes | |||
-rwxr-xr-x | Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.PlatformServices.dll | bin | 23552 -> 0 bytes | |||
-rwxr-xr-x | Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Providers.dll | bin | 261120 -> 0 bytes | |||
-rwxr-xr-x | Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Runtime.Remoting.dll | bin | 5120 -> 0 bytes | |||
-rw-r--r-- | xpkg/Makefile | 53 | ||||
-rw-r--r-- | xpkg/README | 7 |
11 files changed, 57 insertions, 3 deletions
diff --git a/Rx/NET/Source/Rx_Xamarin/android/libs/Mono.Reactive.Testing.dll b/Rx/NET/Source/Rx_Xamarin/android/libs/Mono.Reactive.Testing.dll Binary files differdeleted file mode 100755 index 4571647..0000000 --- a/Rx/NET/Source/Rx_Xamarin/android/libs/Mono.Reactive.Testing.dll +++ /dev/null diff --git a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Core.dll b/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Core.dll Binary files differdeleted file mode 100755 index ac31f1f..0000000 --- a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Core.dll +++ /dev/null diff --git a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Debugger.dll b/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Debugger.dll Binary files differdeleted file mode 100755 index 3fcaa87..0000000 --- a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Debugger.dll +++ /dev/null diff --git a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Experimental.dll b/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Experimental.dll Binary files differdeleted file mode 100755 index 5f05cf5..0000000 --- a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Experimental.dll +++ /dev/null diff --git a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Interfaces.dll b/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Interfaces.dll Binary files differdeleted file mode 100755 index b08589d..0000000 --- a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Interfaces.dll +++ /dev/null diff --git a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Linq.dll b/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Linq.dll Binary files differdeleted file mode 100755 index dc1e421..0000000 --- a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Linq.dll +++ /dev/null diff --git a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.PlatformServices.dll b/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.PlatformServices.dll Binary files differdeleted file mode 100755 index 82c5df7..0000000 --- a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.PlatformServices.dll +++ /dev/null diff --git a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Providers.dll b/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Providers.dll Binary files differdeleted file mode 100755 index b96f77a..0000000 --- a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Providers.dll +++ /dev/null diff --git a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Runtime.Remoting.dll b/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Runtime.Remoting.dll Binary files differdeleted file mode 100755 index e38a83e..0000000 --- a/Rx/NET/Source/Rx_Xamarin/android/libs/System.Reactive.Runtime.Remoting.dll +++ /dev/null diff --git a/xpkg/Makefile b/xpkg/Makefile new file mode 100644 index 0000000..44bde20 --- /dev/null +++ b/xpkg/Makefile @@ -0,0 +1,53 @@ + +all: package + +clean: android_clean iOS_clean + +.PHONY: android android_build android_copy android_sign +android: Rx_Xamarin android_build android_copy #android_sign + +android_build: + xbuild Rx_Xamarin/Rx_Xamarin_android.sln /p:AssemblyOriginatorKeyFile=$(KEYFILE_SNK) /p:DelaySign=false + +android_copy: + for proj in Interfaces Core Linq PlatformServices Debugger Providers Runtime.Remoting Experimental ; \ + do \ + cp Rx_Xamarin/android/rx/System.Reactive.$$proj/bin/Debug/System.Reactive.$$proj.dll Rx_Xamarin/android/libs ; \ + done + +android_sign: + for proj in Interfaces Core Linq PlatformServices Debugger Providers Runtime.Remoting Experimental ; \ + do \ + sn -R Rx_Xamarin/android/libs/System.Reactive.$$proj.dll $(KEYFILE_SNK) ; \ + done + +.PHONY: iOS iOS_build iOS_copy iOS_sign +iOS: Rx_Xamarin iOS_build iOS_sign #iOS_sign + +iOS_build: + xbuild Rx_Xamarin/Rx_Xamarin_iOS.sln + +iOS_copy: + for $$proj in Interfaces Core Linq PlatformServices Debugger Experimental \ + do \ + cp Rx_Xamarin/iOS/rx/System.Reactive.$(proj)/bin/Debug/System.Reactive.$(proj).dll Rx_Xamarin/iOS/libs \ + done + +iOS_sign: + for $$proj in Interfaces Core Linq PlatformServices Debugger Experimental \ + do \ + sn -R Rx_Xamarin/iOS/libs/System.Reactive.$(proj).dll $(KEYFILE_SNNK) \ + done + +package: android iOS + ./build-package.sh + +Rx_Xamarin: + ln -s ../Rx/NET/Source/Rx_Xamarin Rx_Xamarin + +android_clean: Rx_Xamarin + xbuild Rx_Xamarin/Rx_Xamarin_android.sln /t:Clean + +iOS_clean: Rx_Xamarin + xbuild Rx_Xamarin/Rx_Xamarin_iOS.sln /t:Clean + diff --git a/xpkg/README b/xpkg/README index 8a9f7ff..6be542f 100644 --- a/xpkg/README +++ b/xpkg/README @@ -1,6 +1,7 @@ -run: +You need to prepare signing key file (sln) to sign those assemblies. Xamarin packages should be signed with its own key. - ln -s ../Rx/NET/Source/Rx_Xamarin Rx_Xamarin - ./build-package.sh +To build *signed* assemblies, you need to run: make KEYFILE_SNK=/path/to/yourkey.snk + +If you don't need any signing, simply build Rx_Xamarin/android/Rx_Xamarin_android.sln. |