X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fxwt%2Fplat%2FWin32.xml;h=7b56736fd3ae97cad57d84de6423851edacfd2b3;hb=a5c5c85a8c0ed30b62113cc007a10bc305926a5b;hp=aade505674b5244ed924fb819d9b64a4757d4213;hpb=15a3e1ac3b709d4c756b078e34e6d67f2efbb317;p=org.ibex.core.git diff --git a/src/org/xwt/plat/Win32.xml b/src/org/xwt/plat/Win32.xml index aade505..7b56736 100644 --- a/src/org/xwt/plat/Win32.xml +++ b/src/org/xwt/plat/Win32.xml @@ -3,9 +3,10 @@ - + + @@ -22,24 +23,25 @@ - /usr/local/gcc/bin/i686-pc-mingw32-g++ -DCOMPILE_DLL -DBUILDID=\"${build-id}\" -DCLSID_STRUCT="${clsid-struct}" \ - -c src/org/xwt/plat/Win32.cc -o bin-Win32/Win32-dll.o - /usr/local/gcc/bin/i686-pc-mingw32-g++ -Wl,--base-file,/tmp/basefile -mdll -Wl,-e,_DllMainCRTStartup@12 \ - -o bin-Win32/cabsrc/xwt-${build-id}.dll bin-Win32/Win32-dll.o -lole32 -luuid - /usr/local/gcc/bin/i686-pc-mingw32-dlltool --base-file /tmp/basefile --output-exp bin-Win32/xwt.exp \ - --def src/org/xwt/plat/Win32.def - /usr/local/gcc/bin/i686-pc-mingw32-g++ -Wl,--base-file,/tmp/basefile bin-Win32/xwt.exp -mdll -Wl,-e,_DllMainCRTStartup@12 \ - -o bin-Win32/cabsrc/xwt-${build-id}.dll bin-Win32/Win32-dll.o -lole32 -luuid - /usr/local/gcc/bin/i686-pc-mingw32-dlltool --base-file /tmp/basefile --output-exp bin-Win32/xwt.exp --def src/org/xwt/plat/Win32.def - /usr/local/gcc/bin/i686-pc-mingw32-g++ bin-Win32/xwt.exp -mdll -Wl,-e,_DllMainCRTStartup@12 -o bin-Win32/cabsrc/xwt-${build-id}.dll \ - bin-Win32/Win32-dll.o -lole32 -luuid + ${gcc-path}/bin/i686-pc-mingw32-g++ -DCOMPILE_DLL -DBUILDID=\"${build-id}\" -DCLSID_STRUCT="${clsid-struct}" \ + -c src/org/xwt/plat/Win32.cc -o bin-Win32/Win32-dll.o + ${gcc-path}/bin/i686-pc-mingw32-g++ -Wl,--base-file,/tmp/basefile -mdll -Wl,-e,_DllMainCRTStartup@12 \ + -o bin-Win32/cabsrc/xwt-${build-id}.dll bin-Win32/Win32-dll.o -lole32 -luuid + ${gcc-path}/bin/i686-pc-mingw32-dlltool --base-file /tmp/basefile --output-exp bin-Win32/xwt.exp \ + --def src/org/xwt/plat/Win32.def + ${gcc-path}/bin/i686-pc-mingw32-g++ -Wl,--base-file,/tmp/basefile bin-Win32/xwt.exp -mdll -Wl,-e,_DllMainCRTStartup@12 \ + -o bin-Win32/cabsrc/xwt-${build-id}.dll bin-Win32/Win32-dll.o -lole32 -luuid + ${gcc-path}/bin/i686-pc-mingw32-dlltool --base-file /tmp/basefile --output-exp bin-Win32/xwt.exp --def src/org/xwt/plat/Win32.def + ${gcc-path}/bin/i686-pc-mingw32-g++ bin-Win32/xwt.exp -mdll -Wl,-e,_DllMainCRTStartup@12 -o bin-Win32/cabsrc/xwt-${build-id}.dll \ + bin-Win32/Win32-dll.o -lole32 -luuid +# ${gcc-path}/bin/i686-pc-mingw32-strip bin-Win32/cabsrc/xwt-${build-id}.dll cat > bin-Win32/cabsrc/xwt-${build-id}.inf <<\EOF -;; This file will be copied to bin-Win32/xwt-${build-id}.inf and then packed up +;; This file will be copied to bin-Win32/cabsrc/xwt-${build-id}.inf and then packed up ;; into the .cab file for distribution [version] @@ -61,7 +63,7 @@ EOF - /usr/local/gcc/bin/i686-pc-mingw32-strip bin-Win32/cabsrc/xwt-${build-id}.exe + ${gcc-path}/bin/i686-pc-mingw32-strip bin-Win32/cabsrc/xwt-${build-id}.exe