]> rtime.felk.cvut.cz Git - orte.git/commitdiff
Add checks for omk builds
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 28 Oct 2013 20:58:58 +0000 (21:58 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 28 Oct 2013 20:58:58 +0000 (21:58 +0100)
Makefile.git

index 547e3026693cb91a1ae81cf19a707f56d8fce7e2..2a3607b8e6a851a09bedeb35c2eae4dff2b75962 100644 (file)
@@ -19,7 +19,7 @@ CONFIGURE_FLAGS = --enable-orte-idl
 configure: git
 
 check: configure
-       $(MAKE) -f Makefile.git check-windows check-autotools check-java check-android
+       $(MAKE) -f Makefile.git check-omk check-autotools check-windows check-windows-omk check-java check-android
 
 check-%:
        rm -rf _$@
@@ -34,6 +34,18 @@ check-windows.real:
        make install DESTDIR=$(CURDIR)/_install
        test -f _install/bin/liborte-*.dll
 
+check-windows-omk.real:
+       echo "TARGET_OS=win32" > config.omk
+       echo "CC=i686-w64-mingw32-gcc" >> config.omk
+       echo "CXX=i686-w64-mingw32-g++" >> config.omk
+       echo "AR=i686-w64-mingw32-ar" >> config.omk
+       echo "LD=i686-w64-mingw32-ld" >> config.omk
+       ln -s ../orte ../Makefile ../Makefile.omk ../Makefile.rules .
+       make
+
+check-omk.real:
+       ln -s ../orte ../Makefile ../Makefile.omk ../Makefile.rules .
+       make
 
 check-autotools.real:
        ../configure $(CONFIGURE_FLAGS)